{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"index.AnalysisMode (cyclomatic 259): index.AnalysisMode has cyclomatic complexity 259 (threshold 15). Of this number, 71 points are the body\u0027s own statements and 188 belong to 25 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"92980bdd4a3e1bc21afb027b1429a5c42f813059a6b534f04def62cd1d04df46"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkerPlot (cyclomatic 153): MarkerPlot has cyclomatic complexity 153 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 118 belong to 58 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ce4d1edbdd20fd4c6e024c0cdd7077dc2875fd379bcbb13ee5a4d2e8dd8cf7"}},{"ruleId":"D1","level":"warning","message":{"text":"NewAnalysis (cyclomatic 153): NewAnalysis has cyclomatic complexity 153 (threshold 15). Most of this is not in the body itself: 13 of the 153 points are its own statements and the rest belongs to 47 function items inside it that branch (a function literal at line 218, a function literal at line 847, render_inputs, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e84b011b508c60a66b92c0b875206a333f587379be05354108956bc74ef1ea"}},{"ruleId":"D1","level":"warning","message":{"text":"DimPlot (cyclomatic 150): DimPlot has cyclomatic complexity 150 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 117 belong to 46 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a8e70ac84094ebda32803f8c2442a93cc0346e17f6ebac3aeeb0216afeb1e2"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ExplorerMode (cyclomatic 146): index.ExplorerMode has cyclomatic complexity 146 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 99 belong to 18 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2da2d036bda837191cd7c572e36b69ccf629ab0d72d433aefb654479a263098"}},{"ruleId":"D1","level":"warning","message":{"text":"FeatureSetEnrichment (cyclomatic 134): FeatureSetEnrichment has cyclomatic complexity 134 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 96 belong to 53 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"998e0a798ef892f16f35c0c447c7dd0a6abc41e3ab5bb2a20e9f9d6eddc30f64"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalysisMode::onmessage (cyclomatic 117): AnalysisMode::onmessage has cyclomatic complexity 117 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1da7bd489df2da3b928a26cbeb912d983c641ac93b0cf73e96a24b72d1d1f88"}},{"ruleId":"D1","level":"warning","message":{"text":"onmessage (cyclomatic 104): onmessage has cyclomatic complexity 104 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 47 belong to 63 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20c6f2224868810fa8cae56c49c6231d058f43fc3d5b1c45f159f5f7730d55b"}},{"ruleId":"D1","level":"warning","message":{"text":"ParameterSelection::render_stepinfo (cyclomatic 82): ParameterSelection::render_stepinfo has cyclomatic complexity 82 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaca3668483d509e89454168573640e07d12dae7d95fc0a82602bef2e021b892"}},{"ruleId":"D1","level":"warning","message":{"text":"onmessage (cyclomatic 66): onmessage has cyclomatic complexity 66 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 27 belong to 47 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb58dd6bc6547d141099c5923ce90ecf4fee650c249c6664081f832a9a1531b"}},{"ruleId":"D1","level":"warning","message":{"text":"ZippedADBCard.ZippedADB (cyclomatic 54): ZippedADBCard.ZippedADB has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 14 of the 54 points are its own statements and the rest belongs to 12 function items inside it that branch (guessModalitiesFromExperiments, a function literal at line 60, a function literal at line 83, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ZippedADBCard.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aea1bdd2d0a6e2826315c9bf914517da1423ff6356ba7998189cab3146e96c"}},{"ruleId":"D1","level":"warning","message":{"text":"ExplorerMode::onmessage (cyclomatic 54): ExplorerMode::onmessage has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f72713237b9796f5bf51401ccfa3ce8a5d28dc920a55fc9917b07ee8bdfbb6"}},{"ruleId":"D1","level":"warning","message":{"text":"CellAnnotation (cyclomatic 53): CellAnnotation has cyclomatic complexity 53 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 35 belong to 26 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f15030d7b54117ba308cd05e8c4c72629ee8abea28a306737859440531f215"}},{"ruleId":"D1","level":"warning","message":{"text":"H5ADCard.H5AD (cyclomatic 50): H5ADCard.H5AD has cyclomatic complexity 50 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 30 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e34609378fa9710ea5a93a379920d96c72e12877530b38788f0a6430041b60"}},{"ruleId":"D1","level":"warning","message":{"text":"RDSSECard.RDSSE (cyclomatic 49): RDSSECard.RDSSE has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 15 of the 49 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 65, a function literal at line 88, a function literal at line 111, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/RDSSECard.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b2b26f9a458c3ad8fc3eec6cfb675e9f1f2d626cf4f1d1580faec9497237c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Pong.Pong (cyclomatic 45): Pong.Pong has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 1 of the 45 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 135, 358, 262, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Pong.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5254404eab8443fb29a237fa934b6c85e71c7b877b3332fd261d485b6827fa29"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers.fetchStepSummary (cyclomatic 41): helpers.fetchStepSummary has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/helpers.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b017da42a7422628b7a0d698fe379f959d40c9b2188d3cef6a3b9339bfcfbd"}},{"ruleId":"D1","level":"warning","message":{"text":"index.LoadExplore (cyclomatic 40): index.LoadExplore has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 1 of the 40 points is its own statement and the rest belongs to 8 function items inside it that branch (a function literal at line 86, a function literal at line 340, render_inputs, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d5d2576b1aac66888bb64e0cfcfbd96e87ca1fe2fd6d2fad0a2615a0f9b65a"}},{"ruleId":"D1","level":"warning","message":{"text":"ExperimentHubCard.ExperimentHub (cyclomatic 39): ExperimentHubCard.ExperimentHub has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 15 of the 39 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 70, a function literal at line 44, a function literal at line 167, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ExperimentHubCard.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"84593a2fb962b870f25fd483c955eaad2cbff0dbd3efde7c4d26def37a3b1f00"}},{"ruleId":"D1","level":"warning","message":{"text":"TenxHDF5Card.TenxHDF5 (cyclomatic 37): TenxHDF5Card.TenxHDF5 has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 12 of the 37 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 38, a function literal at line 96, a function literal at line 109, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/TenxHDF5Card.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2925aefd7ac2cf401ade53356ad1eae92ebd4a1197ac4f664957eb50d99a86e"}},{"ruleId":"D1","level":"warning","message":{"text":"MatrixMarketCard.MatrixMarket (cyclomatic 36): MatrixMarketCard.MatrixMarket has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 38, a function literal at line 92, a function literal at line 105, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/MatrixMarketCard.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa8217a821c00a923df9bf8ddc9161a22fbd3040207319d4683e7b0a51dc7c2"}},{"ruleId":"D1","level":"warning","message":{"text":"Pong::(anonymous)::update (cyclomatic 34): Pong::(anonymous)::update has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Pong.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e791ff5cd809c6c8f3910372498389748cd8ba17a8680b84cdd3344cb726e8"}},{"ruleId":"D1","level":"warning","message":{"text":"ZippedADBCard (cyclomatic 20): ZippedADBCard has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 36, a function literal at line 140, a function literal at line 66, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/ZippedADBCard.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c38ce4675d3068bff5c6838e3812ee5404147d1576a5607ab0a10b46a700d7"}},{"ruleId":"D1","level":"warning","message":{"text":"scran.worker.summarizeDataset (cyclomatic 19): scran.worker.summarizeDataset has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2335069cfeadbf6e6abe6056e073ee1c5cdd8775ce8848caff0fcf0ff59ac25f"}},{"ruleId":"D1","level":"warning","message":{"text":"SECard (cyclomatic 19): SECard has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 33, 119, 63, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/SECard.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af8d26b1e2bb1dedf9606297ff18830d9dd496d3b16cd447734c3f7cae5afd2"}},{"ruleId":"D1","level":"warning","message":{"text":"uDimPlot.UDimPlot (cyclomatic 16): uDimPlot.UDimPlot has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 9). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/uDimPlot.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b7672f524435669e94a69626eb117801a9e1da0187ca7a2a96bff1594ee199"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Gallery::get_image_title (cyclomatic 16): index.Gallery::get_image_title has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (index.Gallery::get_children) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc50df27cde95be7137442b9b8d2a6cc04364884c9c525ff25b76c7335470d7f"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Gallery::get_children (cyclomatic 16): index.Gallery::get_children has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (index.Gallery::get_image_title) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62422130a492d6b63a8dcfe0bf93aa24943970bb6fe48fc779b0b77e90395c6"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 16): (anonymous) has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecd74b83d51ab529a3d4a5034b095cf6093991de4e8f18fa03e492d09000253"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkerPlot (cognitive 232): MarkerPlot has cognitive complexity 232 (threshold 15). Drivers by points: if/else 66 (102 pts), ternaries 49 (81 pts), boolean chains 38, loops 8 (11 pts) (nesting depth added 71). Of this number, 32 points are the body\u0027s own statements and 200 belong to 58 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cd5eba6a9f34fa0fab95aeae5c29a0796a3f1fff0f6cdcd15988e00f926c24"}},{"ruleId":"D2","level":"warning","message":{"text":"onmessage (cognitive 227): onmessage has cognitive complexity 227 (threshold 15). Drivers by points: if/else 69 (121 pts), error handling 29 (60 pts), loops 14 (38 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 110). Of this number, 89 points are the body\u0027s own statements and 138 belong to 63 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5899a65d9d0607f06269334c8061661d7acc8f03ed2877a3e6204df49cb133"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalysisMode::onmessage (cognitive 221): AnalysisMode::onmessage has cognitive complexity 221 (threshold 15). Drivers by points: if/else 95 (179 pts), loops 9 (29 pts), boolean chains 10, ternaries 1 (3 pts) (nesting depth added 106). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b07d956c65279448f6785bc0e4fc831512baad20776d1c64acbf0db5e6c2d5"}},{"ruleId":"D2","level":"warning","message":{"text":"FeatureSetEnrichment (cognitive 199): FeatureSetEnrichment has cognitive complexity 199 (threshold 15). Drivers by points: if/else 68 (110 pts), ternaries 30 (38 pts), boolean chains 36, loops 11 (15 pts) (nesting depth added 54). Of this number, 37 points are the body\u0027s own statements and 162 belong to 53 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36d3c9b2498db72d4cacf764f9d6260b58847ef2e56068860c9ca664a6cc6f0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.AnalysisMode (cognitive 168): index.AnalysisMode has cognitive complexity 168 (threshold 15). Drivers by points: if/else 51 (77 pts), boolean chains 55, ternaries 26 (36 pts) (nesting depth added 36). Of this number, 58 points are the body\u0027s own statements and 110 belong to 25 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ac061f3bfe150ddc8888a8dbc94fb870215e278430abda9d897c175dd3a5c1"}},{"ruleId":"D2","level":"warning","message":{"text":"onmessage (cognitive 153): onmessage has cognitive complexity 153 (threshold 15). Drivers by points: if/else 42 (82 pts), error handling 18 (37 pts), loops 8 (27 pts), ternaries 2 (5 pts), boolean chains 2 (nesting depth added 81). Of this number, 62 points are the body\u0027s own statements and 91 belong to 47 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7de65b84b94e3c25909d184a863798bdb7678167252275746a636056c1f5e32"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ExplorerMode (cognitive 94): index.ExplorerMode has cognitive complexity 94 (threshold 15). Drivers by points: boolean chains 35, if/else 27 (34 pts), ternaries 15 (25 pts) (nesting depth added 17). Of this number, 39 points are the body\u0027s own statements and 55 belong to 18 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"562a582383eafe6109882f1f84179e0398e45d657e57f6d5d1d5760b93426184"}},{"ruleId":"D2","level":"warning","message":{"text":"ParameterSelection::render_stepinfo (cognitive 83): ParameterSelection::render_stepinfo has cognitive complexity 83 (threshold 15). Drivers by points: loops 43 (48 pts), boolean chains 19, if/else 12 (14 pts), ternaries 2 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"322a8fb99c72f6718b66da672145e3b4a5dd55e0446f9d54ba3496d04af33742"}},{"ruleId":"D2","level":"warning","message":{"text":"CellAnnotation (cognitive 79): CellAnnotation has cognitive complexity 79 (threshold 15). Drivers by points: if/else 26 (43 pts), boolean chains 15, ternaries 12, loops 5 (9 pts) (nesting depth added 21). Of this number, 17 points are the body\u0027s own statements and 62 belong to 26 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"47999bb62384a6967cc02f73468e0d78938fe411b97c29462ddd52d2dd0e1cc8"}},{"ruleId":"D2","level":"warning","message":{"text":"ExplorerMode::onmessage (cognitive 79): ExplorerMode::onmessage has cognitive complexity 79 (threshold 15). Drivers by points: if/else 44 (64 pts), loops 3 (8 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f5fae323e5268461f994bea88bab40adbc3e0afc0d2b6bab64d283cc903739"}},{"ruleId":"D2","level":"warning","message":{"text":"Pong.Pong (cognitive 69): Pong.Pong has cognitive complexity 69 (threshold 15). Drivers by points: if/else 36 (59 pts), boolean chains 8, ternaries 2 (nesting depth added 23). None of this is in the body itself: all 69 points belong to 7 function literals inside it that branch (lines 135, 358, 262, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Pong.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"38eb4e09840232872520d0cc5ec666093cd393813f2e99f7ff4526392e1c09aa"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.fetchStepSummary (cognitive 65): helpers.fetchStepSummary has cognitive complexity 65 (threshold 15). Drivers by points: if/else 37 (52 pts), loops 5 (11 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/helpers.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"393159b2a8a900f3012f8a0eb0699c098db7594fcd09ebdce06764fabae9f913"}},{"ruleId":"D2","level":"warning","message":{"text":"ZippedADB (cognitive 63): ZippedADB has cognitive complexity 63 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 27, ternaries 5 (6 pts), loops 2 (nesting depth added 7). Most of this is not in the body itself: 5 of the 63 points are its own statements and the rest belongs to 22 function items inside it that branch (a function literal at line 237, guessModalitiesFromExperiments, a function literal at line 252, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ZippedADBCard.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0a5325e039feff61816af5e4549930918c30e78cbc28245401e66987c801c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Pong::(anonymous)::update (cognitive 61): Pong::(anonymous)::update has cognitive complexity 61 (threshold 15). Drivers by points: if/else 30 (53 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Pong.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e0679fd211d5fb74790cdd71b57f0f7e8fe38f2b51a1d488f7592ab8305fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"RDSSE (cognitive 57): RDSSE has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 26, if/else 19 (24 pts), ternaries 5 (6 pts), loops 1 (nesting depth added 6). Most of this is not in the body itself: 5 of the 57 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 203, a function literal at line 218, a function literal at line 43, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/RDSSECard.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acbc5dea29d6e37c226ff1fb858e93d51568d779540ff868d8827cbc6394455"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadExplore (cognitive 56): LoadExplore has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (37 pts), boolean chains 14, ternaries 3, loops 1 (2 pts) (nesting depth added 18). None of this is in the body itself: all 56 points belong to 14 function items inside it that branch (a function literal at line 86, a function literal at line 340, a function literal at line 123, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc369448366c99f27714f48fb52a87a4c28fc7d434706b16809bdd96845031d"}},{"ruleId":"D2","level":"warning","message":{"text":"ExperimentHub (cognitive 47): ExperimentHub has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 20, if/else 15 (20 pts), ternaries 5 (6 pts), loops 1 (nesting depth added 6). Most of this is not in the body itself: 5 of the 47 points are its own statements and the rest belongs to 19 function items inside it that branch (a function literal at line 167, a function literal at line 182, a function literal at line 44, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ExperimentHubCard.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a8497771ab22fa54ea9e127946454830ecc0f9c8ea84aff2d628548842de11"}},{"ruleId":"D2","level":"warning","message":{"text":"H5ADCard.H5AD (cognitive 42): H5ADCard.H5AD has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 20, if/else 10 (16 pts), loops 2 (4 pts), ternaries 2 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 24 belong to 10 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9d15f38fb7671ee977cb84f7c03c4e6ab56076de9bc11e9c9e3b62a1c3f231"}},{"ruleId":"D2","level":"warning","message":{"text":"scran.worker.summarizeDataset (cognitive 42): scran.worker.summarizeDataset has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 6 (17 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d269a0b06fc02be53a6b527640a81528bdd3f2c9dbb93f57c14e8db83971b26"}},{"ruleId":"D2","level":"warning","message":{"text":"TenxHDF5 (cognitive 40): TenxHDF5 has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 16, ternaries 5 (6 pts), loops 1 (nesting depth added 5). Most of this is not in the body itself: 5 of the 40 points are its own statements and the rest belongs to 19 function items inside it that branch (a function literal at line 173, a function literal at line 188, a function literal at line 38, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/TenxHDF5Card.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d088179f5f4773efc5e6c07ff42f5fc4f2180f62cb7a3932b19e7c2a922d1d3"}},{"ruleId":"D2","level":"warning","message":{"text":"uDimPlot.UDimPlot (cognitive 35): uDimPlot.UDimPlot has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 15). None of this is in the body itself: all 35 points belong to one function literal inside it that branches (line 9). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/uDimPlot.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5943942db792b31ee29e77106b213fa29939fb4639f2e50c45b5e544f118b6e7"}},{"ruleId":"D2","level":"warning","message":{"text":"explorer.worker.summarizeResult (cognitive 28): explorer.worker.summarizeResult has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (10 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"de906602bd0545a4d931d5aa46c7b8f56806d61539e9218eeabb6f16dcd70bee"}},{"ruleId":"D2","level":"warning","message":{"text":"DimPlot::(anonymous)::onmessage (cognitive 28): DimPlot::(anonymous)::onmessage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 1 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e7dcc1b672474695ef8bb95baa8c7bed6a804d5101bfbd6839c77fa13c1d12"}},{"ruleId":"D2","level":"warning","message":{"text":"DimPlot.DimPlot (cognitive 25): DimPlot.DimPlot has cognitive complexity 25 (threshold 15). Drivers by points: if/else 81 (175 pts), boolean chains 39, ternaries 16 (25 pts), loops 2 (5 pts) (nesting depth added 106). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (DimPlot.DimPlot::handleSaveEmbedding, DimPlot.DimPlot::handleSavePNG) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cab74993f1d56359eaba7cd6a028ab2fb2704a62efbc66978564cf3afcef95"}},{"ruleId":"D2","level":"warning","message":{"text":"MatrixMarketCard.MatrixMarket (cognitive 24): MatrixMarketCard.MatrixMarket has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 7 (9 pts), ternaries 2, loops 1 (nesting depth added 2). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 38, resetModality, a function literal at line 92, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/MatrixMarketCard.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4baaeb9753a9e19e72fcb14a693d0b39670cb2296192b96f7e4efa6951d909"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.serialize::getCSSStyles (cognitive 24): utils.serialize::getCSSStyles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 5 (7 pts), error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/utils.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d466c16dc1cc19d6653419ee5699dc693d871df38e58668cdbcbcd754bb06b"}},{"ruleId":"D2","level":"warning","message":{"text":"Gallery::get_image_title (cognitive 24): Gallery::get_image_title has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ebed9e1d5e856ce52793fa369af5a436a4ecc5c831d314b8633c43a21c7b98"}},{"ruleId":"D2","level":"warning","message":{"text":"ZippedADBCard (cognitive 24): ZippedADBCard has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 7, if/else 6, loops 2 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 36, a function literal at line 140, a function literal at line 117, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/ZippedADBCard.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e2d3f6650dc59b90d3c7adab093e3a48188f049df95a3fdaf516bf72d6444f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.NewAnalysis::handleRunAnalysis (cognitive 23): index.NewAnalysis::handleRunAnalysis has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (index.NewAnalysis::handleRunAndParams) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac1f23ada42e0b2abb1bb72d3b518d176c70e6ad6894c37f54aeced66d32a73"}},{"ruleId":"D2","level":"warning","message":{"text":"index.NewAnalysis::handleRunAndParams (cognitive 23): index.NewAnalysis::handleRunAndParams has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (index.NewAnalysis::handleRunAnalysis) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b9339f2244dce02b8cfdf0146c70b4ec709a38e53ceeecce33d467cdeaf667"}},{"ruleId":"D2","level":"warning","message":{"text":"Gallery::get_children (cognitive 23): Gallery::get_children has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a1dfa3b480e62f37fb0c4be9cd7dc5ea36be7c8a32df371056578c98d9a523"}},{"ruleId":"D2","level":"warning","message":{"text":"SECard (cognitive 23): SECard has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (7 pts), if/else 6, loops 2 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 33, 119, 96, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/SECard.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3962656a1afa8c9c10283c47898a2b8d4c9b419d916235957dc1486335c3d1"}},{"ruleId":"D2","level":"warning","message":{"text":"ImgPlot.ImgPlot (cognitive 21): ImgPlot.ImgPlot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (21 pts) (nesting depth added 10). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 30). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ImgPlot.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bea6490d04f1ddec5d9a2d03582a7b56c7ef17e18510d77173166447745781"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 20): (anonymous) has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 3 (4 pts) (nesting depth added 3). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 298, 346, 321, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc7a7691736c22082a72e3e57313e1ad2c6fb657c12fae77937e74a8e83cc61"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 19): (anonymous) has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 3 (4 pts) (nesting depth added 3). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 188, 236, 207, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/MatrixMarketCard.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e5661e25c03f3fed682209e5dccf1872b9fb8adf61ab4e90bb897f6111e644"}},{"ruleId":"D2","level":"warning","message":{"text":"DimPlot.DimPlot::handleSaveEmbedding (cognitive 18): DimPlot.DimPlot::handleSaveEmbedding has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (DimPlot.DimPlot, DimPlot.DimPlot::handleSavePNG) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f11c2fc73d675cc8a8da4038c2d2916fd3fd490499bd317a6e650c970c5848f"}},{"ruleId":"D2","level":"warning","message":{"text":"DimPlot.DimPlot::handleSavePNG (cognitive 18): DimPlot.DimPlot::handleSavePNG has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (DimPlot.DimPlot, DimPlot.DimPlot::handleSaveEmbedding) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"321b30048bc7018317691a04f242f9f97bace97022ff08e5a836cb6e808570df"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 16): (anonymous) has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"db05d6193457b9993c897f2a744ee4527eeb94f145433ed205bd7464764ea440"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ParameterSelection: FunctionTooLong \u2014 ParameterSelection runs 1733 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1633 over it, 17.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e955668892858781b32a6ef02c6f174fac06bf28aa62e25aa31578ec4e93fc0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.AnalysisMode: FunctionTooLong \u2014 AnalysisMode runs 1537 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1437 over it, 15.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"918ce1772baa35500f86086a8a29036b3eb9c2a495715862c7a97714a46235ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.FeatureSetEnrichment: FunctionTooLong \u2014 FeatureSetEnrichment runs 1400 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1300 over it, 14.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baed06ba57217e547740f6eadaf57868539252d37dea646465b2d5f3c000041"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DimPlot.DimPlot: FunctionTooLong \u2014 DimPlot runs 1021 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 921 over it, 10.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e193a2313515d9fcc29164611b3256b8d89a791a194e04472901f4038294ca88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ExplorerMode: FunctionTooLong \u2014 ExplorerMode runs 1014 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 914 over it, 10.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"258b60660bb9e5e7649f8a2c544208293594f8c7af39ac7007fd11956304f3aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.NewAnalysis: FunctionTooLong \u2014 NewAnalysis runs 995 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 895 over it, 9.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f794204a13a3400724c84b268b330ed72597bc2081cb74ecc8fddf0de506e115"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.CellAnnotation: FunctionTooLong \u2014 CellAnnotation runs 420 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 320 over it, 4.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caee25d67e42baaae1fea4f9a77a14ce3b832c21db59201a4f3cb60555f8597"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ParamSelection/index.js: FileTooLong \u2014 1755 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 99% of them inside a single declaration: ParameterSelection (28-2074). The bar is 1500 significant lines; this is 255 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7339b2c944f32ddaa81a9df57a0840cefaa479d795d35373acafae79fff3296"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: AnalysisMode/index.js: FileTooLong \u2014 1587 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 97% of them inside a single declaration: AnalysisMode (66-2130). The bar is 1500 significant lines; this is 87 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3f70366bbb194e3f96ef6a3ab8a1d254877b34e486a591b753f859111e0119"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.LoadExplore: FunctionTooLong \u2014 LoadExplore runs 306 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 206 over it, 3.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d7b0e5edbe4a66ae822d051bdc41c0237f979773dab6ea32950c0cd063190a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: H5ADCard.H5AD: FunctionTooLong \u2014 H5AD runs 290 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 190 over it, 2.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e14ce74da035227d8bda4cf9d85499f2038c80361f5746f023cb452b878afe1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: FeatureSets/index.js: FileTooLong \u2014 1437 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: FeatureSetEnrichment (41-1741). The bar is 500 significant lines; this is 937 over it, 2.87\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f68d91b3edb9576c4ef1184706db8ef160ff52b14336c1f10aa5133effd88dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ZippedADBCard.ZippedADB: FunctionTooLong \u2014 ZippedADB runs 286 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 186 over it, 2.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ZippedADBCard.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a36032280f5db9c790beff37c26839522f5ad54794d02c761cd34d7c77aa45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Markers/index.js: FileTooLong \u2014 1408 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: MarkerPlot (42-1693). The bar is 500 significant lines; this is 908 over it, 2.82\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa3841afa3b72364ead0326e28ba9f985ee8ce10b384a047ebb77b9c9c5ceaf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RDSSECard.RDSSE: FunctionTooLong \u2014 RDSSE runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/RDSSECard.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"165541ad28eaf5bad93b353d33a080cf31d5e2a33e02da140dd6e6fce37880a6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DimPlot: ClassTooLong \u2014 1021 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 621 over it, 2.55\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da05d24dd0b589598cba36c28d165a96f587c1f98dec0b24d0aa71515683b87a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Gallery: FunctionTooLong \u2014 Gallery runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0073134ad41dc2e67c9dde535c6732c7c757cf829cf954fc24eafaf29294e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Pong.Pong: FunctionTooLong \u2014 Pong runs 244 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 144 over it, 2.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Pong.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"420b747e0d98f8c142056cd74c6fad9bdca32195179c0722e83937ca1d236756"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExperimentHubCard.ExperimentHub: FunctionTooLong \u2014 ExperimentHub runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ExperimentHubCard.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5eb85267c6c4a6571da4fe957b35b4dfe9874e9b99e76a329395cc22347202"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/App.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2546c486d7949e201dbb1e7039b683e7ef073d3c9e19a65c14bf81125e606d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ExploreMode/index.js: FileTooLong \u2014 1056 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ExplorerMode (55-1476). The bar is 500 significant lines; this is 556 over it, 2.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af621d9fface829906ccb9f72e219cb7d5b4c5ede3b5498bb39758781a45af97"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Plots/DimPlot.js: FileTooLong \u2014 1050 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: DimPlot (34-1449). The bar is 500 significant lines; this is 550 over it, 2.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5d786f6fba2ba56d4a400ddf0ecc1b9a456802e6aa9611d9c031ef7be8562e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.LoadAnalysis: FunctionTooLong \u2014 LoadAnalysis runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadAnalysis/index.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba981fee5ca1615c9dc31d81e2c92a74df143e072b910c858979b34ba196d0f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: NewAnalysis/index.js: FileTooLong \u2014 1029 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: NewAnalysis (44-1310). The bar is 500 significant lines; this is 529 over it, 2.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abee1d9c816b8fc8bafafd0e74f39e1ebed82dfd7f0c773be2b6f04e00b4ea92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TenxHDF5Card.TenxHDF5: FunctionTooLong \u2014 TenxHDF5 runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/TenxHDF5Card.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3a54897577dba2d94516d83cf924847f7e40a1e56118d9b3c045654e434d9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rainbowvis.ColourGradient: FunctionTooLong \u2014 ColourGradient runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/rainbowvis.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea32b03c90820950e212c4cdb3ed2a14d688d26736982d70976189ad976c255f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MatrixMarketCard.MatrixMarket: FunctionTooLong \u2014 MatrixMarket runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/MatrixMarketCard.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa414215e0f341bd9f731b1856476c82713546c770abadac5d8ca533114179ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helpers.fetchStepSummary: FunctionTooLong \u2014 fetchStepSummary runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/helpers.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e3eef510c34a8643d35c75b05d7089a279606d7bfca2055d5f4c809e4caac1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workers/scran.worker.js: FileTooLong \u2014 850 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 76% of them inside a single declaration: loaded (282-1202). The bar is 500 significant lines; this is 350 over it, 1.70\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"047be8d6bba4f08543c76dc53512b6726a3c98b4a09cd533025caf06d4d6d589"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ZippedADBCard.ZippedADBCard: FunctionTooLong \u2014 ZippedADBCard runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/ZippedADBCard.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedc4849b5aa8c78dc8428ba3c98317604ec45030980a168eeb57fa2667c811c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SECard.SECard: FunctionTooLong \u2014 SECard runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/SECard.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5fced69a1d6e8a57776fb32642f8fb7f6c50d0fec03e5170bed4d9f35f8aae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: H5ADCard.H5ADCard: FunctionTooLong \u2014 H5ADCard runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/H5ADCard.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f475eb576eebb38ddcb6a5c183e50918baf07a7baac630aac7c7840c17555c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ViolinPlotBasic.ViolinPlotBasic: FunctionTooLong \u2014 ViolinPlotBasic runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ViolinPlotBasic.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f23b52accc812acdafadfda230c2ee6051e150ad46f59df0b0a4e3e938f3b38"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ViolinPlot.ViolinPlot: FunctionTooLong \u2014 ViolinPlot runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ViolinPlot.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d30fa9e42f915cf3834ead96161018635f651d5a8d7820f830158d65573b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workers/explorer.worker.js: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 81% of them inside a single declaration: loaded (144-761). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b416fe119a3e3c0c525749ab567869c5d1f58ac1c07912eeffc08f812326e59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StackedHistogram.StackedHistogram: FunctionTooLong \u2014 StackedHistogram runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/StackedHistogram.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e2c6f1ace26a4947ee487f458bf6a4948fe832998df9b51d411efc2df193df"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: src/workers/scran.worker.js. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c4f1369aaf1576bb2933bfad2b8aa5836a059e4c2996d7438fa18090b033a59e"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060package.json\u0060 makes this repository a deployable product (line 70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set cluster colors\u0022 repeats the code it sits on: 3 of its 3 words (set, cluster, colors) are already in \u0060const [clusterColors, setClusterColors] = useState(null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f7983f43b2c8d0cc3de20b2808d523f9187b9f72c3a1f56abeb437eed4b321"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022which fset cluster is selected\u0022 repeats the code it sits on: 3 of its 3 words (fset, cluster, selected) are already in \u0060const [selectedFsetCluster, setSelectedFsetCluster] = useState(null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bec82fc0786056e346bf4ed0239a654ad0cf5ab9595a0f3166c4e847a4ba54"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022gene index selected from a feature set\u0022 repeats the code it sits on: 4 of its 5 words (gene, index, feature, set) are already in \u0060const [featureSetGeneIndex, setFeatureSetGeneIndex] = useState(null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ee93860ab11dfb08e3a021ea5d935568e2ce45c44ca1b7f07c7a0613ad613c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set cluster colors\u0022 repeats the code it sits on: 3 of its 3 words (set, cluster, colors) are already in \u0060const [clusterColors, setClusterColors] = useState(null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"048f5f4047fc82a871a51362f54ec5ee9c81c60aec3c07c99560c3e02d5c19c7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022which fset cluster is selected\u0022 repeats the code it sits on: 3 of its 3 words (fset, cluster, selected) are already in \u0060const [selectedFsetCluster, setSelectedFsetCluster] = useState(null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8723cc542dae9e6c298f393a84db06ac2f6eae29c6a637ff5e240e6b950f00"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022gene index selected from a feature set\u0022 repeats the code it sits on: 4 of its 5 words (gene, index, feature, set) are already in \u0060const [featureSetGeneIndex, setFeatureSetGeneIndex] = useState(null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1624739416cf8abc551553aa12185450977a8ec72383a36f59898a3216dbc2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Draw the \u0027press any key to begin\u0027 text\u0022 repeats the code it sits on: 4 of its 5 words (press, key, begin, text) are already in \u0060this.context.fillText(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Pong.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf287c293c93cdee0d46cb8dd0b7303c42f5d15d5ffab23e3aebe4ccde2edf4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022default code for none\u0022 repeats the code it sits on: 3 of its 3 words (default, code, none) are already in \u0060const default_none = \u0060${code}::none\u0060;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbe5ab5c8759467eb69fd74adf5c6084d573c29f62199280a1a40d49dbdaeec"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set mode for plot\u0022 repeats the code it sits on: 3 of its 3 words (set, mode, plot) are already in \u0060const [plotMode, setPlotMode] = useState(\u0022PAN\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e1f4edd54c32720323974d100fd5662d1636e2adc424901aeab965ca550f5c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022sets app mode\u0022 repeats the code it sits on: 3 of its 3 words (sets, app, mode) are already in \u0060const [appMode, setAppMode] = useState(null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context/AppContext.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cd2ae1ac751606361d6df233222f15ec17ba34f7de9069964e01b551748dfa"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3af95dc2fac64616bbd02eea7036c4bc7a269503cf5d35b7e6cb8c720d536c2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f224a7239976eb6ac23355352911d9674e8ac0748e524c5675ea18b05618361f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"96c283f6e8cfda2fab26c015eeb1da0faa668c6dc4f3e4c75374edc2c8808333"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98841f0fb15059e97fdc3dc7cee4350a0b7f4ad15628bde68fbeb47523b9f6a3"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00bb63ffaf333304e23b31d293df02edb8fe8d798e5c244674b7ab9ff3d24d99"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd66520cfb6c28dc42c03b762b74c4851407c76f7cd5b6dc4914cc123757840a"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d00e7177fbf7332fa7655ec227f034c3462f852b0155afe758ead1843ab99230"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"becbc5502f94878197b05d70c7ef15f1353fd99a90efcb824b9c43f11ae5ce7a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6509f9ae7e567aeb5bd9753af08953fb31dbbc35f92a3e6fabf6a748ba58f762"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 35 of 44 significant files have no living knowledge, while the repository is still being changed at a low rate (1 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 35 separate risks. Counted over 44 of the 63 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fcf21ec43838235942dcde938bd8f656b8de517ab62f6b67fd22fd871b6a5d"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe17aa041dceb30214dd2343091010250294e4b256270c2402a283ecdbb014d"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"999cc15b27250ca8136a08500c09961e5f05d1edc2e51eb9e97c760bf7294457"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d255bd9f8a5c866e2bc56ae9f350d5866f70c9cd7456e06b6f72396f4a0a577"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8e7546e807fd09f2268a5e82e5c3e97a1782ae58434ecd3dbfff55ce1762c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a315c4434e779985fb7f7bacc5b66ae87d612474baf8039c7785698c571369"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3efc4bb29fcb68e17a722a5bd8bc4d489714a9416e889aacd65e8eb59bf9aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d915909b981395192b31c68875d8871dc271cf3b730e751747840d4a38973a82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e3f3f37c74b1fb454d23089589f40384f0e99ba3b41e487e4d68b5290e0301"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Pong.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0595a0bfa233b4e0ae85dd4c4fb7d44a0d75cd325f360ddb611a0dc63f9ba8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/helpers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb04b9129e97219a6f5c77ec5b7b9db115b73fc4e26a58c649f0d1181fb5887"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/RDSSECard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcfacb116644de10dac7b6f42ddfe369daf732293ec51c496df326d38ec282e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7114246f13dd5aec1afa5c92d2f1d8b3b799ae70276e6345dd8ff8de85a74c2a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/TenxHDF5Card.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c918da72348dbc9de72766d52f3a74d81ced917d4213c789f97d700c77fc945"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/MatrixMarketCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf00846b23a3a1d5a8dcfb6ea0a728d638195bfa79f39cd5aad0828eff4a74c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/App.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bb6998075ffde409553c364ba04f71bb8d349fdfa7bc5c8f59be646beae343"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadAnalysis/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d3ff24f16fde0d106f851783c61221ee0037066f0883581d3b3a52dfe27d2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/rainbowvis.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b0dc9261be4fb9d07c1311778c90b5c7adf6f7bedac95c5b9d851aa3262676"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/ZippedADBCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54219ae43a9722c351d727f520d6c6bc1da787e0933972081c6bb03680e0ea97"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/SECard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ab8d02b927b26340d681f127cd2a1632bff5fcbcd48977c36a98209b3307a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ced5d1e683bdfb18a21dbd4025da728d0e738809e9c01c57ade63502b7bdbf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serviceWorkerRegistration.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2491ceeffd094e46a425b31767560cc233b0f8cb8dd1fd91321b8df96b7b8ced"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/H5ADCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6d7d5d4f851b4da14181517f47a31c46c2d066ec48e0457961ea78400c37a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/SVGDimPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1454831a257595bfebe236cbf9114dcc12e924afd4de6e185e57939302aa83ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"864da18c4da6b45c13f5c3fb823b101952927308123a66c77cd14b78ad1f2e1c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ViolinPlotBasic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3ac95202a99719a0759e63bfedcd5c07b91ffb5315162cb8023b1d45769633"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/SortableItem.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae9a82768aff7f78efbbab3023283857e7c61bbd394f456a63f6aab72b5d749"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/context/AppContext.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56afbb8954bd3c61135914dbe88da9972c2fa9c5851f499d6fc28db851ff8297"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/StackedHistogram.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b52d78a6b59da146090be5428067301060979b16edc47cb665c8b2800d351"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"public/serviceworker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"063b5729067f19d923886237aed1745e61b3cf0a3ed266b654647b6eead5cdf9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ViolinPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c443877e27cadd99aad773298044649795e5adada4dfcad120ac23803911db6f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/BarPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cedfc59a0030f41283241d461dd25d9203b048de99930c59905e51779e143f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/service-worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"969da5e037b1cbff08e5de3100bc525b9d25374fae1bacc54be57be336002019"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/uDimPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ebdb17bab50e2d1cbb2008aec465f5023e9f9ebaccd39ad389df806dffd86c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Logs/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9f4f8e0088255536c36760671b968ef37accc629f3b7e139d01b7f2394301a"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a233e07f0d218a87b2a53168fee6f106595850743a456122d396960054b4fe5a"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test package: kana \u2192 @testing-library/jest-dom: \u0060kana\u0060 ships in a production host and references \u0060@testing-library/jest-dom\u0060, a package that exists only to test. It puts a test framework, double or assertion library into the shipped product. Move the code that uses it into a test project, or replace it with production code. If \u0060kana\u0060 is itself a plugin, matcher or preset of the test framework, declare the framework under \u0060peerDependencies\u0060 (and \u0060devDependencies\u0060) instead of \u0060dependencies\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f23c886a09f3d92de6dffec1663941f208564413398eac81025869f740783a9"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test package: kana \u2192 @testing-library/react: \u0060kana\u0060 ships in a production host and references \u0060@testing-library/react\u0060, a package that exists only to test. It puts a test framework, double or assertion library into the shipped product. Move the code that uses it into a test project, or replace it with production code. If \u0060kana\u0060 is itself a plugin, matcher or preset of the test framework, declare the framework under \u0060peerDependencies\u0060 (and \u0060devDependencies\u0060) instead of \u0060dependencies\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a5a5b81377ba4e43794b10d12d811f978d0e6a1a97987c8eb5b2d8f44d78e2"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test package: kana \u2192 @testing-library/user-event: \u0060kana\u0060 ships in a production host and references \u0060@testing-library/user-event\u0060, a package that exists only to test. It puts a test framework, double or assertion library into the shipped product. Move the code that uses it into a test project, or replace it with production code. If \u0060kana\u0060 is itself a plugin, matcher or preset of the test framework, declare the framework under \u0060peerDependencies\u0060 (and \u0060devDependencies\u0060) instead of \u0060dependencies\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5f59a39cc7f4bc82857308ec169ceb362b1e159852d4d04bbdeca07216774f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: The \u0060if\u0060 and its \u0060else\u0060 contain the same statements, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a6b21c4c8b5c0e7ed3b160c17068e078881659ebc84f29e9eea477dbeca7c4"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/javascript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/node.js.yml"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 64 plain JS \u2014 the untyped files are public/serviceworker.js, src/App.js, src/AppToaster.js, src/DownloadToaster.js, src/components/AnalysisMode/index.js, src/components/CellAnnotation/index.js (\u002B58 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 11 sibling directories (53 clone groups): 53 duplicated blocks under src/components/ have copies in at least two of the sibling directories AnalysisMode, CellAnnotation, ExploreMode, FeatureSets, Gallery, LoadAnalysis (\u002B5 more sibling(s) not listed) \u2014 46 of them are reported below, and 7 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 53 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 53 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 53 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f27969db96db3d41a5d1bcfde092444dce623ea58a7e47a30e89affb054c04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (5 clone groups): 5 duplicated blocks under src/ have copies in at least two of the sibling directories components, context, utils \u2014 2 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/utils.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"823cca4afd2621849de47271f765eb2e6f2cd2234adc510367510c449296dbff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (496 matched lines \u00D7 2 locations): src/components/AnalysisMode/index.js:508 \u00B7 src/components/ExploreMode/index.js:399 \u2014 the two spans are one implementation copied and then locally edited \u2014 2397 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"22111754aff8102624a66a868ed1cb2b58704d8559633dfd276a1292e0378707"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (193 identical lines \u00D7 2 files): src/components/NewAnalysis/RDSSECard.js:1 \u00B7 src/components/NewAnalysis/ZippedADBCard.js:1 \u2014 these 2 files are line-for-line copies of one another \u2014 193 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/RDSSECard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfb86d13bb1ccbbf76ec25ffa80052149cb0ca13152811d03519a4fb38f6e1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (161 matched lines \u00D7 2 locations): src/components/AnalysisMode/index.js:130 \u00B7 src/components/ExploreMode/index.js:86 \u2014 the two spans are one implementation copied and then locally edited \u2014 1171 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b1e68eebd7de95063d0c106036a648be34e7b156f72605b9c4d5fa043694e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (148 matched lines \u00D7 2 locations): src/components/AnalysisMode/index.js:1920 \u00B7 src/components/ExploreMode/index.js:1257 \u2014 the two spans are one implementation copied and then locally edited \u2014 642 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b0283e6e9a5154ec4e6a7d02c7f0740034fbfafd96853fc8a5d7eb8df0e8ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (142 identical lines \u00D7 2 files): src/components/NewAnalysis/MatrixMarketCard.js:1 \u00B7 src/components/NewAnalysis/TenxHDF5Card.js:1 \u2014 these 2 files are line-for-line copies of one another \u2014 142 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/MatrixMarketCard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d65c0cfe157178813c7834616defb228924fd72091d720cb49e3c135ff8784"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (106 lines \u00D7 3 locations): src/components/NewAnalysis/ExperimentHubCard.js:164 \u00B7 src/components/NewAnalysis/RDSSECard.js:200 \u00B7 src/components/NewAnalysis/ZippedADBCard.js:234 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ExperimentHubCard.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e9be8f805e7112b5a1a5be77276c0f5ad659abfba9a6f89d1d589b74d25166"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (95 identical lines \u00D7 2 files): src/components/LoadExplore/SECard.js:1 \u00B7 src/components/LoadExplore/ZippedADBCard.js:1 \u2014 these 2 files are line-for-line copies of one another \u2014 95 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/SECard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1809956e6b431d9d04eae2874b15c0d42d86fa3c214537882481db3a95e815e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2 locations): src/components/FeatureSets/index.js:527 \u00B7 src/components/Markers/index.js:405 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f91584a20823a8c9fb2b01340e19c9eb9b861e572b4dec0e114ba63c66310a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2 locations): src/components/LoadExplore/index.js:245 \u00B7 src/components/NewAnalysis/index.js:637 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"548428f96c48d45decb7fa6dd79d4c63b43a6bc76cbf543ff1d2823768e164b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2 locations): src/components/CellAnnotation/index.js:342 \u00B7 src/components/Markers/index.js:419 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec70227e6df2567fd961f7fc6de0de613f8e207e007a7a49ce7e535f2d763ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2 locations): src/components/FeatureSets/index.js:1004 \u00B7 src/components/Markers/index.js:901 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0890cb23913243c9ae2cb74dd392178780dcf2e7f60f5d36ce15c0e1e2d953"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): src/components/FeatureSets/index.js:158 \u00B7 src/components/Markers/index.js:203 \u2014 the two spans are one implementation copied and then locally edited \u2014 385 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4986401428e2a450b7ad61f7c157b5d8699346758d987bed15d6e2bdad20b19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2 locations): src/components/Plots/DimPlot.js:1298 \u00B7 src/components/Plots/DimPlot.js:1375 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5364b4470d5adc4588e4385f8325632c12f01a3217488bcf4b4f54b09925b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2 locations): src/components/FeatureSets/index.js:920 \u00B7 src/components/Markers/index.js:830 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09821fb9a1b6999653782b5ebe6634b749c129053e84369263d3d07aed554b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2 locations): src/components/Plots/DimPlot.js:685 \u00B7 src/components/Plots/DimPlot.js:750 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d43578307cdae7c941a1c7e28fba74d2dd91e2b09ac2b2e8ccd815e8009d01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): src/components/Plots/ViolinPlot.js:73 \u00B7 src/components/Plots/ViolinPlotBasic.js:89 \u2014 the two spans are one implementation copied and then locally edited \u2014 337 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ViolinPlot.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4306452b82e6c22aaa406d9e82596aad0142b912acee8d6613cade20939fe2a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2 locations): src/components/FeatureSets/index.js:625 \u00B7 src/components/Markers/index.js:510 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"52157e66a82e1a6a3dc21f007c08f01224964674f872afadd3ff5f096bbd546b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2 locations): src/workers/explorer.worker.js:503 \u00B7 src/workers/scran.worker.js:957 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae74e54a74272a73733d757495f59623e247740f5bc761b6f9fcc08880c3424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): src/components/NewAnalysis/index.js:881 \u00B7 src/components/NewAnalysis/index.js:991 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c010d92908e0a4c5a00eb48cb608b961999ac41f582a7a16fefa6542e82d189"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): src/components/FeatureSets/index.js:1075 \u00B7 src/components/FeatureSets/index.js:1514 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"458cde568daf49fa708d9eb4e4f0725b0391dc4908a9cab8c5aa6985091623c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): src/components/Plots/ViolinPlot.js:6 \u00B7 src/components/Plots/ViolinPlotBasic.js:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 369 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ViolinPlot.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e175583ee85590718133b0a55b8a5b925b0d8cf5c341858dd1c4a999f96481eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): src/components/NewAnalysis/H5ADCard.js:295 \u00B7 src/components/NewAnalysis/MatrixMarketCard.js:185 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f662ceaf6958ea89a784c8e3be29066f938e227d13b5631f992feba5d1c742a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): src/components/ParamSelection/index.js:1272 \u00B7 src/components/ParamSelection/index.js:1354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4ba84a50ab01a845c09c66b30c44690f72ef95600e6b51c00e9032db5250f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): src/components/NewAnalysis/H5ADCard.js:125 \u00B7 src/components/NewAnalysis/RDSSECard.js:147 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5029d75ae39eb56d4dfaeaaad8c00666c3b82dd3341bff570442dc697210abaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): src/components/AnalysisMode/index.js:1815 \u00B7 src/components/ExploreMode/index.js:1183 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68b26c81641c3162ce7a601dd3ef1a81aed199440a5efcacf8c803a7678f3d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): src/components/CellAnnotation/index.js:449 \u00B7 src/components/FeatureSets/index.js:788 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"240d56f04cd95d17306ccac7fe8a4bd773b9120e4a16da73049ec2971ac0351f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): src/components/FeatureSets/index.js:780 \u00B7 src/components/Markers/index.js:695 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e0a05ef508a021ffdc195114787bb6c3e02b851b8988110d87a01db97e689e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/components/ParamSelection/index.js:1628 \u00B7 src/components/ParamSelection/index.js:1797 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a951c3f0cb8db4d642d9e76b6ffe38b24fdae94e6e30244c6192c1297d96c91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/workers/explorer.worker.js:662 \u00B7 src/workers/scran.worker.js:1142 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"099925089dcc5504ad303c5e648c57b6e86bf2aa12d889b3e9a28a88f795d1be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3 locations): src/components/Markers/index.js:1551 \u00B7 src/components/Markers/index.js:1594 \u00B7 src/components/Markers/index.js:1634 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ce9447d4159ac31b8c8690b0287508764c97eb64726145cd65023754b00dd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/components/NewAnalysis/index.js:131 \u00B7 src/components/NewAnalysis/index.js:178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d85204efeaba6706a54d2ae388b6e89d524e9a3d9b1b94ce3db886d1b138cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3 locations): src/components/ParamSelection/index.js:591 \u00B7 src/components/ParamSelection/index.js:1498 \u00B7 src/components/ParamSelection/index.js:1730 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3910f444a19febdba20518354d612e4a208a9ef546722e36110f116e414b2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/workers/explorer.worker.js:375 \u00B7 src/workers/scran.worker.js:791 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00874ca0cf0598d59978e20f64227f77802246b9cdbd6a09821604843561c09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/workers/explorer.worker.js:444 \u00B7 src/workers/scran.worker.js:877 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ef97e9dcfe7a96d1e64ca3fd93a7bfafd945b2274eac3e27c02071fcbf3845"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/components/AnalysisMode/index.js:1853 \u00B7 src/components/ExploreMode/index.js:1219 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"af040ed9c381433cce3d2f8395f7625467a27b483118bcc6f8020a11b9cfc505"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): src/components/CellAnnotation/index.js:524 \u00B7 src/components/FeatureSets/index.js:920 \u00B7 src/components/Markers/index.js:830 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b32d9d1520d2b79bf6c06a52280b63917b3b0d6f066f04df084962a1e5187b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/components/NewAnalysis/ExperimentHubCard.js:28 \u00B7 src/components/NewAnalysis/RDSSECard.js:27 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ExperimentHubCard.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5574e6dc9e9ea7878b3c1ad08f6e3c2ee75e038e96bc922cb61a0e0b08855f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): src/workers/explorer.worker.js:305 \u00B7 src/workers/scran.worker.js:702 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1544da14f0e8cee012681176df32856d4b933877f7defd165d15715041e68f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/components/FeatureSets/index.js:122 \u00B7 src/components/Markers/index.js:314 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd734e3b007bb904b89db2a57637c68b91f8643031b86431c60d891c45395797"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): src/workers/explorer.worker.js:571 \u00B7 src/workers/explorer.worker.js:609 \u2014 the two spans are one implementation copied and then locally edited \u2014 159 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2302d40622c81903e42a67d915aa8e3836f9119158c757fbf4c785d9085a94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3 locations): src/components/Markers/index.js:1181 \u00B7 src/components/Markers/index.js:1250 \u00B7 src/components/Markers/index.js:1319 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccb0bfbcb8532bda35ddd51e62b14565a87955deadc0364c6a7f635e7f1e98a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/components/Plots/Histogram.js:4 \u00B7 src/components/Plots/StackedHistogram.js:4 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/Histogram.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7097ef32a2e15a996b782c0d36f2f853e970ba4c6d0f3c675bec2a0659c978c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/components/LoadAnalysis/index.js:254 \u00B7 src/components/LoadExplore/index.js:403 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadAnalysis/index.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa652773c7a15322eab7c2c4fb634a5bfaf98f51fafb11ccf9de06c3ab4c5d0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 6 locations): src/components/LoadExplore/ZippedADBCard.js:74 \u00B7 src/components/NewAnalysis/H5ADCard.js:151 \u00B7 src/components/NewAnalysis/MatrixMarketCard.js:134 \u00B7 src/components/NewAnalysis/RDSSECard.js:169 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/ZippedADBCard.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fa225cfe028d7624c99287f73a707579cd823821fd7aff1ed6b7e843907940"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/components/Plots/HeatmapCell.js:26 \u00B7 src/components/Plots/PValCell.js:14 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/HeatmapCell.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5201a4d187b1d00b2c6a1af0733ce387f73c68f63cabe015d96465f17437ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/components/AnalysisMode/index.js:1075 \u00B7 src/components/AnalysisMode/index.js:1121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b36a81f7149f1604c18a1b6d027a0c653f25410e25c76d4b1d3b366b58bceb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/components/FeatureSets/index.js:1318 \u00B7 src/components/FeatureSets/index.js:1381 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"291392237187769625d3904d3a76bbc98e18f2ccdaf394aa5dd69c8fb2d36c47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/components/Markers/index.js:1235 \u00B7 src/components/Markers/index.js:1304 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2290c6af7e76c25f1a734d947f788b8c5c9e067a2239bd3a321c9b6aa22428c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/components/ParamSelection/index.js:1197 \u00B7 src/components/ParamSelection/index.js:1228 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a17304a15c0b18cfa8561839550132718293585c0d9d508b75b087e0702596"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/components/Plots/StackedHistogram.js:4 \u00B7 src/components/Plots/ViolinPlot.js:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/StackedHistogram.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cf3396aa20254991e37f4f706e62ef464b882a6b58da2a5dcd398a81b628b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): src/components/AnalysisMode/index.js:1025 \u00B7 src/components/AnalysisMode/index.js:1059 \u00B7 src/components/AnalysisMode/index.js:1105 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"834a83ecee2902512737504a2c04a037b285ffbd5d3948613e8842d9fbbb2cac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): src/components/FeatureSets/index.js:1279 \u00B7 src/components/FeatureSets/index.js:1342 \u00B7 src/components/FeatureSets/index.js:1405 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8290bbfc7f54d854559f81feccb77eb05c093f6c5191783a92a33ba1953b3e3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/components/Markers/index.js:1030 \u00B7 src/components/Markers/index.js:1070 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5530e54505875d520e9745e0b2af00e2e6db78630eafd354258c1c74d4f0f2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/FeatureSets/index.js:1646 \u00B7 src/components/Markers/index.js:1518 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa58ba97f74c13683a9d8d47159c11d53b5c28ff1d37d2337ba7caf77e3253e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/LoadExplore/index.js:179 \u00B7 src/components/LoadExplore/index.js:217 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f59e664259c96c2d8e43ffe544ebbba5c71810c4d10ad30bcd6377eaf6f239"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/components/NewAnalysis/H5ADCard.js:259 \u00B7 src/components/NewAnalysis/H5ADCard.js:359 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1543b1de79f0ac7a45fad933f8d984d44a89cfd20e416300925d2399e30cc032"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/workers/explorer.worker.js:185 \u00B7 src/workers/scran.worker.js:356 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5038f293fe2db503c2db58b7162d6c5734b92935aa1cd02e7b5a2c91bce94b5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/workers/explorer.worker.js:633 \u00B7 src/workers/scran.worker.js:1108 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14d92b456739e6effe9f7dcd2e85945ba86c2e5c7c3c680d435f24204c35602"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/components/FeatureSets/index.js:1583 \u00B7 src/components/Markers/index.js:1113 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"238a5288902f44f97c3a7ee1d4e1ee6fac31a03db048a4b9afda467726a55b3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/components/LoadAnalysis/index.js:85 \u00B7 src/components/NewAnalysis/index.js:310 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadAnalysis/index.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a54f2dbbf6ba24cf6fcb79224c725d956530ee39044538075dce750c0a160b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/components/NewAnalysis/ZippedADBCard.js:165 \u00B7 src/components/NewAnalysis/utils.js:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ZippedADBCard.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1126ddc23a2a11d909a5131b761ae1dcf62d18273c69a40e69a8efabf527b11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): src/components/NewAnalysis/index.js:471 \u00B7 src/components/NewAnalysis/index.js:527 \u00B7 src/components/NewAnalysis/index.js:565 \u00B7 src/components/NewAnalysis/index.js:607 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"181f242c9a2949cdaaed4f912199f4891b26c5c9998f9e666c7069293829039a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): src/components/ParamSelection/index.js:696 \u00B7 src/components/ParamSelection/index.js:965 \u00B7 src/components/ParamSelection/index.js:1477 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a6e879f742cb761f1d5e15f7e702d1d15ffd6db6576cafb68af1c80f217977"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): src/components/ParamSelection/index.js:853 \u00B7 src/components/ParamSelection/index.js:882 \u00B7 src/components/ParamSelection/index.js:906 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8acb0fc71a8d2452e00d0b237cd04a44d416a57fa9f2d6f577eb3702c9daaea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/workers/KanaDBHandler.js:207 \u00B7 src/workers/KanaDBHandler.js:230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/KanaDBHandler.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d96f9bb5c1951f8a18e62183fe4e34ab682ec02cac90ae257a7254de171d355"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/workers/explorer.worker.js:140 \u00B7 src/workers/scran.worker.js:278 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df283140a60778b88d28f2e25a5afae455a403c7f34e8e26e838d5bd3b057e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/FeatureSets/index.js:693 \u00B7 src/components/Markers/index.js:652 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d04a83775f38c8e41034044ba08eee5b71340896a74c0bafad7c1ec27f5d416"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/LoadExplore/index.js:347 \u00B7 src/components/LoadExplore/index.js:368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5503df97e44a66365510a6936e3ce77e834c7c4bb123a49e611eb67ded4f0cd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/components/NewAnalysis/index.js:855 \u00B7 src/components/NewAnalysis/index.js:960 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d354991371697dbce7806e9648485e569b25b79538249645ee788a09371513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): src/App.js:37 \u00B7 src/components/AnalysisMode/index.js:1418 \u00B7 src/components/ExploreMode/index.js:926 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/App.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1533a2564b329045730d8e061eacfb4ec07c5dfb3ee1ce77d3c2e6e63db908fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/FeatureSets/index.js:1621 \u00B7 src/components/Markers/index.js:1485 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a5b769e9e702e53b753ae19904d37ddf97192612c7a614e2a820c847009913"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/FeatureSets/index.js:1183 \u00B7 src/components/Markers/index.js:991 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce354477aabe8086ffd7b8429114d2d1ba2d1f0c07a202598648cad4eeafff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/components/FeatureSets/index.js:1673 \u00B7 src/components/Markers/index.js:1545 \u00B7 src/components/Markers/index.js:1588 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c9501f3b2056f5f5ae2218d94f887139b402a59af8c2adda76c512bac887d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/components/LoadExplore/H5ADCard.js:15 \u00B7 src/components/LoadExplore/SECard.js:17 \u00B7 src/components/LoadExplore/ZippedADBCard.js:20 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/H5ADCard.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f66cb0c331fa56425abf690e4b3351cc4e7f00dce3fa8bf5dd114ed26c008f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/Markers/index.js:1149 \u00B7 src/components/Markers/index.js:1442 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efeab90343131c9b4d24bfa185c1b40cc2d38d5f04bd7e440e0f96d461a6498"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/components/NewAnalysis/H5ADCard.js:21 \u00B7 src/components/NewAnalysis/MatrixMarketCard.js:22 \u00B7 src/components/NewAnalysis/ZippedADBCard.js:22 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d9f8c5e9f9f280b17050076f6667a3251496c7e923e8016c72d9b1f9d68d2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/components/ParamSelection/index.js:739 \u00B7 src/components/ParamSelection/index.js:1006 \u00B7 src/components/ParamSelection/index.js:1059 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cf4fd95265dd092e34cc52ab5b10349bb7ddc5d09bad5ddfe2f69b4cb2f3f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): src/components/Plots/BarPlot.js:7 \u00B7 src/components/Plots/ViolinPlotBasic.js:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/BarPlot.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2fd83a0ca89287da3e55e35999bd6f3696c8754f6192b03d3e5d382d50a33c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/components/Plots/DimPlot.js:93 \u00B7 src/components/Plots/DimPlot.js:139 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfa8dbd49d9e02aca3d61c8770ab590b944da90a8e4c13769a5314c84699f5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/workers/scran.worker.js:102 \u00B7 src/workers/scran.worker.js:124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0f3f9ea6981d0392f58da382650e32ddc3c88c27ed02ba1109af6c6d3b7f8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 9 locations): src/components/LoadAnalysis/index.js:120 \u00B7 src/components/LoadExplore/index.js:171 \u00B7 src/components/LoadExplore/index.js:209 \u00B7 src/components/NewAnalysis/index.js:413 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadAnalysis/index.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"225749978d287191a2821fc1ba6c9bfb5e083a567747022ea03e5f9a7afc89f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/Markers/index.js:808 \u00B7 src/components/Markers/index.js:885 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"a125d0a83e6747cdeffaf61b007bd894eacdacd0d727b630fbfacbbca86bdc96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/ParamSelection/index.js:657 \u00B7 src/components/ParamSelection/index.js:1562 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"953fa4acad661f76cec94aaa75a16be8ae91c8febf23a6814c9ddc1e988eee92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/ParamSelection/index.js:1527 \u00B7 src/components/ParamSelection/index.js:1548 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"172782496b639ca1d5071635366d3969aa0d05ad941193e3dc5d3154b99a5d2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 8 locations): src/workers/explorer.worker.js:356 \u00B7 src/workers/explorer.worker.js:385 \u00B7 src/workers/explorer.worker.js:421 \u00B7 src/workers/explorer.worker.js:483 \u00B7 \u002B4 more site(s) not listed \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"555ce6de0f29c2a5fc7c4150bb402066d42630c4291fd94cd562d3f386fd731f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/LoadExplore/H5ADCard.js:99 \u00B7 src/components/NewAnalysis/H5ADCard.js:188 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/H5ADCard.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"293ea9802ff8c02e636fc0a379de8a5665aefd42969962cdf7f0f378db999cc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/LoadExplore/index.js:130 \u00B7 src/components/NewAnalysis/index.js:307 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7790ae6aa6a7cec06703d99a45aff025e206f97e5b61a0b674d523947fc7494a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/ParamSelection/index.js:1064 \u00B7 src/components/ParamSelection/index.js:1405 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"5302b12e3c72663d118636ad27c9256d4b837a599f300ddef603948e12b69f6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/components/ParamSelection/index.js:1488 \u00B7 src/components/ParamSelection/index.js:1720 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb99d6e2cd71dd160deaa853fa3f3f8544f74d382c93c09287f2f5c782b4d9ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/FeatureSets/index.js:332 \u00B7 src/components/Markers/index.js:181 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42be5b1f79c6c4d337a89da62601c4348805382b38dd430ba1f0114bd9d2710"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/components/LoadExplore/index.js:397 \u00B7 src/components/NewAnalysis/index.js:1259 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad735c2aee9efc8054fd208d47e1dcd4c6e6394f8aede06fb09c0128cd68dd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): src/components/NewAnalysis/MatrixMarketCard.js:169 \u00B7 src/components/NewAnalysis/RDSSECard.js:198 \u00B7 src/components/NewAnalysis/TenxHDF5Card.js:168 \u00B7 src/components/NewAnalysis/ZippedADBCard.js:232 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/MatrixMarketCard.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d5362e17914875c5e27725309ec46346f11b4602f1e5a22c70369d49f00030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): src/components/NewAnalysis/index.js:1166 \u00B7 src/components/NewAnalysis/index.js:1182 \u00B7 src/components/NewAnalysis/index.js:1198 \u00B7 src/components/NewAnalysis/index.js:1214 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3d565cecaadc600e799aa199abf385b122fbd85b0a4c2349cc5ff9b808c022"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/components/AnalysisMode/index.js:561 \u00B7 src/components/AnalysisMode/index.js:591 \u00B7 src/components/AnalysisMode/index.js:617 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5d5f07cd3b806e18678f96c312e1e846b3cfab0a3593c4099566fe025f5c38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/AnalysisMode/index.js:1892 \u00B7 src/components/ExploreMode/index.js:1352 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"436bf9c7b172ed7f3698ddc1dd99b538706c821dba876a519cbc848d2535b0a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/LoadExplore/H5ADCard.js:41 \u00B7 src/components/LoadExplore/ZippedADBCard.js:60 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/H5ADCard.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ca1d1d6eb7df1639dfc3201b3bf581746ce2be406f3091d2c41fb27058eb42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/ParamSelection/index.js:1680 \u00B7 src/components/ParamSelection/index.js:1695 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"6041cfb18d6d5ee501c47197a743a07cb4281caeb5ca7c63493bb565670aa8b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/components/Plots/DimPlot.js:1121 \u00B7 src/components/Plots/DimPlot.js:1357 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c670d3866d12874c38385331b5bf0539c9be987c9db1e09c9073b80ca2e562a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/workers/scran.worker.js:543 \u00B7 src/workers/scran.worker.js:570 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac78e26d11b5aa7b068c6ba737f9e97bcb0b96bf21d049f7d30ad365b4f2b2e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/FeatureSets/index.js:832 \u00B7 src/components/Markers/index.js:752 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"366dcf952e421b3fcf5331eda5b248ed308318e460bbbdbe0b60310aa63f454e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/FeatureSets/index.js:1504 \u00B7 src/components/Markers/index.js:980 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"9319bb4190bd152894492c859866a731fad0f059a1a6357eeff664b3a7d49ce1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/NewAnalysis/index.js:550 \u00B7 src/components/NewAnalysis/index.js:633 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"77916c78c838fd3e5e0bf0c1e3b9f14dea89f7a9dbf74b4a599d7aa1481598fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/NewAnalysis/index.js:775 \u00B7 src/components/NewAnalysis/index.js:830 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"20332c96fb68fceef54282d1609d7c1b08d5f98a8d420c8caf1626295aaeda34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/workers/explorer.worker.js:115 \u00B7 src/workers/scran.worker.js:192 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"664e00e74c521d7d8e5a8f08fbd8e3bc8b35bd9b099e686b1bfcfcd0b6ff9f34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/workers/scran.worker.js:1054 \u00B7 src/workers/scran.worker.js:1104 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff1a2c3c786dacb98feff64f31ebe1710e876b478f479963b42ad9eed010793"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/FeatureSets/index.js:447 \u00B7 src/components/Markers/index.js:1407 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8bd5d9937ee3a6a4128072995d223278d7accc2ee46098101115196150b25b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/ParamSelection/index.js:760 \u00B7 src/components/ParamSelection/index.js:1098 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"95666b136bfa4959474106f68157867f3755101f19a1eca55561d33ab567923f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/components/ParamSelection/index.js:815 \u00B7 src/components/ParamSelection/index.js:834 \u00B7 src/components/ParamSelection/index.js:1454 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"90636110e978df3741a4b0307b773a4fa1bba691ddeaaf21e1a0fe2693dac2ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/ParamSelection/index.js:930 \u00B7 src/components/ParamSelection/index.js:1441 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"28747e271a64965f2dccc87ebc82389786adc5532cf50ba71b3f96d4dc1c6f2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/components/Plots/utils.js:3 \u00B7 src/utils/utils.js:141 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/utils.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13af84e52f83a2ecbdd0ecc839d858fffa4f0ea5dd0114f8ae589e22e88042f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/components/CellAnnotation/index.js:69 \u00B7 src/components/FeatureSets/index.js:199 \u00B7 src/components/Markers/index.js:248 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33228e93387d3a360489e53d06d71dd69b512736d52795bddbe174bf02c2cdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/components/FeatureSets/index.js:248 \u00B7 src/components/Markers/index.js:123 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb0b940d34ad8202c1b0aae8de97e46e7d47b0259214b2db35f89c6eaf92a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7 locations): src/components/FeatureSets/index.js:358 \u00B7 src/components/FeatureSets/index.js:1271 \u00B7 src/components/FeatureSets/index.js:1334 \u00B7 src/components/FeatureSets/index.js:1397 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8be80e8f471cb5ca4d6b75112c08b87f8e361295ee63b072708bc0a631e5ad0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): src/workers/KanaDBHandler.js:79 \u00B7 src/workers/KanaDBHandler.js:139 \u00B7 src/workers/KanaDBHandler.js:328 \u00B7 src/workers/KanaDBHandler.js:351 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/KanaDBHandler.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad78b55b08ef849ccf569f6e8b1460414c973508fc2e7ce7bbb157388297c5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/workers/scran.worker.js:606 \u00B7 src/workers/scran.worker.js:625 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a57e2fe10089f603cdd9fbbc1bb16fc0ad20729f1347e19bb81bf37608525cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/CellAnnotation/index.js:490 \u00B7 src/components/FeatureSets/index.js:876 \u00B7 src/components/Markers/index.js:796 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e941c1c6ae26c6a136e9be06c3bebcdf7e27c4da8c337cd5a1b46cc2cd1b22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/CellAnnotation/index.js:508 \u00B7 src/components/Markers/index.js:811 \u00B7 src/components/Markers/index.js:890 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"54128ab3fa8b1f60d1ec656962ca4920ebcbb6a7ab045a5fe075c2193457bb22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/components/ParamSelection/index.js:105 \u00B7 src/components/ParamSelection/index.js:388 \u00B7 src/components/ParamSelection/index.js:478 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1832ec5ba7e754679e99e0a24c31ba229efe86b718ea58f33c1e7ddf7745e8b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/ParamSelection/index.js:1031 \u00B7 src/components/ParamSelection/index.js:1046 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a5d3f8b1d803ddf2ced6d20c092681d6b141c6967e3ed01d5b62c46a314dc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/Plots/SVGDimPlot.js:66 \u00B7 src/components/Plots/SVGDimPlot.js:104 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/SVGDimPlot.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba460b7c50456ab03e106361c7cad0ff2d510edf91f112fae60ea91c47e053a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/components/Plots/uDimPlot.js:38 \u00B7 src/components/Plots/uDimPlot.js:50 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/uDimPlot.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"daed4d7b818d2571cca46bbf5c7bfd7ef8cb32cf7c22999cc0baf616c985d551"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/workers/KanaDBHandler.js:102 \u00B7 src/workers/KanaDBHandler.js:155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/KanaDBHandler.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6d747214f658219b44b9ce392d073517d5dd106d434c5ee9f051a3ac4a8812"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/workers/KanaDBHandler.js:277 \u00B7 src/workers/KanaDBHandler.js:289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/KanaDBHandler.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3548caf2c7f9392a4f8d4038a74a015ad96a039efb71df7d97bcd5222c0afe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/workers/explorer.worker.js:44 \u00B7 src/workers/scran.worker.js:55 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"334acd653b98a76e526a34a72a276bc9d1cec598d7e47516a6620c0dcf0790d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/workers/explorer.worker.js:715 \u00B7 src/workers/helpers.js:343 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"35643d3ceb3c4b645afea530675020e2b51559ed72ba896c3e09378bfb2a654b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/workers/helpers.js:195 \u00B7 src/workers/helpers.js:221 \u00B7 src/workers/helpers.js:251 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/helpers.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"840f4fd9de6d7915ff847bb3efc5d85219c43c359817971ac0e212b8b8fdbb8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/workers/scran.worker.js:472 \u00B7 src/workers/scran.worker.js:653 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"584aa1a08303f2d3d2c6ad80541a7575218dda63584364d20dde16a67bd9a264"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/components/AnalysisMode/index.js:1693 \u00B7 src/components/AnalysisMode/index.js:1707 \u00B7 src/components/ExploreMode/index.js:1067 \u00B7 src/components/ExploreMode/index.js:1077 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"064e7cf5cd35e5baf5705c30faff9f2dcc43502398694aabaf2244843add1b1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/FeatureSets/index.js:233 \u00B7 src/components/FeatureSets/index.js:244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f118bf497949d393dbf2cc36fa075f9c34ce535ece215362261fabe4327f12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/Plots/ImgPlot.js:11 \u00B7 src/components/Plots/StackedHistogram.js:8 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ImgPlot.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01cadce18e593bc78ecdc14f67acad198156d5d00fbf7c6e02a26c989316b69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): src/workers/DownloadsDBHandler.js:177 \u00B7 src/workers/DownloadsDBHandler.js:210 \u00B7 src/workers/KanaDBHandler.js:79 \u00B7 src/workers/KanaDBHandler.js:139 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/DownloadsDBHandler.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"672b1f91ed287c839a02def70b697a6e9b9b7ecff1c93ef512473fef895d37e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/workers/scran.worker.js:935 \u00B7 src/workers/scran.worker.js:945 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aeb0f547d4d843e71a7bff7981d5afcd192e74c086095150524e7a4a22f678"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/components/AnalysisMode/index.js:1325 \u00B7 src/components/AnalysisMode/index.js:1335 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2615b67f8107e91acba52bc96dd6e9d3f1f7c16d2ba2fb1209e2a540a388fe68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/components/Gallery/index.js:37 \u00B7 src/components/Plots/ImgPlot.js:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8440ab16eb1b9ecd38a17ba83b0f0f08f39a89e119f804f073558940bc37b289"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/components/NewAnalysis/H5ADCard.js:66 \u00B7 src/components/NewAnalysis/MatrixMarketCard.js:53 \u00B7 src/components/NewAnalysis/TenxHDF5Card.js:53 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffccf0a0cc75bbb1b53c795d0886bf44033607c41b9a9037f68c858d00f413ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): src/workers/DownloadsDBHandler.js:221 \u00B7 src/workers/KanaDBHandler.js:278 \u00B7 src/workers/KanaDBHandler.js:290 \u00B7 src/workers/KanaDBHandler.js:368 \u00B7 \u002B1 more site(s) not listed \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/DownloadsDBHandler.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f965245e722dfb723d37daf8f58e978cd2cd604660f32c3c8db89f1676944e46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/workers/explorer.worker.js:68 \u00B7 src/workers/scran.worker.js:98 \u00B7 src/workers/scran.worker.js:120 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74481dd41f8d5bde42430f02df4c2c4404e33e7d108286d74a11274624444a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/workers/explorer.worker.js:615 \u00B7 src/workers/scran.worker.js:1091 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c62fed32cd94533a1e6eeae8a0cba7eec461f1fb290581d4ca91026b0c78b4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/workers/scran.worker.js:888 \u00B7 src/workers/scran.worker.js:927 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"a680d0b35cccda3cada1067aea158831da4d0e5af80d9292d6419ec19e65bebf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/workers/scran.worker.js:1041 \u00B7 src/workers/scran.worker.js:1087 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"893b9ed4581ac417e96997a488ede858b1929982d3e39d119724f0efd68e89fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/components/CellAnnotation/index.js:45 \u00B7 src/components/FeatureSets/index.js:165 \u00B7 src/components/Markers/index.js:210 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3b494eb5b72fefb07d260577b638e559ef4accbffed2be8f73e8c77f4bbe73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/CellAnnotation/index.js:57 \u00B7 src/components/FeatureSets/index.js:186 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9487e51fc63fd58bdc616c676ac21aa50976948f3c49c2ceec6204dc72b2dc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/CellAnnotation/index.js:318 \u00B7 src/components/FeatureSets/index.js:427 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"987de2cc798d7072403ccb6e56056dae41002aca532d4fda9470e59d58510aec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): src/components/FeatureSets/index.js:1303 \u00B7 src/components/FeatureSets/index.js:1311 \u00B7 src/components/FeatureSets/index.js:1366 \u00B7 src/components/FeatureSets/index.js:1374 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b803f13e9c38958082defef442a36e3f4addecf45736fc3d5c2f27cedbc292"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/Gallery/SortableItem.js:66 \u00B7 src/components/Plots/DimPlot.js:812 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/SortableItem.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ded6579a355466dbc42370fcd13eeb189c28a4efb10f4d3b58d64101dd2ee3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/Markers/index.js:131 \u00B7 src/components/Markers/index.js:139 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84f6cf623f3d8c0f6bc042a5abaf0eb3ef896121065e6d4cce48cfea0c98160"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/components/NewAnalysis/utils.js:11 \u00B7 src/components/NewAnalysis/utils.js:39 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/utils.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0d33b9b5ea11fa14ded341aab5600086f305c0e8ecd35a76445d9cfff72242"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/components/Plots/BarPlot.js:52 \u00B7 src/components/Plots/ViolinPlot.js:31 \u00B7 src/components/Plots/ViolinPlotBasic.js:49 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/BarPlot.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c78c549a829ad856dd0303f1b3aace3d095030f965f0e5891ca4b56bb925a94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/workers/scran.worker.js:169 \u00B7 src/workers/scran.worker.js:591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e180255bc8f172f0c4dd3ad4cd9155f3cc595a1d2ff7cd1520cd4179f1ca7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/components/Markers/index.js:96 \u00B7 src/components/Markers/index.js:104 \u00B7 src/components/Markers/index.js:112 \u00B7 src/components/Markers/index.js:122 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0188340c8d282950102eeb12a8d71c139fa0fa2f3da6bafe7a2d7a0a4f384a20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/components/NewAnalysis/H5ADCard.js:93 \u00B7 src/components/NewAnalysis/H5ADCard.js:100 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b76477109a9b63158c796263470fca7c7c21aea088bbf9394764229a5c7031"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11 locations): src/components/AnalysisMode/index.js:127 \u00B7 src/components/AnalysisMode/index.js:250 \u00B7 src/components/AnalysisMode/index.js:275 \u00B7 src/components/ExploreMode/index.js:86 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e028ce03a807919d21f009f80185bad7598728c7713529ae41341d2a6940f4fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/components/AnalysisMode/index.js:283 \u00B7 src/components/ExploreMode/index.js:237 \u00B7 src/components/Markers/index.js:70 \u00B7 src/components/Plots/DimPlot.js:64 \u2014 the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2834a354d08b6718f44610a071b10f7686617070249c21d820f6910ecce797b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/workers/explorer.worker.js:30 \u00B7 src/workers/scran.worker.js:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a0759842ce9ca03dda1405484a8151d71e8329d99a87d76a586131a2e0bd2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 117, cognitive 221): onmessage has cyclomatic complexity 117 and cognitive complexity 221; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6f030205794c575769414867f57a473f3f4a6d69646697d19fa8bedbb9ba1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render_stepinfo (cyclomatic 82, cognitive 83): render_stepinfo has cyclomatic complexity 82 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86f0a3701da4d87e220230a1f929d594f0ee198ed6ea8900e503e6f9a08d550"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnalysisMode (cyclomatic 62, cognitive 55): AnalysisMode has cyclomatic complexity 62 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed4f6e05bff9db4309c67ecb045cb1393d39d39ee8315e8203fc60b75f14902"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 57, cognitive 89): onmessage has cyclomatic complexity 57 and cognitive complexity 89; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a041253f0e77323a0a2293e45aa7edf27cba0f77520dcb26c08071c71617657c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 54, cognitive 79): onmessage has cyclomatic complexity 54 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda1f034273530ffd9cdd5645caaffb33a9b914601f7e837edf09d21176bbf11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExplorerMode (cyclomatic 42, cognitive 40): ExplorerMode has cyclomatic complexity 42 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adb1a1172195d33bafe2379db4f8ab5da218f40e8900983b10f3442ff05a5f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchStepSummary (cyclomatic 41, cognitive 65): fetchStepSummary has cyclomatic complexity 41 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/helpers.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6b100c25b1247558cbccb2df49a5c2871d0325afdcb306d2dc2143b9846e40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 39, cognitive 62): onmessage has cyclomatic complexity 39 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"34710a7fbb531c35b6d5ac02b31bb495eed95dc1c8752ca8882687cd6d33ef96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FeatureSetEnrichment (cyclomatic 38, cognitive 37): FeatureSetEnrichment has cyclomatic complexity 38 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0425587bb7f5f310b2f57dfc01be8db8fe01b8b5aae74964331cfeab3b3975"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkerPlot (cyclomatic 35, cognitive 32): MarkerPlot has cyclomatic complexity 35 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a704dd713d04436807c0965537a9774faeb66d61e71f958cbfa5739581d05e3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 34, cognitive 61): update has cyclomatic complexity 34 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Pong.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e1c48f7f99fbe78f90921573167d31a801002c8244274c292e12527e557297"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 56): (anonymous) has cyclomatic complexity 34 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e68501a3b4be342bdac855caf2fc0948792a59f54a9190a86e6cf7ad4efd29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DimPlot (cyclomatic 33, cognitive 25): DimPlot has cyclomatic complexity 33 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"087d897f6c0b069648a54faa749d43df7c4003c7b4262e52f9effdbb6e38133a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 80): (anonymous) has cyclomatic complexity 28 and cognitive complexity 80; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c237ed46be35dd0d9e4e7ebb27e252e327e615d1189b565eced6d33118bdb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 22): (anonymous) has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f7552039e793159cb677b53723b65aa56280c92a00a33b6724629a0fd32f16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 31): (anonymous) has cyclomatic complexity 20 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"8851a90c6c1414376c2ab67417d969b84671959caf6d0052367846711177c231"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeDataset (cyclomatic 19, cognitive 42): summarizeDataset has cyclomatic complexity 19 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7997c2b6e61585f5dcce9012b604558bcbd15b8a34f8084a22a39c0f2e1337d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CellAnnotation (cyclomatic 18, cognitive 17): CellAnnotation has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113e5bc0edae074e459b4d59dab1859f590be33448ca858170045d6470a86dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 39): (anonymous) has cyclomatic complexity 16 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae6ee16b37ef84fcc4a594d991b3deb353bff1f439e4cc94c20c07707903036"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 38): (anonymous) has cyclomatic complexity 16 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d0d5b38a83458a4b9a0c94d13bb63069cc9aba0205beed239f7eb6fc914b16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 31): (anonymous) has cyclomatic complexity 16 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f398bfce9721886e94ea75a2556691a5d20e2561879605ad0b4b268c5bc6d3bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 28): (anonymous) has cyclomatic complexity 16 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b73306038fe935e5fd99b9f89f0bd62b3d51c03946d5348f3694ca6648a360"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_image_title (cyclomatic 16, cognitive 24): get_image_title has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3f40514a10de94c5dc7082c05db06dbc317bb930054bd5341081d05988661a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_children (cyclomatic 16, cognitive 23): get_children has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b41bf97fe3161aef85a81ee02aa77c9cb7b85302e788e4a40fe81a28fb6f6bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 42): (anonymous) has cyclomatic complexity 15 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9c4438b70177806c13eb7f53159cac9e889c33b8730f1f0a62b0e5898de702"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 34): (anonymous) has cyclomatic complexity 15 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/uDimPlot.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cdcfef449f92f4db4f0e4558e2349771f7e8d7fc8851b718ec2b8a6e1e636d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeResult (cyclomatic 14, cognitive 28): summarizeResult has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c057d2a3c7b4d52fbe6c8bc577be20202a6b39530d6ea65f03b82208b8830483"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render_inputs (cyclomatic 14, cognitive 12): render_inputs has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1396abd027f810203d3a2b48472d0651ce66408ea35a14b636dee98efcfee0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 13, cognitive 28): onmessage has cyclomatic complexity 13 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"290bb02257c904b4b793e99f277d0fe4dd8c503e53d5edbfcb93fb43f54593d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCSSStyles (cyclomatic 13, cognitive 24): getCSSStyles has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/utils.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"046af7e2970f9372363d2ea61c891204faff6595fe0564a1c8a5105c8fb4ed44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fa1c05b665e9512deb7204b6fe2f75db73a475193e8bb3162b693cbf931e9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"93222e0aa135fa344fafca9c21a2ab07bc7af850f6af6c4d674187e78a19683c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 31): (anonymous) has cyclomatic complexity 12 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d49cf0c3729199f8b78006ab982942abc2a5b2300e8077d34e901085292aad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatMarkerResults (cyclomatic 12, cognitive 14): formatMarkerResults has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/helpers.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f03291a96becb68d7d14ee1885c813d7beb88ddd6800f2f598a3562eb76aefd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ExperimentHubCard.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a3f134a1ce51e98ef84b1e2110233ffd1b095c1c6893f3abd7383a9ce8e975"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/RDSSECard.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0082596cfbef536afa27126a416be0fb57e4fdbf9e9728dda83846387f89f589"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 28): (anonymous) has cyclomatic complexity 11 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5e31112f8cb659088724d410bdc259c132d59068c87310a0a2b02a2a8a9264"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 27): (anonymous) has cyclomatic complexity 11 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ffd7f3325741595facfd479c270782c49b0f119e115afbb04e980034c03e85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDataset (cyclomatic 11, cognitive 13): createDataset has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadaa05956e9e44e135dbead3d6ec8ebdff6322bf36aa8b4cc3fdc0791bd8876"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ZippedADBCard.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b6751810b2f489986f27f6cfee89464e2c1f11de1a0d239f31fe68a6fa9d28"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/ParamSelection/index.js: 2019 lines of code: src/components/ParamSelection/index.js has 2019 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ParamSelection/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7901eb2eb7a3f4d43543b7d69c209738865397aa8f15b7754b01d92625589c51"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/AnalysisMode/index.js: 1960 lines of code: src/components/AnalysisMode/index.js has 1960 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d811bec1abfc0ae217c3408350cb2760624f9d28c33d60e90f16fc23c58c98"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/FeatureSets/index.js: 1665 lines of code: src/components/FeatureSets/index.js has 1665 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b3c2e7a4fccbaa3cb310d45879a5582a0236a635cd378dfe332ee9eaa39a35"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/Markers/index.js: 1623 lines of code: src/components/Markers/index.js has 1623 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Markers/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b49c1cb3e826f43408d877e13dafe160ad34aed13639748b853f0789c3a7048"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/ExploreMode/index.js: 1364 lines of code: src/components/ExploreMode/index.js has 1364 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ExploreMode/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1fb4f79c5497c8563013a9b139a10d74b37dbdf359b3c849db0958c046884f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/Plots/DimPlot.js: 1340 lines of code: src/components/Plots/DimPlot.js has 1340 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/DimPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38979b9643ffb5b7287b2a8c937239ba2e40f70e506ff0608a1dc7d3fd7c1f12"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/NewAnalysis/index.js: 1228 lines of code: src/components/NewAnalysis/index.js has 1228 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff65865822935922dcff8063f11bece8b8e02bdee7ac3b65f0c13256e31835b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/workers/scran.worker.js: 1102 lines of code: src/workers/scran.worker.js has 1102 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6e537050280dfcc2dafe7f042219c44a70f401a488d6dae383be6977e6b1e2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/workers/explorer.worker.js: 689 lines of code: src/workers/explorer.worker.js has 689 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ecbde67a2f76eef410817d3835d53558adbf350c60cce578a5987e98b44ec5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/components/CellAnnotation/index.js: 538 lines of code: src/components/CellAnnotation/index.js has 538 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ade8afadd1a432eb31682c4c1b802ff2d857ca639cf37dfa3aa9c1e27deb8d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/workers/helpers.js: 404 lines of code: src/workers/helpers.js has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/helpers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84040718760f258e55dc697b3c65027b1ca15339f984a8a89024ebf1a461431"}},{"ruleId":"R6","level":"warning","message":{"text":"No typecheck script: test \u2713 \u00B7 lint \u2713 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"912edc7f1fd20bf80ef68c3293e3048565115e48707dc5f9d492201598794658"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~420 LoC): no import path from any entry point (5 application, 1 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Pong.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8dc45131f14fbd13d12ef69244458b04bd0854692eceea42a9fb58bb9201b1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~153 LoC): no import path from any entry point (5 application, 1 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ViolinPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19581d98bd0a0e4d2f89017c8d342df5fe815da7eeb89cfa3ddcc5de923045a1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~98 LoC): no import path from any entry point (5 application, 1 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/ImgPlot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4c795834c3ba79f080363a29ba9a45759922c3991f66a153191826b6abf5a2"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (5 application, 1 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/Histogram.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e03f3e31b7e7d6fcffbee8d55ccdf378f0cca72b68b46046a5262aadb195eba"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~71 LoC): no import path from any entry point (5 application, 1 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/service-worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e338a40914da107702c3946927e1a2865c8f70287ba97f0447ac3337cdcb2330"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~43 LoC): no import path from any entry point (5 application, 1 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/PValCell.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c6f21cd922ded8b6a4987c37069934b27ab979665341db5974abe3772e2918"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~7 LoC): no import path from any entry point (5 application, 1 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Game/Spinner2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e50b8b73fcd14d387b907523c4c1d7acf974502e729480eed7b48bd80f4eec5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~0 LoC): no import path from any entry point (5 application, 1 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/new_container.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b0dcc923704fcfab57356030f60bff0d8896853e791fea47e093ed3e86568c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027setProgress\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/DownloadToaster.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9cc5529b01f66a876f53ed9b2ffa588e736fe6393c1a8007097400e0b7d910"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027palette\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/utils.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3743ea4d1a226edb3794beaa06e9a548d88e58941b05527c1fc36ae76e0a57"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027register\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serviceWorkerRegistration.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f22c8757d0af4ed3ecaa8533e7fea831f971910990f9539e3966d5b2d6d51a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027unregister\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/serviceWorkerRegistration.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"963083fd5debb7728885280352bf92b869b02cb0c19696ee8c00c18466842366"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getColors\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/utils.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2a5c97b49272ad056b7efcc87b5cd93fbece3c280b48da77bc17d09876db43"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027remove\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/DownloadsDBHandler.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb0066daec2e59253659048ece716aacb6099c7120bc61f108c0d69bb834279"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027removeFile\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/KanaDBHandler.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ae20be5801996ef67510d59e6273d73d680e2f4c501ee4af9e779310038603"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027linkKanaDb\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/scran.worker.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab5900964ccd4cdf00965392b6711f5607969e6044d724add3c3d50b48e4fa8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027mappings\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/translate.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97213520255feec2e3baddf27dbb448af70c06bdb4871cc1715313ab51aaed3"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@dnd-kit/utilities\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/SortableItem.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9297141436537ab9f4be2a0b0b6865e430b5c779e92b7bc75bcb7bba7a2ae0b"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027classnames\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/DownloadToaster.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"407855cea56180b26be991c2a8a3b247468a2fd245e0ecc5f10f988500b077ad"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027scran.js\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/explorer.worker.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"648fd983a044ebebf85d056734b52332d32f08d4ceadd631bc29f3094b546308"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@testing-library/react\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"005a42758e514f3dc32d67069849d0ed0e619282c839fe64913dae31cf4f0fc2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@testing-library/user-event\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a340719b0545e8637210478c3662c3bbab7d357ac2b25cf2c345d389fdc228e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ajv\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bcc4e7d576746494853a42da52bc7f9201a2dbaa87781100c19638c996e117"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ajv-keywords\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86dfae179e3b1e297fbe70b0cbc7507b067dd5c0eb2c263c37c46288a272884"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027bioconductor\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85ae1e807ca9a65d102944cf5ff13aff79b438925b6d059973d5711ad1b5d78"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027workbox-background-sync\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d91df9c6dc0c6c703b581fbf4dac491dc32c1bacfa0bf551342bbf592572b1e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027workbox-broadcast-update\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a47993ccd4f774609c712a07584b8e6a319636534b6447244b1ab861e9c740"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027workbox-cacheable-response\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c627138d295be8749f9022d546a20e17b3d0836b088f6483b9a9d34889d22"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027workbox-google-analytics\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a1c7e4ad0d21df06f8f019f3d2035858bceb2d47de4b0e43d341700140dfc9"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027workbox-navigation-preload\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ff062a12ab4e8fd8117a02a782d0e7e0644ee942ea6a1347ce79534014635b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027workbox-range-requests\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0254652f5a100c50a312e18c8621e5d8c7d3d8a5997c1a4133ea70fa1b94c4c9"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027workbox-streams\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e8eb817dc31eb7c6cc2cd231291ca5bae117e767db26c10972b79ac61c464a"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060default_selection === selectedCellAnnAnnotation \u0026\u0026 !String(selectedCellAnnCluster).startsWith(\u0022cs\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"670e5f7f4312d43cf1d23567007f790a577917d5f534ffadfc99ca066b18d4dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060delCustomSelection === null \u0026\u0026 customSelection !== null \u0026\u0026 Object.keys(customSelection).length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0a4312054e053ee012fbe90be854228b82e322e26d78ed691b9f2f027724f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dsMeta \u0026\u0026 dsMeta.all_features.numberOfFeatures\u0060 appears character-identically in 2 files \u2014 src/components/LoadExplore/H5ADCard.js, src/components/NewAnalysis/H5ADCard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/H5ADCard.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d508f6534fcf5f849bb5d52f7b29954532c62dc53c6c244f9ae6ad1d6d414a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dsMeta \u0026\u0026 reportEmbeddings(dsMeta.reduced_dimension_names)\u0060 appears character-identically in 2 files \u2014 src/components/LoadExplore/SECard.js, src/components/LoadExplore/ZippedADBCard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/SECard.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aafe4e6e32081be47d0a4c85daafddf3fcfb5285a6a3af9dd7ae160b678475"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dsMeta \u0026\u0026 reportFeatureTypes(dsMeta.modality_features)\u0060 appears character-identically in 6 files \u2014 src/components/LoadExplore/SECard.js, src/components/LoadExplore/ZippedADBCard.js, src/components/NewAnalysis/ExperimentHubCard.js, src/components/NewAnalysis/RDSSECard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/SECard.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3279ad71866d889e41b8f63178874d732bf339277ecd49039ea697a482a92b10"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.target.value !== undefined \u0026\u0026 e.target.value !== null\u0060 appears character-identically in 6 files \u2014 src/components/NewAnalysis/ExperimentHubCard.js, src/components/NewAnalysis/H5ADCard.js, src/components/NewAnalysis/MatrixMarketCard.js, src/components/NewAnalysis/RDSSECard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ExperimentHubCard.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0c9c73a87abaa4c954407a362aa835f81ed928141ef0612bb649e6871b729c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060geneColSel[selectedModality] === null || geneColSel[selectedModality] === undefined\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"c818fc5b1f315750ddf7d2df7128070ccdf00fa73e59bfb333cc47f891f682a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060init2 \u0026\u0026 dsMeta \u0026\u0026 \u0022modality_features\u0022 in dsMeta\u0060 appears character-identically in 2 files \u2014 src/components/NewAnalysis/MatrixMarketCard.js, src/components/NewAnalysis/TenxHDF5Card.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/MatrixMarketCard.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb40743299438c3be43e0a39fd3a804511bd6192f51af9927e3463344666e769"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060k === \u0022\u0022 || k.toLowerCase().indexOf(\u0022gene\u0022) \u003E -1\u0060 appears character-identically in 2 files \u2014 src/components/NewAnalysis/ZippedADBCard.js, src/components/NewAnalysis/utils.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ZippedADBCard.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"de83d5ec7e6c095e81f1411f94d16f92bdeb9fe9cb9f8d5a3b51ea5b0e56001f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060k.toLowerCase().indexOf(\u0022antibody\u0022) \u003E -1 || k.toLowerCase().indexOf(\u0022adt\u0022) \u003E -1\u0060 appears character-identically in 3 files \u2014 src/components/NewAnalysis/H5ADCard.js, src/components/NewAnalysis/ZippedADBCard.js, src/components/NewAnalysis/utils.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/H5ADCard.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b43c24ea93cbc94054c9a5a5b51ce099b4fda4de11a78640ae077e24617cbbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options?.[getFTypeKey(mod)] === undefined || options?.[getFTypeKey(mod)] === null || options?.[getFTypeKey(mod)] === \u0022none\u0022\u0060 appears character-identically in 6 files \u2014 src/components/NewAnalysis/ExperimentHubCard.js, src/components/NewAnalysis/H5ADCard.js, src/components/NewAnalysis/MatrixMarketCard.js, src/components/NewAnalysis/RDSSECard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ExperimentHubCard.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bcf7078e60071c8aeba36fbd81e7100d4e692956dc74b129d7f03659ab5c86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[getFTypeKey(mod)] !== null \u0026\u0026 options[getFTypeKey(mod)] !== undefined\u0060 appears character-identically in 5 files \u2014 src/components/NewAnalysis/ExperimentHubCard.js, src/components/NewAnalysis/H5ADCard.js, src/components/NewAnalysis/RDSSECard.js, src/components/NewAnalysis/TenxHDF5Card.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/NewAnalysis/ExperimentHubCard.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf68758fa57aea8fc3777995c5c866ddb12aef14f35e8692c388c3db1a800a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload.type.toLowerCase().endsWith(\u0022error\u0022) || resp?.status === \u0022ERROR\u0022\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"0310fdebd91674829af0ab683b2b8de671d9be1cba57435a7543004f1101c034"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preInputFilesStatus \u0026\u0026 preInputFilesStatus[x.name]\u0060 appears character-identically in 2 files \u2014 src/components/LoadExplore/index.js, src/components/NewAnalysis/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1b39df911dc9737652a3155186bd243ebe62c3bd73f86dc053d9ba4b8affcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preflight \u0026\u0026 preflight !== null \u0026\u0026 preflight !== undefined\u0060 appears character-identically in 9 files \u2014 src/components/LoadExplore/H5ADCard.js, src/components/LoadExplore/SECard.js, src/components/LoadExplore/ZippedADBCard.js, src/components/NewAnalysis/ExperimentHubCard.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/H5ADCard.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f9dcabe1bb9c4fd26baa95793ba0a0b72e2a2b898e602b2532e84dd3b52e77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060props?.cellLabelData === null || props?.cellLabelData === undefined\u0060 appears character-identically in 3 files \u2014 src/components/CellAnnotation/index.js, src/components/FeatureSets/index.js, src/components/Markers/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CellAnnotation/index.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"af710c1f02d23dbd2e7dc65d8c573a26490905d66710f67cceb2c955874da205"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060props?.selectedPoints \u0026\u0026 props?.selectedPoints.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/components/Gallery/index.js, src/components/Plots/DimPlot.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Gallery/index.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb9e7907058ae68a50feba8e091d1bba0427bd9ad0dcd61e50d689699b85af3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060range[0] === minMaxs[key][0] \u0026\u0026 range[1] === minMaxs[key][1]\u0060 appears character-identically in 2 files \u2014 src/components/FeatureSets/index.js, src/components/Markers/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"330c3f9f441109f1ff799a4f12955c274f243e7a42925cb620bb0a8210c05b65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reqFsetGeneIndex != null \u0026\u0026 selectedFsetCluster != null\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcd94b2622d979119b67746598f14a968684dbf53cec4b112c9f14da522888d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reqFsetIndex != null \u0026\u0026 selectedFsetCluster != null \u0026\u0026 selectedFsetAnnotation !== null\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed844fd65e538fe3b7f5c4bb00f905375ff6b69d53ad9c3b93fb5ded43a06b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reqGene != null \u0026\u0026 selectedModality != null\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"34735fb322633e220d34d7116059d83498263af3f7182e17c595725cfd7c8a22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedCellAnnAnnotation !== null \u0026\u0026 selectedCellAnnCluster !== null\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf5b3558582d251772aa1def144d3fc1515f2de6e67ed52f3aef9eca90089df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedFsetCluster !== null \u0026\u0026 fsetClusterRank !== null\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"623306c7f7c29fecc1b643e3992f6d71029f1348627147d40acd000049bbb1e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedFsetVSCluster !== null \u0026\u0026 selectedFsetCluster !== null\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb50bcdc7c5b4b098f210ae30ce37635b7d3e0d2a1280e7221902a0fa63e02a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedModality !== null \u0026\u0026 clusterRank !== null\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f08f2155519d9e602fb1f029f5d96d40818f4c91a86d0965d0b01ace0fef7ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectedVSCluster !== null \u0026\u0026 selectedCluster !== null\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d800987a3515bec7699e41379cee9d4426b51e452cad1c29b278376e769b402"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showPanel === null || showPanel === undefined\u0060 appears character-identically in 2 files \u2014 src/components/AnalysisMode/index.js, src/components/ExploreMode/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/AnalysisMode/index.js"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bf672f7e7a1f894ed9fc49164682f79d3a8540a3800ca50ec13f521c149689"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x?.h5 \u0026\u0026 !x?.h5.name.toLowerCase().endsWith(\u0022h5ad\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/LoadExplore/index.js, src/components/NewAnalysis/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3787f236c9cc9f4812076efc21123cc738e58cf49ed70ac60281e1d498a99d11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x?.rds \u0026\u0026 !x?.rds.name.toLowerCase().endsWith(\u0022rds\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/LoadExplore/index.js, src/components/NewAnalysis/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"439ab2d35373c5a9138824ff8e3ab387f6abc001d1ad23fc6f7c58a759c55b08"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x?.zipfile \u0026\u0026 !x?.zipfile.name.toLowerCase().endsWith(\u0022zip\u0022)\u0060 appears character-identically in 2 files \u2014 src/components/LoadExplore/index.js, src/components/NewAnalysis/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/LoadExplore/index.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d845974143e57ae579a653bb08d16e37273f9d9d1e6f1aaef75a7fe86aaec8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x[key] \u003E= range[0] \u0026\u0026 x[key] \u003C= range[1]\u0060 appears character-identically in 2 files \u2014 src/components/FeatureSets/index.js, src/components/Markers/index.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeatureSets/index.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9a0e4a2fbc83b9993d534ced116a1cb9d846589a6d3746ac696cace7f405ba"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060cssText\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/Plots/utils.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb9009d08ef74a5d42602c111261c6e78b04b43c664b865cab2dddbde62d50b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/DownloadsDBHandler.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b7c35887442b4ca9b2699315589392cef61d9b18b7ffafca197f6b1e27f969"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/KanaDBHandler.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"928aeccce70483984b19375ccf3452739a0fbe49e5f5eba4e0bdecd2b2712252"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/KanaDBHandler.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea53e77a4bf035c32bffbd18ecebc8117c254d521fba5b0b8cc52c287387db81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/KanaDBHandler.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1180f9553b90a2fff0266785e6da7bc03e9a3e3081beabaa76a9e0c1304c25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/workers/KanaDBHandler.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7848c1bc1f13898fa2bb06f6d8c1933b53d9011cec2d6a76082f929ad9365a25"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":13,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}