{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"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":"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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"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":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"engine.createEngine (cyclomatic 1228): engine.createEngine has cyclomatic complexity 1228 (threshold 15). Of this number, 1131 points are the body\u0027s own statements and 97 belong to 44 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":"renderer/engine.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"679858b257e67a99b41b9d03b31c8dfdbfe153da80492c851aa4090612d5dec3"}},{"ruleId":"D1","level":"warning","message":{"text":"createScenery.draw (cyclomatic 229): createScenery.draw has cyclomatic complexity 229 (threshold 15). Of this number, 221 points are the body\u0027s own statements and 8 belong to 12 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":"renderer/scenery.js"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"709c8e12edee90bf583e018f621e05e850175f59fc6850ad86f86719fc5c13f0"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.createScenery.draw (cyclomatic 219): scenery.createScenery.draw has cyclomatic complexity 219 (threshold 15). Of this number, 212 points are the body\u0027s own statements and 7 belong to 3 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":"renderer/scenery.js"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"43303ad43647cdf1d65d53b33b21ffcc3dc7c8f1f1ae1ff9ba0f5c6b999c968b"}},{"ruleId":"D1","level":"warning","message":{"text":"createPortal.draw (cyclomatic 147): createPortal.draw has cyclomatic complexity 147 (threshold 15). Of this number, 141 points are the body\u0027s own statements and 6 belong to 9 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":"renderer/portal.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a95178378ffaa510f690ceb86f55b8e8acd4eb9c79d79e197fe0488fc360c58"}},{"ruleId":"D1","level":"warning","message":{"text":"portal.createPortal.draw (cyclomatic 146): portal.createPortal.draw has cyclomatic complexity 146 (threshold 15). Of this number, 140 points are the body\u0027s own statements and 6 belong to 4 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":"renderer/portal.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3b14af315811e5029f136649b455a98c9913a10afbb2f474597a32c8d3caac"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::newBar (cyclomatic 130): createEngine::newBar has cyclomatic complexity 130 (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":"renderer/engine.js"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe109ccb0068e49c0c54a317c06132ed899650aa0d26d4a1e9848dd25ce6a78"}},{"ruleId":"D1","level":"warning","message":{"text":"setUpIpc (cyclomatic 117): setUpIpc has cyclomatic complexity 117 (threshold 15). Most of this is not in the body itself: 3 of the 117 points are its own statements and the rest belongs to 103 function items inside it that branch (a function literal at line 598, a function literal at line 624, a function literal at line 684, \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":"main.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d926e5082b8b5090db2a19e75d953220797660f92a1fc8b1fef1185fca43052"}},{"ruleId":"D1","level":"warning","message":{"text":"worlds.createWorlds (cyclomatic 110): worlds.createWorlds has cyclomatic complexity 110 (threshold 15). 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":"renderer/worlds.js"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef863e75f3a029ec4d2456150c74a5e4695ca88e469cedb66adf5feb18d41041"}},{"ruleId":"D1","level":"warning","message":{"text":"lens.createLens.draw (cyclomatic 99): lens.createLens.draw has cyclomatic complexity 99 (threshold 15). Of this number, 90 points are the body\u0027s own statements and 9 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":"renderer/lens.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"770520eb46a3dee325bfed0974165991c947fd8b613181c6956baea8b34d3156"}},{"ruleId":"D1","level":"warning","message":{"text":"createLens.draw (cyclomatic 99): createLens.draw has cyclomatic complexity 99 (threshold 15). Of this number, 90 points are the body\u0027s own statements and 9 belong to 21 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":"renderer/lens.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5f64445e51c60055d2696072b56e7fe897ce7009c75c3f7a84e752e5efad24"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::tempoUpdate (cyclomatic 91): createEngine::tempoUpdate has cyclomatic complexity 91 (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":"renderer/engine.js"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22dcd311292f95290c3550f4d5f251ee71c5cc17576ad7f13000dbc715a6cda"}},{"ruleId":"D1","level":"warning","message":{"text":"createWorlds::draw (cyclomatic 87): createWorlds::draw has cyclomatic complexity 87 (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":"renderer/worlds.js"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"827c5c0b8b1e1dbf8774c9d201d3c16f195161c2c68a7ed0bf663e22954f6ee3"}},{"ruleId":"D1","level":"warning","message":{"text":"Dancer.dance (cyclomatic 86): Dancer.dance has cyclomatic complexity 86 (threshold 15). Of this number, 82 points are the body\u0027s own statements and 4 belong to 2 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":"renderer/noodles.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"06544fec86068196d435fa485a15770ec8b4074ed9d8355efbf1579c386adc5c"}},{"ruleId":"D1","level":"warning","message":{"text":"app.drawFrame (cyclomatic 73): app.drawFrame has cyclomatic complexity 73 (threshold 15). Of this number, 71 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"renderer/app.js"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ad22cb811e7f33981c17bb8ca7eb3a883b99fa41ac82f76766bb5317f45918"}},{"ruleId":"D1","level":"warning","message":{"text":"createScenery (cyclomatic 72): createScenery has cyclomatic complexity 72 (threshold 15). Most of this is not in the body itself: 1 of the 72 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 6771, 6556, 6557, \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":"renderer/scenery.js"},"region":{"startLine":6506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2f7016884d3c97858b36a2e773b73fb7d5f48227aa52f18f7b6458334ee74d"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::updatePhase (cyclomatic 72): createEngine::updatePhase has cyclomatic complexity 72 (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":"renderer/engine.js"},"region":{"startLine":2998}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5c7bbb0912ff2da06eba5930e0d89f8cd697e203625b91763483469bb34950"}},{"ruleId":"D1","level":"warning","message":{"text":"createTakeRender.render (cyclomatic 71): createTakeRender.render has cyclomatic complexity 71 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 25 belong to 23 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":"helpers/take-render.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c430d4ca14be2bd4c93621f4f5fb201a4e3b9177131b7a6702c1d33be5a006d7"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.createScenery.sim (cyclomatic 68): scenery.createScenery.sim has cyclomatic complexity 68 (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":"renderer/scenery.js"},"region":{"startLine":6771}}}],"partialFingerprints":{"codehealthFindingId/v1":"6658042459bd0c558d5328bdee8530817706c2e42c4b850198673b638f564128"}},{"ruleId":"D1","level":"warning","message":{"text":"take-render.createTakeRender.render (cyclomatic 66): take-render.createTakeRender.render has cyclomatic complexity 66 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 25 belong to 13 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":"helpers/take-render.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc1ab3679f3e9380e4b998c705401e22743d0114d3925406b8dda9b7c2a9938"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.pixFor (cyclomatic 66): scenery.pixFor has cyclomatic complexity 66 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/scenery.js"},"region":{"startLine":5485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63673fc137ef486f13562820c9c2efab88b13dcc5cb6da1eb935617a4f65b97"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.drawBoat (cyclomatic 63): scenery.drawBoat has cyclomatic complexity 63 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/scenery.js"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"314f8a4715b9cca41649fec0ce98869a299db1cff5e025c0e5af8343a2df0098"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.onKey (cyclomatic 61): library-panel.createLibraryPanel.onKey has cyclomatic complexity 61 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 12 belong to 7 function literals 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":"renderer/library-panel.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbc0cf9b600f74b46dcae675a756c0d0f8d964be8e3cf17e3e94280a98e9a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::frame (cyclomatic 61): createEngine::frame has cyclomatic complexity 61 (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":"renderer/engine.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c728a7768ea20a4deb5e710de1efe008c5fb4bb04d4eb1cbc63724339104a9"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.onKey (cyclomatic 61): createLibraryPanel.onKey has cyclomatic complexity 61 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 12 belong to 10 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":"renderer/library-panel.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcb803758addfc51b5760899b88881a1add74d1d12ad6801455b4daaa859ab5"}},{"ruleId":"D1","level":"warning","message":{"text":"visuals.createField.draw (cyclomatic 60): visuals.createField.draw has cyclomatic complexity 60 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 7 belong to 2 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":"renderer/visuals.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc5e282a64c137828d0b8799bb5514d5c1040cf0c5ae378bf92d54ccaf5c27f"}},{"ruleId":"D1","level":"warning","message":{"text":"melody.pathLine1 (cyclomatic 60): melody.pathLine1 has cyclomatic complexity 60 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. 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":"renderer/melody.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ccf9120a0e7c2542d1fe665332d2304dd720de722af906c921b309f776bd59"}},{"ruleId":"D1","level":"warning","message":{"text":"createField.draw (cyclomatic 60): createField.draw has cyclomatic complexity 60 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 7 belong to 3 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":"renderer/visuals.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"79153fd4da3c6d9308f0c12d5fd0e5868456959c71288a921540a80973e25195"}},{"ruleId":"D1","level":"warning","message":{"text":"createWebApi.list (cyclomatic 60): createWebApi.list has cyclomatic complexity 60 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 6 belong to 9 function literals 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":"helpers/spotify.cjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec049fba0a912e93681687720bd1bbde89f8a76ca9aae660b82877bf123b3eb"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify.createWebApi.list (cyclomatic 57): spotify.createWebApi.list has cyclomatic complexity 57 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 6 belong to 3 function literals 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":"helpers/spotify.cjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b890654e0f4cc59253a8a80edafe58ca661b3da6c47b690a1cdd7e421ce15f"}},{"ruleId":"D1","level":"warning","message":{"text":"swimSharks (cyclomatic 57): swimSharks has cyclomatic complexity 57 (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":"renderer/scenery.js"},"region":{"startLine":6079}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7d0efe41be39bf5897f8b292c1d3ab9edbf448f23034672dc0c798b5d43c7f"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel (cyclomatic 56): createLibraryPanel has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 6 of the 56 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 1377, a function literal at line 1363, a function literal at line 1370, \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":"renderer/library-panel.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7f696421158a0d696d3a264b95849bcda91ac424c3ddd9bcc531eca8144aed"}},{"ruleId":"D1","level":"warning","message":{"text":"Dancers.update (cyclomatic 53): Dancers.update has cyclomatic complexity 53 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 3 belong to 3 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":"renderer/noodles.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7c33ff9a7565f9119da422de6d56c7e88b98c8a3f30659eaa4359f8f5cb8ad"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::fluxUpdate (cyclomatic 53): createEngine::fluxUpdate has cyclomatic complexity 53 (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":"renderer/engine.js"},"region":{"startLine":2892}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a47a7a563a05ff100ad7017ab53132c1b855c042a96454d9921881741c6a68d"}},{"ruleId":"D1","level":"warning","message":{"text":"codegen.riffNotes (cyclomatic 51): codegen.riffNotes has cyclomatic complexity 51 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/codegen.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f178be7c5667d93cc2d8b7cfe822a011efeb9fff968fefe9d0ab661f3beadd2"}},{"ruleId":"D1","level":"warning","message":{"text":"card.createCard.draw (cyclomatic 51): card.createCard.draw has cyclomatic complexity 51 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"renderer/card.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa390896af7d1b6ae93c7f28499aabda6a1ef0cddafa361c79c5474ed7170c9b"}},{"ruleId":"D1","level":"warning","message":{"text":"player.createPlayerBar.update (cyclomatic 51): player.createPlayerBar.update has cyclomatic complexity 51 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"renderer/player.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8ed6f06aefd141b71c3b288fc66d5bc5d6cfc42a9a4316bdfb62c0e86449eb"}},{"ruleId":"D1","level":"warning","message":{"text":"createEventLedger (cyclomatic 51): createEventLedger has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 11 of the 51 points are its own statements and the rest belongs to 16 function items inside it that branch (append, restore, startCapture, \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":"renderer/engine.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7698ff22c8ef869a046763995cd287e219517fd6538f57150b7cc3edf6b5f9e"}},{"ruleId":"D1","level":"warning","message":{"text":"createPlayerBar.update (cyclomatic 51): createPlayerBar.update has cyclomatic complexity 51 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"renderer/player.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0286eaa6324d026792bc15d9c76fded4868a71b2f42ec36e7a2d37dca6d7b49b"}},{"ruleId":"D1","level":"warning","message":{"text":"createCard.draw (cyclomatic 51): createCard.draw has cyclomatic complexity 51 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 2 belong to 2 function literals 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":"renderer/card.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e6ddb02a73b02bb66a5b74255f0b5748d653d0f6cc35797f891cfefe828d0c"}},{"ruleId":"D1","level":"warning","message":{"text":"buildLines (cyclomatic 49): buildLines has cyclomatic complexity 49 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 7 belong to 12 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":"renderer/codegen.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd4e6dc303cabe17d3938153155c7f7809d069819ceb81045b1efa8f6fa82ca"}},{"ruleId":"D1","level":"warning","message":{"text":"game.createGame.draw (cyclomatic 47): game.createGame.draw has cyclomatic complexity 47 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 13 belong to 3 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":"renderer/game.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"403db88eb6ae52bd1ba8a1d70c5eaae1f9dfd689e6ce3227a719c757469e2af0"}},{"ruleId":"D1","level":"warning","message":{"text":"tape.createTape (cyclomatic 47): tape.createTape has cyclomatic complexity 47 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 4 belong to 3 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":"renderer/tape.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"250a5db04b5f1fa0fa9ae25e2fdfbe65bf6e16f89c05b9042e06cbc3efd35874"}},{"ruleId":"D1","level":"warning","message":{"text":"createGame.draw (cyclomatic 47): createGame.draw has cyclomatic complexity 47 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 13 belong to 3 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":"renderer/game.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aed4aeabaa6668b1b2d2b8b388edfd5e8278fefdae32bd83cc11478370863b6"}},{"ruleId":"D1","level":"warning","message":{"text":"onmessage (cyclomatic 47): onmessage has cyclomatic complexity 47 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/stems-worker.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"15601cff09a216217e5affa3fca756bb258a9189b590398301755f93a6e21dd1"}},{"ruleId":"D1","level":"warning","message":{"text":"dominoes.createDominoes.step (cyclomatic 46): dominoes.createDominoes.step has cyclomatic complexity 46 (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":"renderer/dominoes.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbe9bb33c2b46a459f7c665577285596916eb0050f2b15bc666c26b3cede6a0"}},{"ruleId":"D1","level":"warning","message":{"text":"voxcam.createVoxCam.draw (cyclomatic 46): voxcam.createVoxCam.draw has cyclomatic complexity 46 (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":"renderer/voxcam.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b6345d2155f35df76ef2201c1bca9bee322360c756721b50966ea0f170aa77"}},{"ruleId":"D1","level":"warning","message":{"text":"createDominoes.step (cyclomatic 46): createDominoes.step has cyclomatic complexity 46 (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":"renderer/dominoes.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96c50493845d594ffed6800ebe4e088fd7357ea636c7adbc8d64c7d0c74685d"}},{"ruleId":"D1","level":"warning","message":{"text":"createVoxCam.draw (cyclomatic 46): createVoxCam.draw has cyclomatic complexity 46 (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":"renderer/voxcam.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e06160944863ff012d037746d9041642ce82f14a8a7528dd710dcc7ae11e66f"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.swimFish (cyclomatic 45): scenery.swimFish has cyclomatic complexity 45 (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":"renderer/scenery.js"},"region":{"startLine":5991}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aecb5859e02c7c202a55a75e6f7fecc87ab495011791ba0805c6cc29383844f"}},{"ruleId":"D1","level":"warning","message":{"text":"clock.createClock (cyclomatic 44): clock.createClock has cyclomatic complexity 44 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 24 belong to 5 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":"renderer/clock.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bf5e82754d8dbc064000fcd2cde3e2ac5af0d7084961b76d7abc566b8be22e"}},{"ruleId":"D1","level":"warning","message":{"text":"createOrb (cyclomatic 44): createOrb has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 585, (anonymous)::fire, a function literal at line 526, \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":"renderer/orb.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1f4c704548fe2f6f941a64607d3f6bf9666cfaa7b85eda773831800327856"}},{"ruleId":"D1","level":"warning","message":{"text":"game.createGame.model (cyclomatic 42): game.createGame.model has cyclomatic complexity 42 (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":"renderer/game.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf4981b70aa0c022b6806380686c2cc41725a71eebe93e305f116c4ee5b2bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::harmonyBar (cyclomatic 42): createEngine::harmonyBar has cyclomatic complexity 42 (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":"renderer/engine.js"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa5d701140887ec7b16f6fa15083c38d8b9604782b355eac0515afdc4446750"}},{"ruleId":"D1","level":"warning","message":{"text":"createGame.model (cyclomatic 42): createGame.model has cyclomatic complexity 42 (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":"renderer/game.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cbdad4a32166581754c7531f929ebbc0371782979f35e45ef1ab4c4afa9645"}},{"ruleId":"D1","level":"warning","message":{"text":"advance (cyclomatic 42): advance has cyclomatic complexity 42 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 1 belongs to 2 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":"renderer/spaghetti.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d9cf9fd6c1dc80f50ea36b5d001ca3a6e1e87f7582bc6cfc16f80a3988d6e6"}},{"ruleId":"D1","level":"warning","message":{"text":"placeBass (cyclomatic 42): placeBass has cyclomatic complexity 42 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 15 belong to 5 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/melody.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"11868c3b7c807573776e05dc116d4f4cb2ada9668b11edc18a4287bd4e13b590"}},{"ruleId":"D1","level":"warning","message":{"text":"orb.createOrb.sim (cyclomatic 41): orb.createOrb.sim has cyclomatic complexity 41 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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":"renderer/orb.js"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"caad03941e71a72531511782ba3ee1562217d745e883fda0a9ca695ced581a52"}},{"ruleId":"D1","level":"warning","message":{"text":"createEarth.draw (cyclomatic 41): createEarth.draw has cyclomatic complexity 41 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 3 belong to 2 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":"renderer/earth.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd56bee76b055396da0bc131504bf25954791f834208d221f4a4b83cf637723"}},{"ruleId":"D1","level":"warning","message":{"text":"storm.createStorm.draw (cyclomatic 40): storm.createStorm.draw has cyclomatic complexity 40 (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":"renderer/storm.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b359f03460249e6d527cd7711a3a815210c41c5508bd6df2a31752344e71abe"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.drawLighthouse (cyclomatic 40): scenery.drawLighthouse has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/scenery.js"},"region":{"startLine":5119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ead4631e4e2e05fce59450bc9e4b56e5693b8fa10b41db7a11f883de9f85d0e"}},{"ruleId":"D1","level":"warning","message":{"text":"createStorm.draw (cyclomatic 40): createStorm.draw has cyclomatic complexity 40 (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":"renderer/storm.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1006c87ca054567168d9182212af4ee59b41235030d593e556688049a38c89f"}},{"ruleId":"D1","level":"warning","message":{"text":"game.createGame.drawShell (cyclomatic 39): game.createGame.drawShell has cyclomatic complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/game.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"206dc0700fce9aa46f9c6cf4ed901682bc55efc39b47222a9b18a46aac43985f"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.spRow (cyclomatic 39): library-panel.createLibraryPanel.spRow has cyclomatic complexity 39 (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":"renderer/library-panel.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1022d2c3ba49400989a8e77b4f4decc56aeef3725c98f842c1dc6bb38272822"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.spRow (cyclomatic 39): createLibraryPanel.spRow has cyclomatic complexity 39 (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":"renderer/library-panel.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2176157e6497963a61e687217cd604854214fb5a44c39c218536e5bccfaa5c"}},{"ruleId":"D1","level":"warning","message":{"text":"createGame.drawShell (cyclomatic 39): createGame.drawShell has cyclomatic complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to 3 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":"renderer/game.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e70c83af568d0ca5a2a3a313dfd10f6b6e31d67b77703acf8edcfb275d3dd2"}},{"ruleId":"D1","level":"warning","message":{"text":"gameboot.paint (cyclomatic 38): gameboot.paint has cyclomatic complexity 38 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 7 belong to 2 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":"renderer/gameboot.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d897458e8bcff7d92d492d421ececcae64a9975b02e03ad0354629e2d09963fa"}},{"ruleId":"D1","level":"warning","message":{"text":"dotcam.createDotCam.draw (cyclomatic 38): dotcam.createDotCam.draw has cyclomatic complexity 38 (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":"renderer/dotcam.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0d090a9cab70a8f6e36ab1d410ca5484ea79ae64e8046fcd5874368cfa10e8"}},{"ruleId":"D1","level":"warning","message":{"text":"segcam.createSegcam.draw (cyclomatic 38): segcam.createSegcam.draw has cyclomatic complexity 38 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/segcam.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d63a0b223b768f2cc5c224504c2f5a811ce131c24d6d1e3da7a3eba37a5cf1d"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.spArtSrc (cyclomatic 38): library-panel.createLibraryPanel.spArtSrc has cyclomatic complexity 38 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f143d26b07e69bcb91a1e56d833521666fcecc30873b038f5b05d084c3fb0e"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.spArtSrc (cyclomatic 38): createLibraryPanel.spArtSrc has cyclomatic complexity 38 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fcaa806113207b39901f9d550f13e5893195b15939985cca0e81933bd4cd1a"}},{"ruleId":"D1","level":"warning","message":{"text":"layout (cyclomatic 38): layout has cyclomatic complexity 38 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 7 belong to 11 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":"renderer/noodles.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3571cd9ebe02c5796408427570184182097ad7f0479236f90208f8df729c534"}},{"ruleId":"D1","level":"warning","message":{"text":"createSegcam.draw (cyclomatic 38): createSegcam.draw has cyclomatic complexity 38 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 3 belong to 14 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":"renderer/segcam.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0044915f832e0c47cb2378aca1892f61eca0308177ac23dc12dee6512813288d"}},{"ruleId":"D1","level":"warning","message":{"text":"createDotCam.draw (cyclomatic 38): createDotCam.draw has cyclomatic complexity 38 (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":"renderer/dotcam.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"010a5445ada74baaa9454c13559c4db95b607941ca67a66441162c255d60a5f0"}},{"ruleId":"D1","level":"warning","message":{"text":"game.createGame.drawBottom (cyclomatic 37): game.createGame.drawBottom has cyclomatic complexity 37 (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":"renderer/game.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ced2dc34672702400e92f994741349365594ef73170aad874aa4dd5b92f5dc2"}},{"ruleId":"D1","level":"warning","message":{"text":"earth.createEarth.draw (cyclomatic 37): earth.createEarth.draw has cyclomatic complexity 37 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/earth.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc015a215a4c56bc9b369bb159b22dc1e8a4fd59f143f2fdba7f3043bea4d44"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::estimateTempo (cyclomatic 37): createEngine::estimateTempo has cyclomatic complexity 37 (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":"renderer/engine.js"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b118679edb099177044ec1ab2ce696a43d890948f4075c761dd83679b8694c37"}},{"ruleId":"D1","level":"warning","message":{"text":"createGame.drawBottom (cyclomatic 37): createGame.drawBottom has cyclomatic complexity 37 (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":"renderer/game.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"129bf83e55afcb962706a20576643bde2e43c2cf7c744cbf17842d4d5ddbd691"}},{"ruleId":"D1","level":"warning","message":{"text":"createPost.draw (cyclomatic 37): createPost.draw has cyclomatic complexity 37 (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":"renderer/post.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bde6043027ac1ce9182d36c90eadb7e10f0f94c73b06bee20cd80906adf9a2"}},{"ruleId":"D1","level":"warning","message":{"text":"take-store.checkMeta (cyclomatic 36): take-store.checkMeta has cyclomatic complexity 36 (threshold 15). 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":"helpers/take-store.cjs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd14daf69fa04d760d85417fe5350330e713c5f8ff08100e2b9d155b14e033c"}},{"ruleId":"D1","level":"warning","message":{"text":"post.createPost.draw (cyclomatic 36): post.createPost.draw has cyclomatic complexity 36 (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":"renderer/post.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1312235e925e6afa131550345859c84cb47d1f43a2926295c1efac64a6f8cc8"}},{"ruleId":"D1","level":"warning","message":{"text":"library.coverGlyphs (cyclomatic 36): library.coverGlyphs has cyclomatic complexity 36 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb25a4af6ae69baa464aa33f48308dcda1f2c07e2b10f8bcd899911b352f7cb"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::lead (cyclomatic 36): createEngine::lead has cyclomatic complexity 36 (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":"renderer/engine.js"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6a530f9e1f2987b82b33c28c26e330802dcfb5b5b7fb3ea48f785ff521f84a"}},{"ruleId":"D1","level":"warning","message":{"text":"game.createGame.drawTop (cyclomatic 35): game.createGame.drawTop has cyclomatic complexity 35 (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":"renderer/game.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"46416c7eae1a8494b7ef19b8165c508d5bb4e22c2ce9e5ce13ff372ea919f412"}},{"ruleId":"D1","level":"warning","message":{"text":"visuals.createPunchcard.queue (cyclomatic 35): visuals.createPunchcard.queue has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/visuals.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6a06bad50880dcc1a3087841239e8cc844719529cdf48f094f2aa3fc81792a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 35): (anonymous) has cyclomatic complexity 35 (threshold 15). 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":"renderer/app.js"},"region":{"startLine":3326}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7aaa5c259ebfd952a602612436725c7d7de71802fb7ce1de19078471a1434e"}},{"ruleId":"D1","level":"warning","message":{"text":"lcdTop (cyclomatic 35): lcdTop has cyclomatic complexity 35 (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":"renderer/gameskins.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"422b336ad552fc55ce6a88c2cb6a6be3f5b6cbb40cdb2697adb37b42a2944517"}},{"ruleId":"D1","level":"warning","message":{"text":"createGame.drawTop (cyclomatic 35): createGame.drawTop has cyclomatic complexity 35 (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":"renderer/game.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"654fe6f4ecfb0595d3047433194594ae5e5ffa0400986a45a156d1dae3ebf61b"}},{"ruleId":"D1","level":"warning","message":{"text":"createPunchcard.queue (cyclomatic 35): createPunchcard.queue has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to 3 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":"renderer/visuals.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"06879b0d8be85a29285e47e79b7194064e5b408aa695a90a60ba2496e0355bfc"}},{"ruleId":"D1","level":"warning","message":{"text":"createTape::song (cyclomatic 35): createTape::song has cyclomatic complexity 35 (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":"renderer/tape.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c39f5d6d62fdbde00ed511d9ba185b1a8c01a5a67df70b017ba10843e6f848"}},{"ruleId":"D1","level":"warning","message":{"text":"embedded-cover.id3 (cyclomatic 34): embedded-cover.id3 has cyclomatic complexity 34 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/embedded-cover.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f753ba5ad483a0ee4ef9c41c12c2738aebe8b6c995ab0fa450579af28b2c81b"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::fluxTempo (cyclomatic 34): createEngine::fluxTempo has cyclomatic complexity 34 (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":"renderer/engine.js"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"b160713895c79398797ff25c8f36f18cb92bb7f57013b91ee54ac33d32e8503b"}},{"ruleId":"D1","level":"warning","message":{"text":"createWebApi.play (cyclomatic 34): createWebApi.play has cyclomatic complexity 34 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 4 belong to 3 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":"helpers/spotify.cjs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"588b9dfb2e36a503ce934f8c07089a5bc4a4e509343de32e20856ed462f34817"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify.createWebApi.play (cyclomatic 33): spotify.createWebApi.play has cyclomatic complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"helpers/spotify.cjs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1777569a808404b76a82a8cdce19a6d5c47aebd60f55141ccda5d7c15851dc8"}},{"ruleId":"D1","level":"warning","message":{"text":"dominoes.createDominoes.draw (cyclomatic 33): dominoes.createDominoes.draw has cyclomatic complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"renderer/dominoes.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7032502c24d5e400c9e187ead087c86e9b2c50179201049d5c15a68bf5661cee"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.drawMoon (cyclomatic 33): scenery.drawMoon has cyclomatic complexity 33 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/scenery.js"},"region":{"startLine":5047}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1c3cb16ca3d4f88de80b37933062a516a0f6ff2ab450ab3adb065278fad945"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.stepPond (cyclomatic 33): scenery.stepPond has cyclomatic complexity 33 (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":"renderer/scenery.js"},"region":{"startLine":6410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fa8c4c1f3b8738ee537c76adf7351fb007b91417f8855fa8bfe03bbc1a4fd0"}},{"ruleId":"D1","level":"warning","message":{"text":"audio-tags.id3Frames (cyclomatic 33): audio-tags.id3Frames has cyclomatic complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"renderer/audio-tags.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc4b183cf48e468860f9842bd8b9a40bfd95beefaf09ead2e1f7a44a300b85e"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::pitch (cyclomatic 33): createEngine::pitch has cyclomatic complexity 33 (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":"renderer/engine.js"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40c137f437413eb8277a1674962523655837ede8d9264e85d0ae53d7c10e7a7"}},{"ruleId":"D1","level":"warning","message":{"text":"createDominoes.draw (cyclomatic 33): createDominoes.draw has cyclomatic complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 belong to 5 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":"renderer/dominoes.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cc60c73feb3d95b090a30026afdd5d1ad9ed1f318077e6cf8e0e9b62a5ce6d"}},{"ruleId":"D1","level":"warning","message":{"text":"createBackrooms.draw (cyclomatic 33): createBackrooms.draw has cyclomatic complexity 33 (threshold 15). 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":"renderer/backrooms.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"836b1165f886a0e763f0e7ce5926a62e3bc1740d71f8253131f85cc994112020"}},{"ruleId":"D1","level":"warning","message":{"text":"engine.timingHypotheses (cyclomatic 32): engine.timingHypotheses has cyclomatic complexity 32 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 9 belong to 5 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":"renderer/engine.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cf22acd5b805a083a1d967576f20e80ad73e9336878ad535b47eec8d4819cd"}},{"ruleId":"D1","level":"warning","message":{"text":"y2k.createY2k.draw (cyclomatic 32): y2k.createY2k.draw has cyclomatic complexity 32 (threshold 15). 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":"renderer/y2k.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7f6a03f159ac4f5058490c4a808286cb057722fded4457e28e799af7307950"}},{"ruleId":"D1","level":"warning","message":{"text":"tape.compactFromExact (cyclomatic 32): tape.compactFromExact has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 12 of the 32 points are its own statements and the rest belongs to 3 function items inside it that branch (compactLine, wrap, a function literal at line 468). 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":"renderer/tape.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9227d12b87da2be6877fb1eb4c02993fa20ee6eacc413492c76445c7f026a3"}},{"ruleId":"D1","level":"warning","message":{"text":"audio-tags.mp4 (cyclomatic 32): audio-tags.mp4 has cyclomatic complexity 32 (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":"renderer/audio-tags.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0088549bda14e285fb36b0845caafdc66fb9bbf490714a62960889e253d73e4a"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::sameLearned (cyclomatic 32): createEngine::sameLearned has cyclomatic complexity 32 (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":"renderer/engine.js"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"193f8cf4f43aaa6885f7de3a3ef5ff9260036e8fea53ef99ee377c76595c1754"}},{"ruleId":"D1","level":"warning","message":{"text":"danceTop (cyclomatic 32): danceTop has cyclomatic complexity 32 (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":"renderer/gameskins.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a9115e72e3599220b2f03a8a7d8dd77a6d41cce26251d72699c1a8c4a5fabe"}},{"ruleId":"D1","level":"warning","message":{"text":"createPunchcard.draw (cyclomatic 32): createPunchcard.draw has cyclomatic complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/visuals.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1d65ee5598c03e1f9f708f2c8c8fd5aba44835bedb3451a5de10bc18c3a1b9"}},{"ruleId":"D1","level":"warning","message":{"text":"createY2k.draw (cyclomatic 32): createY2k.draw has cyclomatic complexity 32 (threshold 15). 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":"renderer/y2k.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8cd2cfcfaf4eac417e77b12d3c6016d6475531df68ac6309195ce20cbc04ff"}},{"ruleId":"D1","level":"warning","message":{"text":"visuals.createPunchcard.draw (cyclomatic 31): visuals.createPunchcard.draw has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/visuals.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad65043bf49e38724383df246b0b10ec0dc559a182246c66d43cb21aa83d705"}},{"ruleId":"D1","level":"warning","message":{"text":"now-coding.html.renderField (cyclomatic 30): now-coding.html.renderField has cyclomatic complexity 30 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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":"prototype/now-coding.html"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7851c6b93968215758be9282aa062464c50fd6bbcb2f6e0ab207de9bca32e0"}},{"ruleId":"D1","level":"warning","message":{"text":"spectro.createSpectro.draw (cyclomatic 30): spectro.createSpectro.draw has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/spectro.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0db0591787c411f6f42acae4f93607a807f79b6a257b6fe12ee83859c0c984"}},{"ruleId":"D1","level":"warning","message":{"text":"backrooms.createBackrooms.draw (cyclomatic 30): backrooms.createBackrooms.draw has cyclomatic complexity 30 (threshold 15). 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":"renderer/backrooms.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ceeb45ddfa66a5cf167214ceb606f37ae135af0dbb5dc60479b06c1902eba7"}},{"ruleId":"D1","level":"warning","message":{"text":"rebuild.program (cyclomatic 30): rebuild.program has cyclomatic complexity 30 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 15 belong to 5 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":"renderer/rebuild.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"e822a173c6f6cfb341e9064d26df5787d18616df094b407c72d33619c0f877e6"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::lowDecide (cyclomatic 30): createEngine::lowDecide has cyclomatic complexity 30 (threshold 15). 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":"renderer/engine.js"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c65e40803960d8ca2778986b0a68cb5852c90e73e44b3ad85e7fdce3adadee5"}},{"ruleId":"D1","level":"warning","message":{"text":"createSpectro.draw (cyclomatic 30): createSpectro.draw has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to 2 function literals 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":"renderer/spectro.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f79e6e665d65ad4989df89695bdf9bc4b4576c9b93153522084c688aeae93f"}},{"ruleId":"D1","level":"warning","message":{"text":"codeview.createCodeView.plan (cyclomatic 29): codeview.createCodeView.plan has cyclomatic complexity 29 (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":"renderer/codeview.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"97354919a9c7b336b32279ad60f3d4efe9871a266d61d74cc800fafa6db9e13f"}},{"ruleId":"D1","level":"warning","message":{"text":"orb.createOrb.draw (cyclomatic 29): orb.createOrb.draw has cyclomatic complexity 29 (threshold 15). 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":"renderer/orb.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70d3267a83ccf4f69a8a5173896db0231889a4a1ae649fefb30f5783b66f5e7"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::keyBar (cyclomatic 29): createEngine::keyBar has cyclomatic complexity 29 (threshold 15). 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":"renderer/engine.js"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5961b0d2eedf5cd06e0d1fdbc29fa40f670b89f6fd1e0a159a850c98809ddde5"}},{"ruleId":"D1","level":"warning","message":{"text":"vfdTop (cyclomatic 29): vfdTop has cyclomatic complexity 29 (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":"renderer/gameskins.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd842754a242f4b7eff76475dfa9046e4cafb0691b00d06a59822c66832ba4df"}},{"ruleId":"D1","level":"warning","message":{"text":"createOrb.draw (cyclomatic 29): createOrb.draw has cyclomatic complexity 29 (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":"renderer/orb.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d8a993c937f168664e9190993c991213007a107556cfa5ebae05c4a1cfc6af"}},{"ruleId":"D1","level":"warning","message":{"text":"createCodeView.plan (cyclomatic 29): createCodeView.plan has cyclomatic complexity 29 (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":"renderer/codeview.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7f279e6443cc1b5294c02a3c0c3bf966baa667467215614944da557539d55a"}},{"ruleId":"D1","level":"warning","message":{"text":"stepParts (cyclomatic 29): stepParts has cyclomatic complexity 29 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 8 belong to 11 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":"renderer/codegen.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d584c7a7fe129419157e538438ea7be5a3ba328217b584507afab327df11cb1d"}},{"ruleId":"D1","level":"warning","message":{"text":"library.coverSize (cyclomatic 28): library.coverSize has cyclomatic complexity 28 (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":"helpers/library.cjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b589aa4e368bef9689f1d002c42e43fceba409891dcd1732f8fc687270447c5d"}},{"ruleId":"D1","level":"warning","message":{"text":"now-coding.html.drumParts (cyclomatic 28): now-coding.html.drumParts has cyclomatic complexity 28 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 6 belong to 5 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":"prototype/now-coding.html"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b553a8fe37e5a846cac4da6d89507c7b1aa0620d7406e7b28839cec182ba536"}},{"ruleId":"D1","level":"warning","message":{"text":"codeview.createCodeView.step (cyclomatic 28): codeview.createCodeView.step has cyclomatic complexity 28 (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":"renderer/codeview.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5525a081e1640e0a3f9c5e108a4e5371a71a238465bb4f73283dd10df22eb62"}},{"ruleId":"D1","level":"warning","message":{"text":"codeview.createCodeView.highlight (cyclomatic 28): codeview.createCodeView.highlight has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/codeview.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"489edb834af46234a8079b9b9db89edae07c6a80e6a6cc46c059747641199ed1"}},{"ruleId":"D1","level":"warning","message":{"text":"visuals.createWebcam.applyFx (cyclomatic 28): visuals.createWebcam.applyFx has cyclomatic complexity 28 (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":"renderer/visuals.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b01bba155ef8b87c4694231fb0a83fc6ef006bffbe578f9b7943d82637bf53"}},{"ruleId":"D1","level":"warning","message":{"text":"Noodles.world (cyclomatic 28): Noodles.world has cyclomatic complexity 28 (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":"renderer/noodles.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b1a34a1e38867e0a61688d98f7dcc59b5cada08aa35219d808f89eb9d0126b"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.feedKoi (cyclomatic 28): scenery.feedKoi has cyclomatic complexity 28 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 8 belong to 4 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":"renderer/scenery.js"},"region":{"startLine":6330}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ea5c5da7a587040a544c9931bf842843323dccd05830feb8a59399197b9785"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.activate (cyclomatic 28): library-panel.createLibraryPanel.activate has cyclomatic complexity 28 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0067b83c95c9dc6a86b6158f5f17ff825856e0b2fab39a5eb4d6171878cd1702"}},{"ruleId":"D1","level":"warning","message":{"text":"app.loadSettings (cyclomatic 28): app.loadSettings has cyclomatic complexity 28 (threshold 15). 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":"renderer/app.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1147cc878e61674255dda864e7013821045ca5a9571fad99ae0e5fcb10d997d6"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::place (cyclomatic 28): createEngine::place has cyclomatic complexity 28 (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":"renderer/engine.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70d74a724176184ca481fbb70d25bd996dfeee094a9ac3deb3b35f4f765a2db"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.activate (cyclomatic 28): createLibraryPanel.activate has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/library-panel.js"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da166df0d0af8f76f38c8203d21039d95ab6ae46cff4b2a2b19147ee1d73abb"}},{"ruleId":"D1","level":"warning","message":{"text":"osTop (cyclomatic 28): osTop has cyclomatic complexity 28 (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":"renderer/gameskins.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"de167d500a537f4d1470b763347387e1043465af610fbea79583187eba17289e"}},{"ruleId":"D1","level":"warning","message":{"text":"createWebcam.applyFx (cyclomatic 28): createWebcam.applyFx has cyclomatic complexity 28 (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":"renderer/visuals.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c55469cc6db8dd977e1dbfd4cb17fa0f703b90a26524cabbb7ed7c9533d916"}},{"ruleId":"D1","level":"warning","message":{"text":"createCodeView.step (cyclomatic 28): createCodeView.step has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to 5 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":"renderer/codeview.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b191c6b22258e9398bf92678c1db1bd512534cfe14d748830ae935f9e80e8f"}},{"ruleId":"D1","level":"warning","message":{"text":"createCodeView.highlight (cyclomatic 28): createCodeView.highlight has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/codeview.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fbdf9f2b763b1cf2abd9dcd5ec3f8f9ba27c1af5c89cb50e263819ef3059d5"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.drawGardenKoi::spot (cyclomatic 27): scenery.drawGardenKoi::spot has cyclomatic complexity 27 (threshold 15). 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. This shape REPEATS in the file: one other method here (scenery.drawGardenKoi) 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":"renderer/scenery.js"},"region":{"startLine":5005}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c8aad264b2550a5e6f0bf227595f00116ccefad321c73ecf9cfafe115a5bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::clock (cyclomatic 27): createEngine::clock has cyclomatic complexity 27 (threshold 15). 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":"renderer/engine.js"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5b6c149427b81b7a9198d6714dd473468479a6959d5e030663ab261bf2b39b"}},{"ruleId":"D1","level":"warning","message":{"text":"createPlayerBar (cyclomatic 27): createPlayerBar has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 458, 131, 145, \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":"renderer/player.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa991f155e5a5da86bfad69205933edfa2f3183f29f7c884d1b6f8b0ca63e19f"}},{"ruleId":"D1","level":"warning","message":{"text":"update.check (cyclomatic 26): update.check has cyclomatic complexity 26 (threshold 15). 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":"update.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9e6534ebd1e2c0d45d5e88b8b77c5104e3b52fd4e61957cb23c2467ed059af"}},{"ruleId":"D1","level":"warning","message":{"text":"gameskins.codeRows (cyclomatic 26): gameskins.codeRows has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 501). 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":"renderer/gameskins.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"073a65cb63f45194ca446407f46840dbcf45a13e9294efa06540d0dc642ceabb"}},{"ruleId":"D1","level":"warning","message":{"text":"fx.createTakeover.draw (cyclomatic 26): fx.createTakeover.draw has cyclomatic complexity 26 (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":"renderer/fx.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58fe87c69f3eced5e7b6d36bc347c6ac2d32261404af5cba78acdaf99a1f5c6"}},{"ruleId":"D1","level":"warning","message":{"text":"Noodles.touch (cyclomatic 26): Noodles.touch has cyclomatic complexity 26 (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":"renderer/noodles.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"196ca0f63d51d3fd4911929b1b247cf963a0a99fa367849cab4a76e720ecee53"}},{"ruleId":"D1","level":"warning","message":{"text":"library.spotifyRows (cyclomatic 26): library.spotifyRows has cyclomatic complexity 26 (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":"renderer/library.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"03eec82af0d68cb7020a859a6e17a165e953aa984c4e1cdbb06a4371d9b50574"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.update (cyclomatic 26): library-panel.createLibraryPanel.update has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"renderer/library-panel.js"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8588ec0ef1d56254074f8660fc066b1b27d6e3769292f7859f2c9bba764c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.update (cyclomatic 26): createLibraryPanel.update has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"renderer/library-panel.js"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be3d85d51218345f17704a4e86a42e182d7b81667cc77dabc3fdd7e46bc77c1"}},{"ruleId":"D1","level":"warning","message":{"text":"highwayTop (cyclomatic 26): highwayTop has cyclomatic complexity 26 (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":"renderer/gameskins.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e92332403339961c0fa2f45747b1ec0cf43fbbf0bf76419fcd7246728850cbd"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibrary.scanIn (cyclomatic 26): createLibrary.scanIn has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 326, (anonymous)::fail, a function literal at line 325, \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":"helpers/library.cjs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2d460fa7f5e0ad986d347889b1c2f7d6226a3d4bc9f3a557607e12edc07158"}},{"ruleId":"D1","level":"warning","message":{"text":"createTakeover.draw (cyclomatic 26): createTakeover.draw has cyclomatic complexity 26 (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":"renderer/fx.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdda49232bf05d68723c67595cc8f858ce8e92c97c2d8c7e7056b26fe16cd7f"}},{"ruleId":"D1","level":"warning","message":{"text":"library.createLibrary.scanIn (cyclomatic 25): library.createLibrary.scanIn has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 326, 323, 325). 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":"helpers/library.cjs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8703231f3ad74989cb8b6e070d102685685603d470b085a50d42b8f295143542"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify.createWebApi.control (cyclomatic 25): spotify.createWebApi.control has cyclomatic complexity 25 (threshold 15). 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":"helpers/spotify.cjs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e10863ff9cf80a7568f9887d208dc9a1a2fbd587528a0a76501fac95dfa5b8"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.drawGardenKoi (cyclomatic 25): scenery.drawGardenKoi has cyclomatic complexity 25 (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 (scenery.drawGardenKoi::spot) 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":"renderer/scenery.js"},"region":{"startLine":5002}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7267df98350b6ae55f7afcef6fefbfcd65326c7d3fcdcca5dc200e2e688e0b"}},{"ruleId":"D1","level":"warning","message":{"text":"firstrun.advanceHints (cyclomatic 25): firstrun.advanceHints has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"renderer/firstrun.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0c7e6b4ddb069557aa24a96fd9799110c52f63b78b6c462198146511fbd4f8"}},{"ruleId":"D1","level":"warning","message":{"text":"app.changeWindowMode (cyclomatic 25): app.changeWindowMode has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. 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":"renderer/app.js"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b3ac6a2af634f7cd2f5acf180e2cc9fd105f36c270751342faa937b93da559"}},{"ruleId":"D1","level":"warning","message":{"text":"exportSong (cyclomatic 25): exportSong has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to 4 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":"renderer/app.js"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca27f6b5d130b0e22b1ca18e3d9695f6c2ce1b4a0c9c9ae1987358167621c49c"}},{"ruleId":"D1","level":"warning","message":{"text":"createWebApi.control (cyclomatic 25): createWebApi.control has cyclomatic complexity 25 (threshold 15). 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":"helpers/spotify.cjs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e4ed94d64cd6f4e83700ec0e585fd3b5b4218979fc4f54ec344ed3432dde9e"}},{"ruleId":"D1","level":"warning","message":{"text":"glass.createGlass.drawCode (cyclomatic 24): glass.createGlass.drawCode has cyclomatic complexity 24 (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":"renderer/glass.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a6bde8ff969b5c2cb59cdc3009f43325527b0e26cfbd8d7a9e7de820e28ec0"}},{"ruleId":"D1","level":"warning","message":{"text":"worldlooks.blueNoise (cyclomatic 24): worldlooks.blueNoise has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (rows, tightest, loosest, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/worldlooks.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2034bf6a3f3fab8d1476b61ee282888a543838f0c8ac70883e26e5bf67ff1b"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.drawFlame (cyclomatic 24): scenery.drawFlame has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"renderer/scenery.js"},"region":{"startLine":5309}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0fc2ca0dc050fcb5eae9158f8978012ba9833d68fba4e057fb7782781a304b"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.stepSea (cyclomatic 24): scenery.stepSea has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/scenery.js"},"region":{"startLine":5953}}}],"partialFingerprints":{"codehealthFindingId/v1":"82afdcee0ae1ab94a53128be376a3afafef79bfc586c60ff3b5952b146fc4e78"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.searchSpotify (cyclomatic 24): library-panel.createLibraryPanel.searchSpotify has cyclomatic complexity 24 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d697d457a5187cf2e7bfd434acbf122e2dba7a02599e6257938c4374d52d60"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.paintBig (cyclomatic 24): library-panel.createLibraryPanel.paintBig has cyclomatic complexity 24 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"382879ee30975c046e40e622991160ac7b49e5c6351dd848d7685d2c012567ba"}},{"ruleId":"D1","level":"warning","message":{"text":"nowPlaying (cyclomatic 24): nowPlaying has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/app.js"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"122ec2f4001f1b59645402d10fa9fed0c01cc45b4c451467ece239722bacf5f9"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.searchSpotify (cyclomatic 24): createLibraryPanel.searchSpotify has cyclomatic complexity 24 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab234359c217a217cd24a7d4afc80caaa1f3ecb1a4a7a0ccfd91686b897f32b"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.paintBig (cyclomatic 24): createLibraryPanel.paintBig has cyclomatic complexity 24 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8763d758543abe7909de559a1af1bbfd61c9a290e9b0df0e7721d679aef819"}},{"ruleId":"D1","level":"warning","message":{"text":"readBass (cyclomatic 24): readBass has cyclomatic complexity 24 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 11 belong to 16 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/rebuild.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"11830d27665509b0488fb82c6fffbcbe86ed7df0255d9704445262b3cc02e84b"}},{"ruleId":"D1","level":"warning","message":{"text":"createGlass.drawCode (cyclomatic 24): createGlass.drawCode has cyclomatic complexity 24 (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":"renderer/glass.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db78e782b95dd1a52f02b57f44a23424ecf20de419ea2ea80c185c55c173ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"game.createGame.idle (cyclomatic 23): game.createGame.idle has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 belong to 2 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":"renderer/game.js"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c98a90925c5cdd00c16783213fd8fba89839942bfec4b947861e87d94adc0e"}},{"ruleId":"D1","level":"warning","message":{"text":"song-memory.createSongMemory.put (cyclomatic 23): song-memory.createSongMemory.put has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"renderer/song-memory.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4366c03f58af774f69129e3e2363f342a3851e8d2cd0343362835333a08533f"}},{"ruleId":"D1","level":"warning","message":{"text":"rebuild.render (cyclomatic 23): rebuild.render has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 2 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":"renderer/rebuild.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce15e2751d398fa5f287133fc55ba63cf8989d2aef0ed06aaee1943814eb1fc"}},{"ruleId":"D1","level":"warning","message":{"text":"createWorlds::paintWords (cyclomatic 23): createWorlds::paintWords has cyclomatic complexity 23 (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":"renderer/worlds.js"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"73190fd7951c1fdb8335692db13011bbd55a3bcfb419394569529619dc76b5eb"}},{"ruleId":"D1","level":"warning","message":{"text":"createGame.idle (cyclomatic 23): createGame.idle has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 belong to 2 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":"renderer/game.js"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6ddb95452379bee05949b6d831a4a14e10621ddb4c54b8210bb6d089db9b85"}},{"ruleId":"D1","level":"warning","message":{"text":"wraps (cyclomatic 23): wraps has cyclomatic complexity 23 (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":"renderer/codeview.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a7d5ce3afac3972fa116aef4c1cfd07f66d3390df8b2f6d109d6af84bf37c2"}},{"ruleId":"D1","level":"warning","message":{"text":"createCuts (cyclomatic 23): createCuts has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 344, 370, 367, \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":"renderer/cuts.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4566db203da7d137f49a2f5312ef60837d9b5bfa227f4c5e75ceb2f25d196009"}},{"ruleId":"D1","level":"warning","message":{"text":"createSongMemory.put (cyclomatic 23): createSongMemory.put has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 7 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":"renderer/song-memory.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b330206a0e5766a2744f54a176a027f660ffe47bc6b66d4e2beac21c2f70dac"}},{"ruleId":"D1","level":"warning","message":{"text":"visuals.glField (cyclomatic 22): visuals.glField has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 2 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":"renderer/visuals.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffeeb35fbb24c50afa900b70961a4107acae1859403726c04e891ae6c7cb07b"}},{"ruleId":"D1","level":"warning","message":{"text":"spaghetti.createSpaghetti.encode (cyclomatic 22): spaghetti.createSpaghetti.encode has cyclomatic complexity 22 (threshold 15). 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":"renderer/spaghetti.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c951df5170e5ba8911375c06f16a8e08fa41a8ce968fe337e8ab4b207d9f91"}},{"ruleId":"D1","level":"warning","message":{"text":"player.createPlayerBar.paintSpotify (cyclomatic 22): player.createPlayerBar.paintSpotify has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"renderer/player.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ea93e466395d46553c6b40d7ae018108f7dacdb6133ec060df4cc2cb436f70"}},{"ruleId":"D1","level":"warning","message":{"text":"cover-palette.extras (cyclomatic 22): cover-palette.extras has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 4 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":"renderer/cover-palette.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a74f18b918c437690b3622646ca13778c62d70ddf277a8e178cc88a162b307d"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.spHead (cyclomatic 22): library-panel.createLibraryPanel.spHead has cyclomatic complexity 22 (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":"renderer/library-panel.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"399eb732db3637440bc92d809b61c11e2314bf8deb1893077b0160e38e32f385"}},{"ruleId":"D1","level":"warning","message":{"text":"library-source.scanHandle::walk (cyclomatic 22): library-source.scanHandle::walk has cyclomatic complexity 22 (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":"renderer/library-source.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1e009f6da1fe6db971dfe112171731cffa02e776b038bba09ae068315221a0"}},{"ruleId":"D1","level":"warning","message":{"text":"app.eng.on.drop (cyclomatic 22): app.eng.on.drop has cyclomatic complexity 22 (threshold 15). 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":"renderer/app.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d9548ef9393ad096c93e120cdc081df50a0cdb00171e32c356d9e9cb310114"}},{"ruleId":"D1","level":"warning","message":{"text":"rebuild.bassPitch (cyclomatic 22): rebuild.bassPitch has cyclomatic complexity 22 (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":"renderer/rebuild.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"104c6ba74eba3cc76d716471d6a6eea853024bcbb63a98e64b2b56a840908443"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::newBeat (cyclomatic 22): createEngine::newBeat has cyclomatic complexity 22 (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":"renderer/engine.js"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"d802cc403692a3fb6499f9c92a957b6008baebd0d39a0fbc02efc76ccb086aa1"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.spHead (cyclomatic 22): createLibraryPanel.spHead has cyclomatic complexity 22 (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":"renderer/library-panel.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70741f3c5ab98eeea951940a03b3c6b65fb56fbf83da0034583615c390736d3"}},{"ruleId":"D1","level":"warning","message":{"text":"createSpaghetti.encode (cyclomatic 22): createSpaghetti.encode has cyclomatic complexity 22 (threshold 15). 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":"renderer/spaghetti.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e49980431ad684bc87009f3515f9b8323b611067f61fde50fad1c1798279a3"}},{"ruleId":"D1","level":"warning","message":{"text":"createPlayerBar.paintSpotify (cyclomatic 22): createPlayerBar.paintSpotify has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to 3 function literals 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":"renderer/player.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b77e306ff2b28937c5142c18a9d0ce9a169b9cee7d524ea2bab7c4f86ecca36"}},{"ruleId":"D1","level":"warning","message":{"text":"youtube.parseXml (cyclomatic 21): youtube.parseXml has cyclomatic complexity 21 (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":"helpers/youtube.cjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"912a093eddbfc5cdc51a6fce5625cb74ec79f7b4b1313f5cb8f27384dd4c2783"}},{"ruleId":"D1","level":"warning","message":{"text":"visuals.createPunchcard.sim (cyclomatic 21): visuals.createPunchcard.sim has cyclomatic complexity 21 (threshold 15). 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":"renderer/visuals.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"6304232f48cee082bb3ae0d94ccc25dd5a8b03ec0508bb2becdc4996767d1cce"}},{"ruleId":"D1","level":"warning","message":{"text":"cuts.createCuts.sim (cyclomatic 21): cuts.createCuts.sim has cyclomatic complexity 21 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 8 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":"renderer/cuts.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b3d8be400ce2c36c9321e3587c1a31ff091164c631604645039ed63047258f"}},{"ruleId":"D1","level":"warning","message":{"text":"palette.createPalette (cyclomatic 21): palette.createPalette has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 118, 103, 126). 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":"renderer/palette.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14ad7dcf9c6aff8b6618d2e4d9e53438455753fbbc829e59e47b1542dde3eb4"}},{"ruleId":"D1","level":"warning","message":{"text":"library-core.readScenes (cyclomatic 21): library-core.readScenes has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 belong to 2 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":"renderer/library-core.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4726dd87307e635a24454580901d30d444b29c86f95a6280a70d202b23f1252a"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::hhFinish (cyclomatic 21): createEngine::hhFinish has cyclomatic complexity 21 (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":"renderer/engine.js"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8c74126f3c480b5b213a87ca372d10102baf1bdd9977c2cfa57fc18827961f"}},{"ruleId":"D1","level":"warning","message":{"text":"createPunchcard (cyclomatic 21): createPunchcard has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 547, 580, 478). 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":"renderer/visuals.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b348f59b8262997514b9b6eb03ae9f3a416dbffc2bc52c4e217fc739fecad501"}},{"ruleId":"D1","level":"warning","message":{"text":"createSpectro.read (cyclomatic 21): createSpectro.read has cyclomatic complexity 21 (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":"renderer/spectro.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e02e2ab3f50cada5896119bb8c7789a0438d33a33aa3f6be2facb9fc5ebe67"}},{"ruleId":"D1","level":"warning","message":{"text":"createLanes.draw (cyclomatic 21): createLanes.draw has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to 2 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":"renderer/lanes.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aea26b00af54e96dabb675dab47ef893f759fa0cbbb7c96807ce77ef45cfb95"}},{"ruleId":"D1","level":"warning","message":{"text":"now-coding.html.wanted (cyclomatic 20): now-coding.html.wanted has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 3 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":"prototype/now-coding.html"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c54ec894f9f205f7468a55c85233d7044f4ea6e57544490afc6c06c46512739"}},{"ruleId":"D1","level":"warning","message":{"text":"codegen.bassParts (cyclomatic 20): codegen.bassParts has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to 4 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":"renderer/codegen.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab7685e7667350269c3e5f1e00306fd882c87c1e218772af5425918c5e08a1a"}},{"ruleId":"D1","level":"warning","message":{"text":"codeview.createCodeView.update (cyclomatic 20): codeview.createCodeView.update has cyclomatic complexity 20 (threshold 15). 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":"renderer/codeview.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a0cdaa866795cae1d588e5c90a6eaf1addf15cd882c801b0f7e79cdd373e1a"}},{"ruleId":"D1","level":"warning","message":{"text":"game.createPageTurner.\u003Creturned closure\u003E (cyclomatic 20): game.createPageTurner.\u003Creturned closure\u003E has cyclomatic complexity 20 (threshold 15). 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":"renderer/game.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a472890b40e63fe2b2cebb91eafea0087fd7f14de212985f333cc744dfa752d"}},{"ruleId":"D1","level":"warning","message":{"text":"Pasta.card (cyclomatic 20): Pasta.card has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/spaghetti.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54a0c175b3d2501ddcc258eb8e36af13810a058bffd3c0507cd55b1c16676ee"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.paintArt (cyclomatic 20): library-panel.createLibraryPanel.paintArt has cyclomatic complexity 20 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d6dbd41f79940aacda122ccfe86ace18f8be105e16119154d260ec8d344363"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::halfTime (cyclomatic 20): createEngine::halfTime has cyclomatic complexity 20 (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":"renderer/engine.js"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3deab737c3b5399370a4901f499f663d3dfce62b3ef04a57386e872a019e21"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::pumpCheck (cyclomatic 20): createEngine::pumpCheck has cyclomatic complexity 20 (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":"renderer/engine.js"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"699fa9a242188fd585803ad4dc4e63d1af0f12c206b09ce2e54ded909aa5d3a8"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.paintArt (cyclomatic 20): createLibraryPanel.paintArt has cyclomatic complexity 20 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a44ca8772ebe4253d1df3a41b1bf38b8f64895175ea8f3faffd946961d1ebae"}},{"ruleId":"D1","level":"warning","message":{"text":"createPageTurner (cyclomatic 20): createPageTurner has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 207, 211). 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":"renderer/game.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"21909a6c332c8e5e3c54e52f20e84b5f299351649f7867ea748aeb418e018e54"}},{"ruleId":"D1","level":"warning","message":{"text":"createCodeView.update (cyclomatic 20): createCodeView.update has cyclomatic complexity 20 (threshold 15). 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":"renderer/codeview.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9ba31122ab6dcaeb0f825bde11e447416fb42545f091c247cc01ac28d904fc"}},{"ruleId":"D1","level":"warning","message":{"text":"tuneFor (cyclomatic 20): tuneFor has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to 3 function literals 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":"renderer/tune.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad02988cea3b586dc87c6c68a2c43565332e7ff916c5f16f053d8670896d719"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify.createWebApi.playback (cyclomatic 19): spotify.createWebApi.playback has cyclomatic complexity 19 (threshold 15). 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":"helpers/spotify.cjs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdc47e4afcff897cd452f65db222316e5bc7a72e989dc3b626031cd87b5dabd"}},{"ruleId":"D1","level":"warning","message":{"text":"gameboot.paintIdle (cyclomatic 19): gameboot.paintIdle has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"renderer/gameboot.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7aec4ee2ff5e0a9e4deaeeee8ece86bc47fd0356c50e1a01a2511ec01e429e"}},{"ruleId":"D1","level":"warning","message":{"text":"gestures.read (cyclomatic 19): gestures.read has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"renderer/gestures.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca38f73088c57f8da4fd89b2dded59732287d4aa7172840d655af28a70cd7c"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.stirSea (cyclomatic 19): scenery.stirSea has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"renderer/scenery.js"},"region":{"startLine":6201}}}],"partialFingerprints":{"codehealthFindingId/v1":"09febd8fceebfe47b680a872f3e8e38565135b4a04f09796270e5d954a0d56aa"}},{"ruleId":"D1","level":"warning","message":{"text":"lanes.createLanes.draw (cyclomatic 19): lanes.createLanes.draw has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/lanes.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93beb2d89d0fa45720893952c3582dd05d105070b6c7834125f9f6b1b07b538"}},{"ruleId":"D1","level":"warning","message":{"text":"cuts.createCuts.draw (cyclomatic 19): cuts.createCuts.draw has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"renderer/cuts.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0af58cbb375280c408c7aa78f7acdf1ebea9a0d2f4e4607745a1bf87315c59"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.makeDemo.schedule (cyclomatic 19): demo.makeDemo.schedule 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":"renderer/demo.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"46edc70058d8dfbb534a4e07cf398c4a767bdf2a9579d7fea30c47f0e88e08f6"}},{"ruleId":"D1","level":"warning","message":{"text":"gl-pool.createGlPool (cyclomatic 19): gl-pool.createGlPool has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 4 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":"renderer/gl-pool.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0693277e9b1307f9c345d730edf4c621a657ca5d2b30415031ea4e3d07e45cc9"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.findKey (cyclomatic 19): library-panel.createLibraryPanel.findKey has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 5 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":"renderer/library-panel.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69a74a2cbe2ab7a8984be033f79ef6447a2e2104b1eb7396d5cda98de196100"}},{"ruleId":"D1","level":"warning","message":{"text":"app.renderGrid (cyclomatic 19): app.renderGrid 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":"renderer/app.js"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb42c6cee44050349f8f3a366a5515e8f8069fa7166deee2debf5b8962d434c"}},{"ruleId":"D1","level":"warning","message":{"text":"app.updateHints (cyclomatic 19): app.updateHints has cyclomatic complexity 19 (threshold 15). 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":"renderer/app.js"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd595fa67adaac3c7749b05d1111c4eaecaffbff38546f5de99e0b1b0e783318"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::wobbleCheck (cyclomatic 19): createEngine::wobbleCheck 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":"renderer/engine.js"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3648a4bc3a730a2422f5eafac6f70b2783c1e9ace417c2601b893315b1b169"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.findKey (cyclomatic 19): createLibraryPanel.findKey has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 8 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":"renderer/library-panel.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ce3b45fecffd2ec1c5d2f64ff3d347ba0b9217313c4a6d4385b4ffc22ad6c1"}},{"ruleId":"D1","level":"warning","message":{"text":"createLibraryPanel.finishInput (cyclomatic 19): createLibraryPanel.finishInput has cyclomatic complexity 19 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cc0dcd4ffe328780135ac5906325b7f255ecfb97347d4c2851fb68d4b134b3"}},{"ruleId":"D1","level":"warning","message":{"text":"failure (cyclomatic 19): failure has cyclomatic complexity 19 (threshold 15). 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":"helpers/spotify.cjs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8bf0f74f534b23099b529a784b0c79241c6e123926ad89df41cba7ce080794"}},{"ruleId":"D1","level":"warning","message":{"text":"createWebApi.playback (cyclomatic 19): createWebApi.playback has cyclomatic complexity 19 (threshold 15). 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":"helpers/spotify.cjs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6521ae6fd1219cb291a6a504b88f0d67d4f4adcbd7859cfb702eaa804bdbb9d"}},{"ruleId":"D1","level":"warning","message":{"text":"createChrome (cyclomatic 19): createChrome has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 337, 287, 288). 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":"renderer/chrome.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"097440839b2ac92fff9e56445ae7fc976fd8313f12347b937481f4720cab5739"}},{"ruleId":"D1","level":"warning","message":{"text":"createCuts.draw (cyclomatic 19): createCuts.draw has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to 2 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":"renderer/cuts.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f54c48dfc1935f8609686296b22b3837949a5ea79ee1eea54223c3111751155"}},{"ruleId":"D1","level":"warning","message":{"text":"makeDemo.schedule (cyclomatic 19): makeDemo.schedule 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":"renderer/demo.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"587d9e6acfc956c33f4a0f44b7a4d36859c1ca145ce7db6c6ffb389747230edf"}},{"ruleId":"D1","level":"warning","message":{"text":"gameskins.highwayBottom (cyclomatic 18): gameskins.highwayBottom has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 796). 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":"renderer/gameskins.js"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c8bb35c363bd3e9471f2b32f1a8b3f880318a595751d8d70fabbccf9c1548c"}},{"ruleId":"D1","level":"warning","message":{"text":"game.createGame.drawStance (cyclomatic 18): game.createGame.drawStance has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 3 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":"renderer/game.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"11666e2064842181c6969b50658115f8e42439c280166ebe2b9a6c6553516940"}},{"ruleId":"D1","level":"warning","message":{"text":"visuals.createWebcam.findEyes (cyclomatic 18): visuals.createWebcam.findEyes has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"renderer/visuals.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aab6dbce5d9fdd393b20f8e3b2813f4d51d2e193fbeef0a15d1c8fc1090e50f"}},{"ruleId":"D1","level":"warning","message":{"text":"glass.createGlass.runs::walk (cyclomatic 18): glass.createGlass.runs::walk has cyclomatic complexity 18 (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":"renderer/glass.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1d6ca1c11a02092b7e08c37567e323e1bdcbbf9921059807f79ed442cfff83"}},{"ruleId":"D1","level":"warning","message":{"text":"portal.createSwipes.update (cyclomatic 18): portal.createSwipes.update has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/portal.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1aabcf8a026b46990d6285c572298a3cb892c5a0d85d0118f64e1c16ae4d65"}},{"ruleId":"D1","level":"warning","message":{"text":"gestures.createGestures.update (cyclomatic 18): gestures.createGestures.update has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"renderer/gestures.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"277ccf84a449890aac793701f7b6d178dce8b7fd166e26aa9e2cbefbe9bc7768"}},{"ruleId":"D1","level":"warning","message":{"text":"chrome.createChrome.sim (cyclomatic 18): chrome.createChrome.sim has cyclomatic complexity 18 (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":"renderer/chrome.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb59933afdc35c66d36f340120ae90c59b1b74b7b9aad2bfe68eb1d9b6013ec2"}},{"ruleId":"D1","level":"warning","message":{"text":"Noodles.step (cyclomatic 18): Noodles.step has cyclomatic complexity 18 (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":"renderer/noodles.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"06adb338b7bef2bded918b8f0808b3fa1249e11f1de3e80bc94181d249713e27"}},{"ruleId":"D1","level":"warning","message":{"text":"spectro.createSpectro.read (cyclomatic 18): spectro.createSpectro.read has cyclomatic complexity 18 (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":"renderer/spectro.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e8caa5f440c74ab385e621db94708a8d57193c41f169b8997750394c8bc2a4"}},{"ruleId":"D1","level":"warning","message":{"text":"spectro.createSpectro.drawMarks (cyclomatic 18): spectro.createSpectro.drawMarks has cyclomatic complexity 18 (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":"renderer/spectro.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8c12b98d7b5f88245f038af8c7d05c45c0c9d5a8ce55c18b322aedfc11e612"}},{"ruleId":"D1","level":"warning","message":{"text":"wait.createWait.draw (cyclomatic 18): wait.createWait.draw has cyclomatic complexity 18 (threshold 15). 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":"renderer/wait.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a7fc6fbb15c3ed4a6cde738ae27ae86b613640c9dba0e25dc19b07c3f8a29d"}},{"ruleId":"D1","level":"warning","message":{"text":"cover-palette.cluster (cyclomatic 18): cover-palette.cluster has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"renderer/cover-palette.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc397f654feb6bd392b7d834ae7569b1e883aa0d831012f3345514b97856171"}},{"ruleId":"D1","level":"warning","message":{"text":"audio-tags.mp3Length (cyclomatic 18): audio-tags.mp3Length has cyclomatic complexity 18 (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":"renderer/audio-tags.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"78adf4db03fc7f811ade62357bf44f5f306e04a5e7dda193c65dba18e1f313b7"}},{"ruleId":"D1","level":"warning","message":{"text":"library.groupAlbums (cyclomatic 18): library.groupAlbums has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 77, a function literal at line 76, sortKey, \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":"renderer/library.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48de1e62a5d365b11d0b1aa15b929539e5bda41dc5a33f92b549ba2b056fd1c"}},{"ruleId":"D1","level":"warning","message":{"text":"library-panel.createLibraryPanel.finishInput (cyclomatic 18): library-panel.createLibraryPanel.finishInput has cyclomatic complexity 18 (threshold 15). 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":"renderer/library-panel.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61010ba291d3a5e16839f9a5945eeda4cf5977ced106ac1f7a85621befcc05c"}},{"ruleId":"D1","level":"warning","message":{"text":"app.aRound (cyclomatic 18): app.aRound has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 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":"renderer/app.js"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"262e15c815831f311e6ff2fb0d3091089624064d1e3dafd0fa7e232f55219f18"}},{"ruleId":"D1","level":"warning","message":{"text":"app.paletteEntries (cyclomatic 18): app.paletteEntries has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 2872, 2879, 2918, \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":"renderer/app.js"},"region":{"startLine":2851}}}],"partialFingerprints":{"codehealthFindingId/v1":"221b01b2f7f8e1cb275180376b4a57c39fdd32d054d1181f4e56d12576abe3bd"}},{"ruleId":"D1","level":"warning","message":{"text":"Ear.process (cyclomatic 18): Ear.process has cyclomatic complexity 18 (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":"renderer/ear-worklet.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"739f04568aa478794a82fe3fd87c857b68bdec010cfa31be438187a6c9d98dba"}},{"ruleId":"D1","level":"warning","message":{"text":"rebuild.findGrid (cyclomatic 18): rebuild.findGrid has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 4 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":"renderer/rebuild.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"548fd67df922c143ea7861337c68ac1fc73e9721bf721c1be7edc47ad9bfc19b"}},{"ruleId":"D1","level":"warning","message":{"text":"rebuild.readDrums (cyclomatic 18): rebuild.readDrums has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 185, 203, 214, \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":"renderer/rebuild.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e224ad8861f19d3d9bb52a6d8e8d4ba2085d75a87e072309039674cf069dc28"}},{"ruleId":"D1","level":"warning","message":{"text":"playQueue (cyclomatic 18): playQueue has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 2 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":"renderer/app.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"538bc2b89d21d4a38d312f39997d20a325ac2cdcd22f10d03261dbed6500798f"}},{"ruleId":"D1","level":"warning","message":{"text":"loadLooks (cyclomatic 18): loadLooks has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 6 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":"renderer/app.js"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03b923a0c708bf07decb1e36f65048d814b3f95dd52b35c690d57e79563c0db"}},{"ruleId":"D1","level":"warning","message":{"text":"createWorlds::shot (cyclomatic 18): createWorlds::shot has cyclomatic complexity 18 (threshold 15). 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":"renderer/worlds.js"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7a2654784471dbb7cfadf6e4c8e773034a3430961400e9032101144c328d67"}},{"ruleId":"D1","level":"warning","message":{"text":"createSwipes.update (cyclomatic 18): createSwipes.update has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 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":"renderer/portal.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"44711b063e08aa67345778c4762f11cede3414d4a17e1f9feb9ffc7e8b9710b5"}},{"ruleId":"D1","level":"warning","message":{"text":"createGame.drawStance (cyclomatic 18): createGame.drawStance has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 11 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":"renderer/game.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f8a2afae0eef1c66474fb8d5a8d5ce8ef96da0e6dacdee472930a5dcbd33ab"}},{"ruleId":"D1","level":"warning","message":{"text":"createGame.step (cyclomatic 18): createGame.step has cyclomatic complexity 18 (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":"renderer/game.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99c7d22ee28a8b999efeb1cee24ced33aab8975ded5fd0c2af0a78a3d8eec3d"}},{"ruleId":"D1","level":"warning","message":{"text":"createWebcam.findEyes (cyclomatic 18): createWebcam.findEyes has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"renderer/visuals.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c283c328350fde705c977dbfe4ff332b81e55f40ea1c57630e7398a31299e0"}},{"ruleId":"D1","level":"warning","message":{"text":"createSpectro.drawMarks (cyclomatic 18): createSpectro.drawMarks has cyclomatic complexity 18 (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":"renderer/spectro.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1fa25a9872e50a88041b9c40108736fe9c4e6f505f06eae93a17af785f72a5"}},{"ruleId":"D1","level":"warning","message":{"text":"createGlass.runs::walk (cyclomatic 18): createGlass.runs::walk has cyclomatic complexity 18 (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":"renderer/glass.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"653b61dc990fc8f377125628ec7846a94062b98f17a043987ea2e103c32dd99b"}},{"ruleId":"D1","level":"warning","message":{"text":"createCuts.partAt (cyclomatic 18): createCuts.partAt has cyclomatic complexity 18 (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":"renderer/cuts.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"990e14ee53819ca0910e78776a0d29d0db93fb050188e9c2ed6d98de32d19827"}},{"ruleId":"D1","level":"warning","message":{"text":"checkEnd (cyclomatic 18): checkEnd has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 157, plain, a function literal at line 161, \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":"helpers/take-store.cjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a648383c998a74a16a3646b0b3925b1a9c022e35afa5c193f093cc549b966a24"}},{"ruleId":"D1","level":"warning","message":{"text":"createWait.draw (cyclomatic 18): createWait.draw has cyclomatic complexity 18 (threshold 15). 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":"renderer/wait.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce9d884f516ce2795eb349f8a54b20b87850b30e5ddc482d394d9616d754a75"}},{"ruleId":"D1","level":"warning","message":{"text":"onmessage (cyclomatic 18): onmessage has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 6 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":"renderer/track-worker.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5af81dd0d7f9be32794e6ebc03605b22649736c57746befad6f979cfd202cc"}},{"ruleId":"D1","level":"warning","message":{"text":"createGestures.update (cyclomatic 18): createGestures.update has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 5 function literals 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":"renderer/gestures.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dc97ddd2ccc91ac00fee6c99e882fd31c5d30368ee121274562e8502aa96bc"}},{"ruleId":"D1","level":"warning","message":{"text":"library.walk (cyclomatic 17): library.walk has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 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":"helpers/library.cjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcfc7443db7f1887ac9e85c6b4a33e25e4e4a2ffd9a598b08ea4fdcc7dd381a"}},{"ruleId":"D1","level":"warning","message":{"text":"now-coding.html.makeDemo.schedule (cyclomatic 17): now-coding.html.makeDemo.schedule has cyclomatic complexity 17 (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":"prototype/now-coding.html"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"12804c1ca463ae5b70c0fc0eaa3946916499d653e32e10df648b4c414b68a934"}},{"ruleId":"D1","level":"warning","message":{"text":"codegen.strudelProgram (cyclomatic 17): codegen.strudelProgram has cyclomatic complexity 17 (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":"renderer/codegen.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fc715204fb6f009ea07ec4c1d97d884de73c5c6e91a606b1d512af2e6cf03d"}},{"ruleId":"D1","level":"warning","message":{"text":"codeview.createCodeView.render (cyclomatic 17): codeview.createCodeView.render has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (rawPiece, piece, a function literal at line 270). 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":"renderer/codeview.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01f8e7a7e3a1ef0722d289b9a8e522855879b7b4490998794d03eab665a9619"}},{"ruleId":"D1","level":"warning","message":{"text":"gameskins.lcdBottom (cyclomatic 17): gameskins.lcdBottom has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 296). 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":"renderer/gameskins.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b589374a33827eaffa0242bee505ac0bba07518c165a0451eebaf08357f0f89"}},{"ruleId":"D1","level":"warning","message":{"text":"game.createGame.step (cyclomatic 17): game.createGame.step has cyclomatic complexity 17 (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":"renderer/game.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e141f41501bcf208fdbcda0979f640a373aced63aeb49128ec61a4a67da4441"}},{"ruleId":"D1","level":"warning","message":{"text":"glass.createGlass.draw (cyclomatic 17): glass.createGlass.draw has cyclomatic complexity 17 (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":"renderer/glass.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ead5a02fee6a04d86cb4138d3e9f87d49b982d8cdfba20d043061fc986d102"}},{"ruleId":"D1","level":"warning","message":{"text":"collage.layout (cyclomatic 17): collage.layout has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 105, 110). 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":"renderer/collage.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdc74637824695cd543c9efef5e291738d8696c839567efef918d0569f5c490"}},{"ruleId":"D1","level":"warning","message":{"text":"spectro.createSpectro.makeColumn (cyclomatic 17): spectro.createSpectro.makeColumn has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/spectro.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d62a7264b584f00283e88bc2b1c81752d1b5e28037dd814f6004b6ddb8034c7"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.drawToast (cyclomatic 17): scenery.drawToast has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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":"renderer/scenery.js"},"region":{"startLine":5436}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c86635d96841f3ab3ae5de24210abc356a5a3ed4cc29f01813733e8037a2bf9"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.createScenery.build (cyclomatic 17): scenery.createScenery.build has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (program::ready, program::done, program::settled, \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":"renderer/scenery.js"},"region":{"startLine":6561}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d29b7a16931687807bb10afbebc9dd88d1045940bcf0da11d8c5b3d06c0e476"}},{"ruleId":"D1","level":"warning","message":{"text":"share-card.drawShareCard (cyclomatic 17): share-card.drawShareCard has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 3 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":"renderer/share-card.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"335e48c1a04d1676b0530868c32c3b953d1e7f542dcf5abf273433a5ec4caee6"}},{"ruleId":"D1","level":"warning","message":{"text":"take-replay.replay (cyclomatic 17): take-replay.replay has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (advance, a function literal at line 132). 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":"renderer/take-replay.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"601fe5ed170417913bb67e728962dc9e693b6ce323d4698c3c73f85594e82016"}},{"ruleId":"D1","level":"warning","message":{"text":"rebuild.readVoice (cyclomatic 17): rebuild.readVoice has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 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":"renderer/rebuild.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be3a85e9a3c8d71ebd02576c28c737eed86b4a4fa9e5a992a8edb6fb56015f5"}},{"ruleId":"D1","level":"warning","message":{"text":"createScenery.build (cyclomatic 17): createScenery.build has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 7 function items inside it that branch (program::ready, program::done, program::settled, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":6561}}}],"partialFingerprints":{"codehealthFindingId/v1":"5563871867ebca4a0a61cedad55f450aa0ab44a7cc090a7f1ec661ffeec23b57"}},{"ruleId":"D1","level":"warning","message":{"text":"tourEarth (cyclomatic 17): tourEarth has cyclomatic complexity 17 (threshold 15). 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":"renderer/app.js"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"de69e86bab511ae6db0306a9ed922e9abb3b385a607c6042a3270b459f6bace0"}},{"ruleId":"D1","level":"warning","message":{"text":"createPlayerBar.toggleMode (cyclomatic 17): createPlayerBar.toggleMode has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 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":"renderer/player.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"344d3712b4198331c54a4d4dfb7baa170f11be5e1af9cce802cf509eb0ef0f07"}},{"ruleId":"D1","level":"warning","message":{"text":"createCodeView.render (cyclomatic 17): createCodeView.render has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (rawPiece, piece, a function literal at line 270, \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":"renderer/codeview.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03057679930ace95d9436ac33067fbf18a55f858aeee495b8d7c8aea06849c8"}},{"ruleId":"D1","level":"warning","message":{"text":"createSpectro.makeColumn (cyclomatic 17): createSpectro.makeColumn has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/spectro.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a98adb913b75307a6989d282b6941840d7917deed7b299b03356fde68e8d62"}},{"ruleId":"D1","level":"warning","message":{"text":"createGlass.draw (cyclomatic 17): createGlass.draw has cyclomatic complexity 17 (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":"renderer/glass.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfafa5a331c99b90f68b30ce84fa03f54074804e668f852530feb76178bf3f30"}},{"ruleId":"D1","level":"warning","message":{"text":"createFire (cyclomatic 17): createFire has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 52). 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":"renderer/fire.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"869debd036097bfdca7c7f25a35709603e2ed13b92d8e932e0a679a953c4b250"}},{"ruleId":"D1","level":"warning","message":{"text":"createTracker.open (cyclomatic 17): createTracker.open has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 4 function items inside it that branch (onmessage, onerror, a function literal at line 36, \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":"renderer/tracking.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"74efc8e4e9753388c8bca7bba14a6af070853946dfb1231abf9e96fb4fd5fefa"}},{"ruleId":"D1","level":"warning","message":{"text":"mac-update.swapScript (cyclomatic 16): mac-update.swapScript has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"helpers/mac-update.cjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9e72fc5f5ef46e39f876339b5f9a6b71b819fe37c284a565bd6bc7548a83a8"}},{"ruleId":"D1","level":"warning","message":{"text":"spotify.parseLink (cyclomatic 16): spotify.parseLink 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/spotify.cjs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b744d08b3766a8274067db595cd0028d3956bf82c188b8ff4e2e9208b48a8731"}},{"ruleId":"D1","level":"warning","message":{"text":"codegen.calm (cyclomatic 16): codegen.calm has cyclomatic complexity 16 (threshold 15). 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":"renderer/codegen.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ec1d90a43d60086f8d5682822112b705a71417d069afd366d52e25dca65aa9"}},{"ruleId":"D1","level":"warning","message":{"text":"gameskins.danceBottom (cyclomatic 16): gameskins.danceBottom 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/gameskins.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c3fe00578866555f3a9554933a73370f143b4ec402ced38b05783e9732a3a1"}},{"ruleId":"D1","level":"warning","message":{"text":"tracking.createTracker.update (cyclomatic 16): tracking.createTracker.update has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function literals 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. This is NOT this file\u0027s highest cyclomatic complexity: tracking.createTracker.open (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/tracking.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"778031744e7d95bab1676a47c88b15990b8b911b011e26379ca9cb77b4c97025"}},{"ruleId":"D1","level":"warning","message":{"text":"portal.createPortal (cyclomatic 16): portal.createPortal has cyclomatic complexity 16 (threshold 15). 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":"renderer/portal.js"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5d0f1b0f6b8f6c574678eeab69ec9258e3016937dbec5db7ecf1ea37676b65"}},{"ruleId":"D1","level":"warning","message":{"text":"rings.createWheel.draw (cyclomatic 16): rings.createWheel.draw has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/rings.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ec3d064cc6314f5dd6ca1418192e7f3d1c6f7ac7c60c4ee4420116cc9abf83"}},{"ruleId":"D1","level":"warning","message":{"text":"Dancers.pick (cyclomatic 16): Dancers.pick 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 is NOT this file\u0027s highest cyclomatic complexity: Noodles.box (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/noodles.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"0748b7869ca53e4d164739ed01d94f1d1d3d95914c219ba50ce8a98e03c37a7d"}},{"ruleId":"D1","level":"warning","message":{"text":"Pasta.retire (cyclomatic 16): Pasta.retire has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/spaghetti.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3710c8e69617f4483ae30d8fa4a9a8190021369730a5afa658e0dd695104ebe1"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.drawTrout (cyclomatic 16): scenery.drawTrout 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":5277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da09eba1311ed6a593c589c2e52bcbdb391c0a9d6f11cbf2b8a621f9a12c50c"}},{"ruleId":"D1","level":"warning","message":{"text":"scenery.pixAtlas (cyclomatic 16): scenery.pixAtlas has cyclomatic complexity 16 (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":"renderer/scenery.js"},"region":{"startLine":5452}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd184d20f48caa7a00ca7abecbd67eabe84ff0bfe46cc81d4c1ff10b1c193f99"}},{"ruleId":"D1","level":"warning","message":{"text":"cuts.createCuts.partAt (cyclomatic 16): cuts.createCuts.partAt 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/cuts.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ec3a6340e46964a6610de1436711fa9365f7d4bce31f390113a9aa86a0c6f0"}},{"ruleId":"D1","level":"warning","message":{"text":"tape.barEvents (cyclomatic 16): tape.barEvents has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 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":"renderer/tape.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"736b818ca9eb0479f260379a57574b5b035c49f4146ed1943a5922ddceac1252"}},{"ruleId":"D1","level":"warning","message":{"text":"player.createPlayerBar.toggleMode (cyclomatic 16): player.createPlayerBar.toggleMode has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 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":"renderer/player.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41f87ffb36250039713b970b599d448c97acbfa2e44f6a3899c3b2014fd52f4"}},{"ruleId":"D1","level":"warning","message":{"text":"app.takeBegin (cyclomatic 16): app.takeBegin 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf3844164bc9b77102ee19339e09257147c9d0a79f03817b16116525849e05f"}},{"ruleId":"D1","level":"warning","message":{"text":"app.playingNow (cyclomatic 16): app.playingNow has cyclomatic complexity 16 (threshold 15). 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":"renderer/app.js"},"region":{"startLine":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2de5d090d29b3dc3a6c9f2ad0ab45fd9a0f1c30eb14edc0fbcec5a29e13df5"}},{"ruleId":"D1","level":"warning","message":{"text":"startRecording (cyclomatic 16): startRecording has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 9 function items inside it that branch (ondataavailable, a function literal at line 2047, (anonymous)::onstop, \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":"renderer/app.js"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c0de3cacfeba7a9e5312133296c1f62f832fac43ddce75fa7b92f287cbd7d8"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::kickFrame (cyclomatic 16): createEngine::kickFrame has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/engine.js"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"289118ed6d534f6467871253f33b24fded09224a70cb7a00eb7efb93b4960737"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::sectionBeat (cyclomatic 16): createEngine::sectionBeat has cyclomatic complexity 16 (threshold 15). 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":"renderer/engine.js"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54340da29fb1b0b75e498bd3cfb0975a1ac74879f5fad774a11a49c6da4f333"}},{"ruleId":"D1","level":"warning","message":{"text":"createEngine::lockTo (cyclomatic 16): createEngine::lockTo 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/engine.js"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19dfaca7be3f1cae6295d94d7f90844e671cc3e0a93ce15d4400599c64fcdf4"}},{"ruleId":"D1","level":"warning","message":{"text":"askPlayers (cyclomatic 16): askPlayers 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"437ac771cfc25036f9a9a0371f75f89efaf269a70435e93e15773dbcaf7d074a"}},{"ruleId":"D1","level":"warning","message":{"text":"createPost.uniforms (cyclomatic 16): createPost.uniforms has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/post.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d400f59222a14aa4ccd817a0870f9537032c604b189bf0676649b462290ac7b"}},{"ruleId":"D1","level":"warning","message":{"text":"rebuild (cyclomatic 16): rebuild has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to 2 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":"renderer/rebuild.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f36ffe7a6525b1553d00f878333b41c9f8e331b107c324f653cbefb5d46998"}},{"ruleId":"D1","level":"warning","message":{"text":"placeLead (cyclomatic 16): placeLead has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 3 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":"renderer/melody.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89dd9b2f3c8bc9aff549c5971ac83a30d3e829f4a8a2c6f98b80b75fcee7567"}},{"ruleId":"D1","level":"warning","message":{"text":"createWheel.draw (cyclomatic 16): createWheel.draw has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to 2 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":"renderer/rings.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dea7c574197b5836c025a08ab813dd3f28335f4f2ff3eefb5975d449712271"}},{"ruleId":"D1","level":"warning","message":{"text":"createTracker.update (cyclomatic 16): createTracker.update has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function literals 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":"renderer/tracking.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c274a284e45ff32520c6684cc11a027a2f3c4004c6b0cb6d4cd215473f21815"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.createEngine (cognitive 1354): engine.createEngine has cognitive complexity 1354 (threshold 15). Drivers by points: if/else 423 (680 pts), boolean chains 345, loops 153 (240 pts), ternaries 117 (186 pts) (nesting depth added 413). 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 (engine.createEngine::fit) 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":"renderer/engine.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"232c9093092ac2e5c697429f00725ae74db9a6915c8357479b373d1ad0df69d2"}},{"ruleId":"D2","level":"warning","message":{"text":"createScenery.draw (cognitive 280): createScenery.draw has cognitive complexity 280 (threshold 15). Drivers by points: if/else 82 (117 pts), ternaries 56 (74 pts), boolean chains 60, loops 6 (14 pts), other 9, error handling 3 (6 pts) (nesting depth added 64). Of this number, 267 points are the body\u0027s own statements and 13 belong to 12 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":"renderer/scenery.js"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"718b4ede4d0473934195e1801484a3de6fc5107a675e8c3cac1d3983d6bce87d"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::newBar (cognitive 259): createEngine::newBar has cognitive complexity 259 (threshold 15). Drivers by points: if/else 39 (110 pts), ternaries 18 (56 pts), loops 17 (50 pts), boolean chains 43 (nesting depth added 142). 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":"renderer/engine.js"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5c45c2b356aaf6ca9525b8937c1735b674ac0e1105c31abdc86e48f6aab964"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.createScenery.draw (cognitive 252): scenery.createScenery.draw has cognitive complexity 252 (threshold 15). Drivers by points: if/else 82 (117 pts), boolean chains 59, ternaries 43 (59 pts), loops 6 (14 pts), error handling 2 (3 pts) (nesting depth added 60). Of this number, 240 points are the body\u0027s own statements and 12 belong to 3 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":"renderer/scenery.js"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6d6f70c5410c0afcfc76eeacf310a530c7dc56e1e35891cdfe9ff4f5866459"}},{"ruleId":"D2","level":"warning","message":{"text":"createPortal.draw (cognitive 191): createPortal.draw has cognitive complexity 191 (threshold 15). Drivers by points: if/else 63 (93 pts), boolean chains 50, ternaries 19 (35 pts), loops 3 (10 pts), error handling 1 (2 pts), other 1 (nesting depth added 54). Of this number, 184 points are the body\u0027s own statements and 7 belong to 9 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":"renderer/portal.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"e043c66b8f6ab3cc47c2413313f6dae47c6d35bcfa479bc9c3df2c4df3274ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"portal.createPortal.draw (cognitive 174): portal.createPortal.draw has cognitive complexity 174 (threshold 15). Drivers by points: if/else 63 (93 pts), boolean chains 47, ternaries 14 (22 pts), loops 3 (10 pts), error handling 1 (2 pts) (nesting depth added 46). Of this number, 167 points are the body\u0027s own statements and 7 belong to 4 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":"renderer/portal.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0bae26beba09135b89fa6b28cf8c19ae3c566ba7cc928447b8cfddb590ac4f"}},{"ruleId":"D2","level":"warning","message":{"text":"createField.draw (cognitive 147): createField.draw has cognitive complexity 147 (threshold 15). Drivers by points: if/else 23 (61 pts), loops 16 (43 pts), ternaries 9 (33 pts), boolean chains 10 (nesting depth added 89). Of this number, 130 points are the body\u0027s own statements and 17 belong to 3 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":"renderer/visuals.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d188f2399cde6a355348c90926a1167b57d4d41e0a9729d9245e0afc1a4aa7a"}},{"ruleId":"D2","level":"warning","message":{"text":"pathLine1 (cognitive 143): pathLine1 has cognitive complexity 143 (threshold 15). Drivers by points: loops 25 (63 pts), if/else 20 (54 pts), ternaries 5 (16 pts), boolean chains 10 (nesting depth added 83). Of this number, 135 points are the body\u0027s own statements and 8 belong to 4 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":"renderer/melody.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af8393d068a23ee80ed6f045d94a3aa0668ab6eef9b46819bdf4ce597d9c8d4"}},{"ruleId":"D2","level":"warning","message":{"text":"createLens.draw (cognitive 140): createLens.draw has cognitive complexity 140 (threshold 15). Drivers by points: if/else 50 (79 pts), boolean chains 33, ternaries 13 (20 pts), loops 3 (6 pts), error handling 1 (2 pts) (nesting depth added 40). Of this number, 126 points are the body\u0027s own statements and 14 belong to 21 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":"renderer/lens.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e83d42589423953f0653dd3c5be9f8f6e74f9838d7e682112658da9e2f5f2ad"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.drawBoat (cognitive 137): scenery.drawBoat has cognitive complexity 137 (threshold 15). Drivers by points: ternaries 13 (64 pts), if/else 24 (40 pts), loops 11 (22 pts), boolean chains 11 (nesting depth added 78). Of this number, 134 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e42bdae4789aba740964ca81d34678182417e6b13b99a3685cfd6d733f7546f"}},{"ruleId":"D2","level":"warning","message":{"text":"lens.createLens.draw (cognitive 130): lens.createLens.draw has cognitive complexity 130 (threshold 15). Drivers by points: if/else 50 (79 pts), boolean chains 31, ternaries 8 (12 pts), loops 3 (6 pts), error handling 1 (2 pts) (nesting depth added 37). Of this number, 117 points are the body\u0027s own statements and 13 belong to 4 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":"renderer/lens.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d794dcc0d45c1a0dcba026965a72c953757e5697485e74480017d54dcb4e10"}},{"ruleId":"D2","level":"warning","message":{"text":"worlds.createWorlds (cognitive 128): worlds.createWorlds has cognitive complexity 128 (threshold 15). Drivers by points: if/else 90 (121 pts), boolean chains 70, ternaries 30 (40 pts), loops 18 (25 pts), error handling 4 (7 pts) (nesting depth added 51). 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":"renderer/worlds.js"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc531fe87e9413604061ba57483713d9e1e4f0663c2bf79059685d62a949d0db"}},{"ruleId":"D2","level":"warning","message":{"text":"setUpIpc (cognitive 127): setUpIpc has cognitive complexity 127 (threshold 15). Drivers by points: if/else 51 (59 pts), boolean chains 33, error handling 13 (17 pts), ternaries 10 (14 pts), loops 3 (4 pts) (nesting depth added 17). Most of this is not in the body itself: 2 of the 127 points are its own statements and the rest belongs to 103 function items inside it that branch (a function literal at line 598, a function literal at line 624, a function literal at line 771, \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":"main.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d19a956caf12160708c4fe918ba9e1d9f77bca3b39b19033140f49da70e966"}},{"ruleId":"D2","level":"warning","message":{"text":"visuals.createField.draw (cognitive 120): visuals.createField.draw has cognitive complexity 120 (threshold 15). Drivers by points: if/else 23 (61 pts), loops 16 (43 pts), boolean chains 10, ternaries 2 (6 pts) (nesting depth added 69). Of this number, 112 points are the body\u0027s own statements and 8 belong to 2 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":"renderer/visuals.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"351f9b8fd85893e6d7ffd35d3b302fb8be271e1125d0bd919f76738c469bf01d"}},{"ruleId":"D2","level":"warning","message":{"text":"createScenery (cognitive 114): createScenery has cognitive complexity 114 (threshold 15). Drivers by points: if/else 33 (63 pts), boolean chains 22, ternaries 8 (18 pts), loops 4 (7 pts), other 4 (nesting depth added 43). None of this is in the body itself: all 114 points belong to 4 function literals inside it that branch (lines 6771, 6556, 6557, \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":"renderer/scenery.js"},"region":{"startLine":6506}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff1775573b826690467058448e059aa2ef45cb9aceecbf9b0a95ba25fcfe88c"}},{"ruleId":"D2","level":"warning","message":{"text":"pixFor (cognitive 113): pixFor has cognitive complexity 113 (threshold 15). Drivers by points: ternaries 21 (59 pts), if/else 21 (30 pts), boolean chains 13, loops 5 (11 pts) (nesting depth added 53). Of this number, 110 points are the body\u0027s own statements and 3 belong to 7 function items inside it that branch. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":5485}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c587d1a87958230b8e619ade5e60ee2fa0bac546b0a46933dd85d362fa5d34"}},{"ruleId":"D2","level":"warning","message":{"text":"createWorlds::draw (cognitive 108): createWorlds::draw has cognitive complexity 108 (threshold 15). Drivers by points: if/else 30 (43 pts), boolean chains 33, ternaries 19 (24 pts), error handling 2 (4 pts), loops 2 (4 pts) (nesting depth added 22). 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":"renderer/worlds.js"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58e4b00d7be9fca75c761d1fa1981b07ebaf9dc759e7e08faab4674b1faf769"}},{"ruleId":"D2","level":"warning","message":{"text":"dance (cognitive 107): dance has cognitive complexity 107 (threshold 15). Drivers by points: ternaries 34 (41 pts), if/else 19 (31 pts), boolean chains 20, loops 8 (15 pts) (nesting depth added 26). Of this number, 103 points are the body\u0027s own statements and 4 belong to 3 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":"renderer/noodles.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5fb7b4b9382c0c37e8ae71f4cd11f760f31d6566b36bbadcc23f6efc811f7e"}},{"ruleId":"D2","level":"warning","message":{"text":"swimSharks (cognitive 106): swimSharks has cognitive complexity 106 (threshold 15). Drivers by points: ternaries 17 (41 pts), if/else 14 (35 pts), boolean chains 18, loops 5 (11 pts), other 1 (nesting depth added 51). 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":"renderer/scenery.js"},"region":{"startLine":6079}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dbafb5bbdf73c5c74033a29bcae4c082bde318f8ce6db9a8a5250d39de1db7"}},{"ruleId":"D2","level":"warning","message":{"text":"swimFish (cognitive 105): swimFish has cognitive complexity 105 (threshold 15). Drivers by points: if/else 21 (58 pts), ternaries 7 (22 pts), loops 6 (15 pts), boolean chains 10 (nesting depth added 61). 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":"renderer/scenery.js"},"region":{"startLine":5991}}}],"partialFingerprints":{"codehealthFindingId/v1":"231cbe3428e3b3c866c3ab4d681bcd5a5897405c379ed90a7e98f792ef9b7e07"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.createScenery.sim (cognitive 101): scenery.createScenery.sim has cognitive complexity 101 (threshold 15). Drivers by points: if/else 33 (63 pts), boolean chains 21, ternaries 4 (10 pts), loops 4 (7 pts) (nesting depth added 39). 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":"renderer/scenery.js"},"region":{"startLine":6771}}}],"partialFingerprints":{"codehealthFindingId/v1":"da68f11ef7fdab990e3c0dbc128eeab1ab29787371b89b436b7e0e713f19f9ce"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::tempoUpdate (cognitive 98): createEngine::tempoUpdate has cognitive complexity 98 (threshold 15). Drivers by points: boolean chains 36, if/else 25 (34 pts), ternaries 12 (27 pts), other 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":"renderer/engine.js"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d5563c7198c0f987d58d6a98c4ea2a21ef5d950ad743b6278a48fad8807be0"}},{"ruleId":"D2","level":"warning","message":{"text":"drawFrame (cognitive 96): drawFrame has cognitive complexity 96 (threshold 15). Drivers by points: if/else 41 (51 pts), ternaries 14 (30 pts), boolean chains 15 (nesting depth added 26). Of this number, 88 points are the body\u0027s own statements and 8 belong to 6 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":"renderer/app.js"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4d07d0a338eafa35ea5f1fabdd56d25e3ae246e105f7f95918f5ec8d02afad"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::updatePhase (cognitive 96): createEngine::updatePhase has cognitive complexity 96 (threshold 15). Drivers by points: if/else 25 (44 pts), boolean chains 22, ternaries 11 (19 pts), loops 8 (10 pts), other 1 (nesting depth added 29). 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":"renderer/engine.js"},"region":{"startLine":2998}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6348de480fbf48f2a0354afaa3ba13b81f6d7c9d39e64cdf21bd4bd8592d282"}},{"ruleId":"D2","level":"warning","message":{"text":"createDominoes.step (cognitive 92): createDominoes.step has cognitive complexity 92 (threshold 15). Drivers by points: if/else 21 (57 pts), boolean chains 12, loops 5 (12 pts), ternaries 3 (11 pts) (nesting depth added 51). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/dominoes.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80a4a67583ee675db08b95609929425d515325d321b7886e011714ded11e9ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Dancers.update (cognitive 88): Dancers.update has cognitive complexity 88 (threshold 15). Drivers by points: if/else 20 (41 pts), ternaries 7 (20 pts), loops 8 (15 pts), boolean chains 12 (nesting depth added 41). Of this number, 84 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/noodles.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6ecc8c3634ec82054019c928718ab4e7456c7d47d2f4bef04f113e254cf74d"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.drawLighthouse (cognitive 88): scenery.drawLighthouse has cognitive complexity 88 (threshold 15). Drivers by points: ternaries 19 (68 pts), loops 11 (15 pts), boolean chains 5 (nesting depth added 53). Of this number, 86 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":5119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0e73592fa3401bdee6e34c220fe09acd9ee4f6eaf18d3176e947cdf80b7b42"}},{"ruleId":"D2","level":"warning","message":{"text":"dominoes.createDominoes.step (cognitive 84): dominoes.createDominoes.step has cognitive complexity 84 (threshold 15). Drivers by points: if/else 21 (57 pts), boolean chains 12, loops 5 (12 pts), ternaries 1 (3 pts) (nesting depth added 45). 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":"renderer/dominoes.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1dbdb1ec37e731182472194cb92a5cd28118bc66ea7f812eb17463497efce5"}},{"ruleId":"D2","level":"warning","message":{"text":"riffNotes (cognitive 83): riffNotes has cognitive complexity 83 (threshold 15). Drivers by points: if/else 16 (36 pts), boolean chains 18, loops 8 (18 pts), ternaries 4 (11 pts) (nesting depth added 37). Of this number, 81 points are the body\u0027s own statements and 2 belong to 5 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":"renderer/codegen.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f43d0f392bec47b72bf73371278b0a5e5e3418957bf0d70ba3aceeda3ea9b18"}},{"ruleId":"D2","level":"warning","message":{"text":"createTakeRender.render (cognitive 78): createTakeRender.render has cognitive complexity 78 (threshold 15). Drivers by points: if/else 25 (30 pts), boolean chains 21, loops 7 (10 pts), error handling 6 (7 pts), other 5, ternaries 5 (nesting depth added 9). Of this number, 52 points are the body\u0027s own statements and 26 belong to 23 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cad96b380ffaa3e0e701193ea6432fc5a1e37105f5dd613a1aa088ec111de86"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::frame (cognitive 75): createEngine::frame has cognitive complexity 75 (threshold 15). Drivers by points: if/else 24 (30 pts), loops 13 (17 pts), boolean chains 15, ternaries 6 (10 pts), other 3 (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":"renderer/engine.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5050a394147a2aa4de1fc0117d54c7f4ec7d2f8abbfa2514b49767a52ca1dde2"}},{"ruleId":"D2","level":"warning","message":{"text":"take-render.createTakeRender.render (cognitive 74): take-render.createTakeRender.render has cognitive complexity 74 (threshold 15). Drivers by points: if/else 25 (30 pts), boolean chains 21, loops 7 (10 pts), error handling 6 (9 pts), ternaries 4 (nesting depth added 11). Of this number, 49 points are the body\u0027s own statements and 25 belong to 13 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d39945abfc21600bd34b762dacbd1a6a6997e6ac813b0e85155c0109b6d92a6"}},{"ruleId":"D2","level":"warning","message":{"text":"createGame.drawBottom (cognitive 74): createGame.drawBottom has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 15 (38 pts), if/else 13 (25 pts), boolean chains 7, loops 3 (4 pts) (nesting depth added 36). 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":"renderer/game.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a21bc2bcb095f46017e4e5310c7141dc5562d85113edea87fc577ea1c53143"}},{"ruleId":"D2","level":"warning","message":{"text":"createDominoes.draw (cognitive 72): createDominoes.draw has cognitive complexity 72 (threshold 15). Drivers by points: ternaries 8 (32 pts), if/else 8 (20 pts), loops 7 (13 pts), boolean chains 7 (nesting depth added 42). Of this number, 71 points are the body\u0027s own statements and 1 belongs to 5 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":"renderer/dominoes.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec44c5fd76759e623b7287f3ced920337a563bda699fa81f23429fb85473d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"paint (cognitive 71): paint has cognitive complexity 71 (threshold 15). Drivers by points: if/else 20 (37 pts), ternaries 9 (20 pts), boolean chains 7, loops 3 (7 pts) (nesting depth added 32). Of this number, 54 points are the body\u0027s own statements and 17 belong to 4 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":"renderer/gameboot.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81019be5604ac5e719df84bfce0a55f8c61d11cc64abdc97110242a080e0fd6"}},{"ruleId":"D2","level":"warning","message":{"text":"onmessage (cognitive 71): onmessage has cognitive complexity 71 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 11 (23 pts), boolean chains 11, ternaries 7 (8 pts), error handling 4 (5 pts) (nesting depth added 26). Of this number, 70 points are the body\u0027s own statements and 1 belongs to 4 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":"renderer/stems-worker.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0976d477eacf4454eccd1b5b969a4dd1cf11df87b4a8b2ac8996ccfe98d0279"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel (cognitive 70): createLibraryPanel has cognitive complexity 70 (threshold 15). Drivers by points: if/else 42 (49 pts), boolean chains 8, ternaries 4 (6 pts), loops 3 (5 pts), error handling 1 (2 pts) (nesting depth added 12). Most of this is not in the body itself: 5 of the 70 points are its own statements and the rest belongs to 21 function items inside it that branch (a function literal at line 1377, a function literal at line 1363, a function literal at line 1370, \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":"renderer/library-panel.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d031015d01941c9324083e726d996a627ce39398506b1d572476e2a201b59c7"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.onKey (cognitive 70): createLibraryPanel.onKey has cognitive complexity 70 (threshold 15). Drivers by points: if/else 29 (33 pts), boolean chains 19, ternaries 9 (18 pts) (nesting depth added 13). Of this number, 48 points are the body\u0027s own statements and 22 belong to 10 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":"renderer/library-panel.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"177342a0f6e25e2d604ca7e4ddfae30e2812d23eca29fac1d3b5eefe50a4a0f9"}},{"ruleId":"D2","level":"warning","message":{"text":"createWebApi.list (cognitive 69): createWebApi.list has cognitive complexity 69 (threshold 15). Drivers by points: boolean chains 32, if/else 13 (23 pts), ternaries 5 (11 pts), other 3 (nesting depth added 16). Of this number, 64 points are the body\u0027s own statements and 5 belong to 9 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":"helpers/spotify.cjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a3be7501f009a2a7fba5f34455c2f60f7784e88fefe90b1e5cc3c9a23d796c"}},{"ruleId":"D2","level":"warning","message":{"text":"timingHypotheses (cognitive 68): timingHypotheses has cognitive complexity 68 (threshold 15). Drivers by points: if/else 8 (29 pts), loops 8 (21 pts), boolean chains 9, ternaries 4 (9 pts) (nesting depth added 39). Of this number, 58 points are the body\u0027s own statements and 10 belong to 14 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":"renderer/engine.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1a68a5335eabef0233172c8e644e5cfb83bba602fc61a5046e09c8f461ecc6"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.drawMoon (cognitive 67): scenery.drawMoon has cognitive complexity 67 (threshold 15). Drivers by points: ternaries 7 (26 pts), if/else 8 (20 pts), loops 10 (19 pts), boolean chains 2 (nesting depth added 40). Of this number, 66 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":5047}}}],"partialFingerprints":{"codehealthFindingId/v1":"46698ba6482629da045069f58c14825f10b83f005a08c13df07ea1993f6083e7"}},{"ruleId":"D2","level":"warning","message":{"text":"advance (cognitive 66): advance has cognitive complexity 66 (threshold 15). Drivers by points: if/else 17 (30 pts), ternaries 8 (15 pts), loops 6 (12 pts), boolean chains 8, other 1 (nesting depth added 26). Of this number, 64 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/spaghetti.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb675afa46b44c6cc270b3f5ca00fb4d0bfa33007fd28ca9acf4d15360e1ee"}},{"ruleId":"D2","level":"warning","message":{"text":"game.createGame.drawShell (cognitive 65): game.createGame.drawShell has cognitive complexity 65 (threshold 15). Drivers by points: if/else 20 (30 pts), ternaries 8 (20 pts), loops 3 (9 pts), boolean chains 6 (nesting depth added 28). Of this number, 63 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/game.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ec1db622cfb056b8774f49cffa412f47be1f0e4bf30341b56b844274f045a4"}},{"ruleId":"D2","level":"warning","message":{"text":"createOrb (cognitive 65): createOrb has cognitive complexity 65 (threshold 15). Drivers by points: if/else 17 (31 pts), ternaries 8 (14 pts), loops 6 (10 pts), boolean chains 8, other 2 (nesting depth added 24). None of this is in the body itself: all 65 points belong to 5 function items inside it that branch (a function literal at line 585, (anonymous)::fire, a function literal at line 526, \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":"renderer/orb.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1025f4f3523f89133492bc3f8218442740851b81547185cbe3dcdd611e0542"}},{"ruleId":"D2","level":"warning","message":{"text":"segcam.createSegcam.draw (cognitive 64): segcam.createSegcam.draw has cognitive complexity 64 (threshold 15). Drivers by points: if/else 16 (33 pts), ternaries 6 (13 pts), boolean chains 10, loops 4 (8 pts) (nesting depth added 28). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/segcam.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc696d159a0bb3b2e1c6516b30668f91e4b55161793475f9a91ea2920903247"}},{"ruleId":"D2","level":"warning","message":{"text":"createSegcam.draw (cognitive 64): createSegcam.draw has cognitive complexity 64 (threshold 15). Drivers by points: if/else 16 (33 pts), ternaries 7 (13 pts), boolean chains 10, loops 4 (8 pts) (nesting depth added 27). Of this number, 62 points are the body\u0027s own statements and 2 belong to 14 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":"renderer/segcam.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc41c4409a3bf683ff69b8bd894799f20974ff117842563c3dab246c7379110"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify.createWebApi.list (cognitive 63): spotify.createWebApi.list has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 34, if/else 13 (23 pts), ternaries 3 (6 pts) (nesting depth added 13). Of this number, 58 points are the body\u0027s own statements and 5 belong to 3 function literals 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":"helpers/spotify.cjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"400389711b7358a36cbc09320c91ef6212534b590c4090d71318aa764d43b9e3"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.onKey (cognitive 63): library-panel.createLibraryPanel.onKey has cognitive complexity 63 (threshold 15). Drivers by points: if/else 29 (33 pts), boolean chains 19, ternaries 5 (11 pts) (nesting depth added 10). Of this number, 49 points are the body\u0027s own statements and 14 belong to 7 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd56886f5752c4db39d6f5b180e495d0b50d52db3625b12f7d2d09ea94f8db7"}},{"ruleId":"D2","level":"warning","message":{"text":"visuals.createWebcam.applyFx (cognitive 62): visuals.createWebcam.applyFx has cognitive complexity 62 (threshold 15). Drivers by points: loops 11 (38 pts), if/else 8 (16 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 36). 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":"renderer/visuals.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4819000e698c1a8c0dec465f90a5f820dd4f2d0f1b0c52a9780f6d3aa1c9c42"}},{"ruleId":"D2","level":"warning","message":{"text":"createPunchcard.queue (cognitive 62): createPunchcard.queue has cognitive complexity 62 (threshold 15). Drivers by points: if/else 9 (26 pts), ternaries 5 (13 pts), boolean chains 12, loops 5 (11 pts) (nesting depth added 31). Of this number, 61 points are the body\u0027s own statements and 1 belongs to 3 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":"renderer/visuals.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce650b97b28e58b0fa6a2c43cdf655055991e36336a4f4665d392bfb3015b23"}},{"ruleId":"D2","level":"warning","message":{"text":"createWebcam.applyFx (cognitive 62): createWebcam.applyFx has cognitive complexity 62 (threshold 15). Drivers by points: loops 11 (38 pts), if/else 8 (16 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 36). 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":"renderer/visuals.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c44454a8769387a0ff95c5c14e41136cc750346e8678591a50cdfd602d79e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"card.createCard.draw (cognitive 61): card.createCard.draw has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (26 pts), ternaries 14 (18 pts), boolean chains 13, loops 3 (4 pts) (nesting depth added 13). Of this number, 59 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"renderer/card.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9d43bc4dc053623363ef6f735befed2a4c9abf97fe7ab255a6aa184c1487d0"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.spRow (cognitive 61): library-panel.createLibraryPanel.spRow has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 21 (44 pts), if/else 13, boolean chains 4 (nesting depth added 23). 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":"renderer/library-panel.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"c272affaf367196e5ad45d49bd4b2d744a78bbe9754130416e30ffaf6c9c74bd"}},{"ruleId":"D2","level":"warning","message":{"text":"createGame.drawShell (cognitive 61): createGame.drawShell has cognitive complexity 61 (threshold 15). Drivers by points: if/else 20 (30 pts), ternaries 9 (16 pts), loops 3 (9 pts), boolean chains 6 (nesting depth added 23). Of this number, 59 points are the body\u0027s own statements and 2 belong to 3 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":"renderer/game.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"17712b5ec5b757c2b032b0aa0f53908317b01fc799e0317f67a8bf570f31dd8e"}},{"ruleId":"D2","level":"warning","message":{"text":"compactFromExact (cognitive 61): compactFromExact has cognitive complexity 61 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 8 (23 pts), loops 6 (9 pts), boolean chains 4 (nesting depth added 29). Of this number, 30 points are the body\u0027s own statements and 31 belong to 10 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":"renderer/tape.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ed5b2bbd3cbb7a731b58e160b5afa878291dc2f6ca77ff127911a1478345ff"}},{"ruleId":"D2","level":"warning","message":{"text":"createCard.draw (cognitive 61): createCard.draw has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (26 pts), ternaries 15 (17 pts), boolean chains 14, loops 3 (4 pts) (nesting depth added 11). Of this number, 59 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/card.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"8763f8f5479a5287fe8a5a44c05bc9158ff3709aa6a75fda50cff1eab84b12d4"}},{"ruleId":"D2","level":"warning","message":{"text":"createGame.draw (cognitive 60): createGame.draw has cognitive complexity 60 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 15, ternaries 9 (14 pts), loops 4 (6 pts) (nesting depth added 15). Of this number, 39 points are the body\u0027s own statements and 21 belong to 3 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":"renderer/game.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"89aaf76b292e6ed83b0d26b2cd0622401856701b8a43c032c7af9dee1fd5ca92"}},{"ruleId":"D2","level":"warning","message":{"text":"createStorm.draw (cognitive 59): createStorm.draw has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (30 pts), ternaries 11 (13 pts), loops 4 (9 pts), boolean chains 7 (nesting depth added 20). 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":"renderer/storm.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5280e59aa84a93329f47c5d3882cee0d20689a5dd9843c2d4e4fa5852a9af28a"}},{"ruleId":"D2","level":"warning","message":{"text":"game.createGame.draw (cognitive 58): game.createGame.draw has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 15, ternaries 7 (12 pts), loops 4 (6 pts) (nesting depth added 15). Of this number, 38 points are the body\u0027s own statements and 20 belong to 3 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":"renderer/game.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3ff1e484c4b7a8065717602281f5841babc505394806ebce825c9c79297f2f"}},{"ruleId":"D2","level":"warning","message":{"text":"tape.createTape (cognitive 58): tape.createTape has cognitive complexity 58 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 15, loops 8 (10 pts), ternaries 4 (7 pts) (nesting depth added 13). Of this number, 55 points are the body\u0027s own statements and 3 belong to 3 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":"renderer/tape.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"96983d8c6d6576f2ef408dfad749027b03fe8c307d44419e11e5e46fb90e76d8"}},{"ruleId":"D2","level":"warning","message":{"text":"coverGlyphs (cognitive 58): coverGlyphs has cognitive complexity 58 (threshold 15). Drivers by points: loops 11 (21 pts), if/else 10 (18 pts), ternaries 4 (12 pts), boolean chains 7 (nesting depth added 26). Of this number, 53 points are the body\u0027s own statements and 5 belong to 7 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":"renderer/library.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49ea899c21fcbae14897bd48b151a680ce767dc78c521195ebc7a55d722148c"}},{"ruleId":"D2","level":"warning","message":{"text":"buildLines (cognitive 58): buildLines has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 23 (28 pts), boolean chains 13, if/else 10 (13 pts), loops 2 (3 pts), other 1 (nesting depth added 9). Of this number, 50 points are the body\u0027s own statements and 8 belong to 12 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/codegen.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"534fcf87e97fd6c83352556c280a27f78981e5984e352d7cbfee56dfaa2e7ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"createVoxCam.draw (cognitive 58): createVoxCam.draw has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 11, loops 6 (9 pts), ternaries 4 (8 pts), error handling 2 (4 pts) (nesting depth added 20). 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":"renderer/voxcam.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cfc1abc92798cc53f8a86fa89a9c84c2a65de321b00ce3ea303efa153408a2"}},{"ruleId":"D2","level":"warning","message":{"text":"storm.createStorm.draw (cognitive 57): storm.createStorm.draw has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (30 pts), ternaries 8 (11 pts), loops 4 (9 pts), boolean chains 7 (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":"renderer/storm.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"679ba184dffd476a9d9ff5a5928fdfffc4b9cccf39dcbb2155c4405ce35c6e76"}},{"ruleId":"D2","level":"warning","message":{"text":"stepPond (cognitive 57): stepPond has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 11 (25 pts), if/else 5 (13 pts), boolean chains 11, loops 4 (8 pts) (nesting depth added 26). 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":"renderer/scenery.js"},"region":{"startLine":6410}}}],"partialFingerprints":{"codehealthFindingId/v1":"290cb052d1c6c4da554eb6f4ee732094c6483228cd55709778e5b38cd2f1a6e5"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.spRow (cognitive 57): createLibraryPanel.spRow has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 21 (40 pts), if/else 13, boolean chains 4 (nesting depth added 19). 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":"renderer/library-panel.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa64f91926839613ed9dfda6ce7de047e97bc7c7e1ebd9b772501ec81d03cc5e"}},{"ruleId":"D2","level":"warning","message":{"text":"now-coding.html.renderField (cognitive 56): now-coding.html.renderField has cognitive complexity 56 (threshold 15). Drivers by points: loops 10 (25 pts), if/else 10 (21 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 30). Of this number, 48 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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":"prototype/now-coding.html"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7818a4d6a8908e33a8ea3c3837f8d55050f8e23c0967c81818a0b64b15da66"}},{"ruleId":"D2","level":"warning","message":{"text":"orb.createOrb.sim (cognitive 56): orb.createOrb.sim has cognitive complexity 56 (threshold 15). Drivers by points: if/else 17 (31 pts), loops 5 (9 pts), boolean chains 8, ternaries 4 (8 pts) (nesting depth added 22). Of this number, 46 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. 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":"renderer/orb.js"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edeb37f75fee43a2631bea7650f1ab0c07ac8dfc1e56208711eef040918c4a0"}},{"ruleId":"D2","level":"warning","message":{"text":"createGame.drawTop (cognitive 56): createGame.drawTop has cognitive complexity 56 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 11 (22 pts), boolean chains 6, loops 5 (6 pts) (nesting depth added 23). 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":"renderer/game.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"554beef58fdbe9e055af27855cbc3088d1697297b43cab8bc9ceeabb4ab32e35"}},{"ruleId":"D2","level":"warning","message":{"text":"visuals.createPunchcard.queue (cognitive 55): visuals.createPunchcard.queue has cognitive complexity 55 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 11, loops 5 (11 pts), ternaries 3 (7 pts) (nesting depth added 27). Of this number, 54 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/visuals.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfb8ca4358600545d6a7665d03e5fa6fd01d98c367bcaa762ffd817ff2d4e98"}},{"ruleId":"D2","level":"warning","message":{"text":"voxcam.createVoxCam.draw (cognitive 55): voxcam.createVoxCam.draw has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 11, loops 6 (9 pts), ternaries 3 (5 pts), error handling 2 (4 pts) (nesting depth added 18). 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":"renderer/voxcam.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff6fa80e83578548007f8ee92ca74ac9ee9cd65e3baabe85861bb47c1a9fec5"}},{"ruleId":"D2","level":"warning","message":{"text":"layout (cognitive 55): layout has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 8 (15 pts), loops 8 (14 pts), match/switch 2 (3 pts), boolean chains 2, other 1 (nesting depth added 26). Of this number, 38 points are the body\u0027s own statements and 17 belong to 11 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":"renderer/noodles.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1e73a2c51d64ec54e8083c120f4743aaca7b97bd4ab308e0b87cc57d1967dd"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::fluxUpdate (cognitive 54): createEngine::fluxUpdate has cognitive complexity 54 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 12, loops 3 (5 pts), ternaries 4 (5 pts) (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":"renderer/engine.js"},"region":{"startLine":2892}}}],"partialFingerprints":{"codehealthFindingId/v1":"2777765b0ed57cccb0586667377308bd697ae891b52375c76ac3db3b39ae9c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"createPlayerBar.update (cognitive 53): createPlayerBar.update has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 20 (26 pts), boolean chains 15, if/else 8 (11 pts), loops 1 (nesting depth added 9). Of this number, 49 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/player.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b763455253a433218e5331194f5cdf9a9b96b8c74afc2385c4de9b839ffa5ea"}},{"ruleId":"D2","level":"warning","message":{"text":"now-coding.html.drumParts (cognitive 52): now-coding.html.drumParts has cognitive complexity 52 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 6 (16 pts), loops 6 (11 pts), boolean chains 4 (nesting depth added 24). Of this number, 41 points are the body\u0027s own statements and 11 belong to 5 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":"prototype/now-coding.html"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a306d854c88964dd02f0793ba0027ef9d1e2440a2f6ecf7e71e7add801bb24d"}},{"ruleId":"D2","level":"warning","message":{"text":"game.createGame.model (cognitive 52): game.createGame.model has cognitive complexity 52 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 16, ternaries 7 (11 pts), loops 5 (6 pts) (nesting depth added 15). 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":"renderer/game.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d825b84501033ea331bbaf0a21b4f8cfff99d2f1458a65125519acb3b5a443d"}},{"ruleId":"D2","level":"warning","message":{"text":"createGame.model (cognitive 52): createGame.model has cognitive complexity 52 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 15, ternaries 8 (12 pts), loops 5 (6 pts) (nesting depth added 15). 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":"renderer/game.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d2aa49a348b30de0798b2f8df65f330ac947a802ef131cb2073d65887262a5"}},{"ruleId":"D2","level":"warning","message":{"text":"id3Frames (cognitive 51): id3Frames has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 7 (17 pts), boolean chains 11, loops 1 (nesting depth added 20). Of this number, 46 points are the body\u0027s own statements and 5 belong to 2 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":"renderer/audio-tags.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b00f1847a7de1a62fb42e76a34b9c9af59605ffbf5296ac6dad6dca30ec897"}},{"ruleId":"D2","level":"warning","message":{"text":"createClock (cognitive 51): createClock has cognitive complexity 51 (threshold 15). Drivers by points: if/else 26 (30 pts), boolean chains 8, ternaries 6, loops 3 (5 pts), error handling 1 (2 pts) (nesting depth added 7). None of this is in the body itself: all 51 points belong to 31 function items inside it that branch (fire, follow, live, \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":"renderer/clock.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a57100eb2e6ba1b9214962010e8c054e8e94f5cb689a9eb4160980aa87ffc98"}},{"ruleId":"D2","level":"warning","message":{"text":"audio-tags.mp4 (cognitive 50): audio-tags.mp4 has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (29 pts), ternaries 4 (11 pts), boolean chains 8, loops 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":"renderer/audio-tags.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1659a7568182fe6efd28dbc6a8368d8690ef85c735f9db37d1766f82e049c4e2"}},{"ruleId":"D2","level":"warning","message":{"text":"stepParts (cognitive 50): stepParts has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 6 (11 pts), ternaries 4 (11 pts), boolean chains 5, other 2 (nesting depth added 21). Of this number, 37 points are the body\u0027s own statements and 13 belong to 11 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":"renderer/codegen.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4408aa2e638c3c3087c0bddd4656fb63d9b93b7c388bf29842857ae49f8a273e"}},{"ruleId":"D2","level":"warning","message":{"text":"dominoes.createDominoes.draw (cognitive 49): dominoes.createDominoes.draw has cognitive complexity 49 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 7 (13 pts), boolean chains 8, ternaries 2 (8 pts) (nesting depth added 24). Of this number, 46 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"renderer/dominoes.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e83ec155e93b74a9c15432a5118f7b6d8488b9897407bd10e21172e210985a"}},{"ruleId":"D2","level":"warning","message":{"text":"Noodles.touch (cognitive 49): Noodles.touch has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 6 (9 pts), ternaries 2 (8 pts), boolean chains 7 (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":"renderer/noodles.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9f19d4f9f66944188c133f67790260b5a24e63bcb528db8eb5d8daca051b27"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::harmonyBar (cognitive 49): createEngine::harmonyBar has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (24 pts), ternaries 8 (10 pts), boolean chains 8, loops 5 (7 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":"renderer/engine.js"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0bf31c0f6b18d163dc94374599bdf8a202d7694742fc53fd8eef47545413a0"}},{"ruleId":"D2","level":"warning","message":{"text":"lcdTop (cognitive 49): lcdTop has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 10 (17 pts), if/else 10 (15 pts), loops 8 (11 pts), boolean chains 5, other 1 (nesting depth added 15). 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":"renderer/gameskins.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b217608b8a04640d84331a97651d3277b1d414e4af2124de7466deaf85f47f"}},{"ruleId":"D2","level":"warning","message":{"text":"world (cognitive 49): world has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 5 (16 pts), boolean chains 5, loops 2 (4 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":"renderer/noodles.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e485b7896411a0726fec8bbd19c38a7a66a9b0acf20f232cea2eeb722f022735"}},{"ruleId":"D2","level":"warning","message":{"text":"createTape::song (cognitive 49): createTape::song has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 11, loops 8 (10 pts), ternaries 4 (8 pts), other 1 (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":"renderer/tape.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7a8dd43fb7ce6c6d00f5739a9c164103cdbdb8f926ae84742f2ea6c154e5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::estimateTempo (cognitive 48): createEngine::estimateTempo has cognitive complexity 48 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 8 (11 pts), boolean chains 10, ternaries 8 (9 pts) (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":"renderer/engine.js"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e531b0e09c8c0845f4c9fb8a2777414cc8421e2b5935b0d07a7b891fd2b56e28"}},{"ruleId":"D2","level":"warning","message":{"text":"createPost.draw (cognitive 48): createPost.draw has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (25 pts), ternaries 8 (10 pts), boolean chains 9, loops 1 (3 pts), other 1 (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":"renderer/post.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"3566cc754a7412a916b85d641fbedb4dc9207cc89881116d7a43e9f9a42040d3"}},{"ruleId":"D2","level":"warning","message":{"text":"post.createPost.draw (cognitive 47): post.createPost.draw has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (25 pts), ternaries 8 (10 pts), boolean chains 9, loops 1 (3 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":"renderer/post.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca6a4d33c93b8df627e66b909a1ca10f02fce2bc09dcae828b2ff9c76c4c2cb"}},{"ruleId":"D2","level":"warning","message":{"text":"vfdTop (cognitive 47): vfdTop has cognitive complexity 47 (threshold 15). Drivers by points: ternaries 14 (28 pts), if/else 5 (8 pts), loops 6 (8 pts), boolean chains 2, other 1 (nesting depth added 19). 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":"renderer/gameskins.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e714d1902ee24fbfecf2c3d7a30bfff0546f753784e05db1db70071c583e466"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.drawGardenKoi (cognitive 46): scenery.drawGardenKoi has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 11 (34 pts), boolean chains 15, loops 8 (10 pts), if/else 5 (9 pts) (nesting depth added 29). 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: one other method here (scenery.drawGardenKoi::spot) 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":"renderer/scenery.js"},"region":{"startLine":5002}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f8af1056d9db9f212f84651fd64ebf2c0b498323ca8c84fc423b605d4b88d9"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::lead (cognitive 46): createEngine::lead has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 14, loops 4 (5 pts), ternaries 3 (4 pts) (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":"renderer/engine.js"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cba59c6f983933e318c0c250fa167f13f29708223026eb26d8a4719107edf2"}},{"ruleId":"D2","level":"warning","message":{"text":"parseXml (cognitive 46): parseXml has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (35 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 2 (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":"helpers/youtube.cjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"933eb165bd669c5a83098e25939ccadb14f44f5cc20fd9aa35c2e94dc0e1d2d3"}},{"ruleId":"D2","level":"warning","message":{"text":"glass.createGlass.runs::walk (cognitive 45): glass.createGlass.runs::walk has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (33 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 28). 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":"renderer/glass.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"51dbeccd5f3ffb06594d1a48ba0b75f1a07d35416d52b5875acfbdf0124eb3a2"}},{"ruleId":"D2","level":"warning","message":{"text":"danceTop (cognitive 45): danceTop has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 16 (28 pts), if/else 4 (6 pts), boolean chains 5, loops 5, other 1 (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":"renderer/gameskins.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669a65a087a8751613249089bc9974507017823e575441a86d680d9f4409f32"}},{"ruleId":"D2","level":"warning","message":{"text":"createGlass.runs::walk (cognitive 45): createGlass.runs::walk has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (33 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 28). 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":"renderer/glass.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"e509a5c525344782971ba560d517d5a40f109121e104b289055072fb8a152481"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::fluxTempo (cognitive 44): createEngine::fluxTempo has cognitive complexity 44 (threshold 15). Drivers by points: loops 14 (20 pts), if/else 7 (11 pts), boolean chains 6, ternaries 5 (6 pts), other 1 (nesting depth added 11). 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":"renderer/engine.js"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f198ecb079e206943b19c7cce3e7d751205d9077d927ab9d24a436b297b550"}},{"ruleId":"D2","level":"warning","message":{"text":"placeBass (cognitive 44): placeBass has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 13, loops 7 (11 pts), ternaries 2 (4 pts), other 1 (nesting depth added 13). Of this number, 23 points are the body\u0027s own statements and 21 belong to 5 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":"renderer/melody.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1775d8ad963a120375f0891619239ff97d2e527b32813c03e73be4b970b8dafd"}},{"ruleId":"D2","level":"warning","message":{"text":"id3 (cognitive 44): id3 has cognitive complexity 44 (threshold 15). Drivers by points: boolean chains 18, if/else 9 (15 pts), ternaries 5 (10 pts), loops 1 (nesting depth added 11). Of this number, 42 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/embedded-cover.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b937b6750cc4cb78f3280ce8c4b8cfb4608374f8201aab5897b2793deafaf2"}},{"ruleId":"D2","level":"warning","message":{"text":"dotcam.createDotCam.draw (cognitive 43): dotcam.createDotCam.draw has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 11, error handling 2 (4 pts), loops 3 (4 pts), ternaries 3 (nesting depth added 9). 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":"renderer/dotcam.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04b39a7643c4104444d2088e32d3013f9e4d427ff95ee55a22c100fcb5e1468"}},{"ruleId":"D2","level":"warning","message":{"text":"drawFlame (cognitive 43): drawFlame has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 5 (16 pts), if/else 5 (13 pts), loops 5 (9 pts), boolean chains 5 (nesting depth added 23). Of this number, 42 points are the body\u0027s own statements and 1 belongs to 5 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":"renderer/scenery.js"},"region":{"startLine":5309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7748b786cb5974f521a690466cdfa46199889399009d54e0140b140c1f5b4144"}},{"ruleId":"D2","level":"warning","message":{"text":"createPunchcard.draw (cognitive 43): createPunchcard.draw has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 10, ternaries 6 (10 pts), loops 1, other 1 (nesting depth added 12). Of this number, 37 points are the body\u0027s own statements and 6 belong to 2 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":"renderer/visuals.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16fb162805ecff1d2e3042e41af70e929a2adf2b50d695fe1ca10afa03eaca0"}},{"ruleId":"D2","level":"warning","message":{"text":"createDotCam.draw (cognitive 43): createDotCam.draw has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 11, error handling 2 (4 pts), loops 3 (4 pts), ternaries 3 (nesting depth added 9). 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":"renderer/dotcam.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c12cffdd6878b61071f647922045b54c48ca0565e1f219d6589ca94a1afdc34"}},{"ruleId":"D2","level":"warning","message":{"text":"game.createGame.drawTop (cognitive 42): game.createGame.drawTop has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 4 (8 pts), boolean chains 6, loops 5 (6 pts) (nesting depth added 16). 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":"renderer/game.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"405564dc7adc0290bb4495b3a9072c64bcca9809b792cc6f30edf4ed34828251"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.feedKoi (cognitive 42): scenery.feedKoi has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 6 (10 pts), ternaries 4 (7 pts), boolean chains 6 (nesting depth added 16). Of this number, 29 points are the body\u0027s own statements and 13 belong to 4 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":"renderer/scenery.js"},"region":{"startLine":6330}}}],"partialFingerprints":{"codehealthFindingId/v1":"919d9afb9f03dada4451594f21ed81f015e7ae0a969c03bf7a723057aadcfbd8"}},{"ruleId":"D2","level":"warning","message":{"text":"player.createPlayerBar.update (cognitive 42): player.createPlayerBar.update has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 14, if/else 8 (11 pts), loops 1 (nesting depth added 6). Of this number, 38 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/player.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf9ae8774b172edf48cbd6b5a7c791ab6bbabc990c6c18372b7f4e0f0f7dd48"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.update (cognitive 42): createLibraryPanel.update has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 7, ternaries 2 (7 pts) (nesting depth added 17). Of this number, 32 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. 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":"renderer/library-panel.js"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"878f3f89e709c6762beb79c9ea912a993c05259964017d8245a74f89180a8625"}},{"ruleId":"D2","level":"warning","message":{"text":"osTop (cognitive 42): osTop has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 10 (16 pts), loops 6, boolean chains 2, other 1 (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":"renderer/gameskins.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"602ce37f64a9d3835d4ec5bbede74c500b9b24e9a17b2410825f6eaadf375500"}},{"ruleId":"D2","level":"warning","message":{"text":"codeview.createCodeView.step (cognitive 41): codeview.createCodeView.step has cognitive complexity 41 (threshold 15). Drivers by points: if/else 25 (38 pts), boolean chains 3 (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":"renderer/codeview.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ac151611df28dc6ee795d1e28d9841e2caff39c085ec6f74bb35eac6006fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"game.createGame.drawBottom (cognitive 41): game.createGame.drawBottom has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 8, loops 3 (4 pts), ternaries 4 (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":"renderer/game.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2d92847fc29e67b3e62666a46c0270df06d6c918b9c1854df68b7711d317fe"}},{"ruleId":"D2","level":"warning","message":{"text":"visuals.createPunchcard.draw (cognitive 41): visuals.createPunchcard.draw has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 10, ternaries 5 (9 pts), loops 1 (nesting depth added 12). Of this number, 35 points are the body\u0027s own statements and 6 belong to 2 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":"renderer/visuals.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbb678eafbe6f2962ddbf61ae48ca7d47cb8f8c02bca4c20aac2e690745dffe"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.drawTrout (cognitive 41): scenery.drawTrout has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 6 (27 pts), if/else 2 (6 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 27). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":5277}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee0b7279bd78260e758ff15724f41155d6b6ffc877d2c781934a36d4d631df0"}},{"ruleId":"D2","level":"warning","message":{"text":"cover-palette.cluster (cognitive 41): cover-palette.cluster has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 8 (17 pts), ternaries 1 (2 pts) (nesting depth added 24). Of this number, 36 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"renderer/cover-palette.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa19ca365379b18c43dbf8a582080e87a1e9684f681861f4a08619aef41f7fcb"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::pitch (cognitive 41): createEngine::pitch has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 9 (12 pts), boolean chains 7, ternaries 3 (5 pts) (nesting depth added 11). 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":"renderer/engine.js"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"7280fc0da7af6036f3808324c7900a5c35cfb665c0e5d94b5fe335b4ec18fe9b"}},{"ruleId":"D2","level":"warning","message":{"text":"createCodeView.step (cognitive 41): createCodeView.step has cognitive complexity 41 (threshold 15). Drivers by points: if/else 25 (38 pts), boolean chains 3 (nesting depth added 13). Of this number, 40 points are the body\u0027s own statements and 1 belongs to 5 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":"renderer/codeview.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdea93ce436eb8700ec86e46764b3b43f61cbe3181c198bd1223cfa0af21ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuild.program (cognitive 40): rebuild.program has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 8 (13 pts), if/else 9 (12 pts), loops 9 (11 pts), boolean chains 4 (nesting depth added 10). Of this number, 16 points are the body\u0027s own statements and 24 belong to 5 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":"renderer/rebuild.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbea76cca946b2826545c5750fe0367feff541f19e9f51ce69f5e68c6acc138c"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::sameLearned (cognitive 40): createEngine::sameLearned has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 10, loops 4 (5 pts), other 5 (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":"renderer/engine.js"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca1e2fd5b23776d3f509002b7c8b66ac751dd109ce5538711b9ec4feddaade9"}},{"ruleId":"D2","level":"warning","message":{"text":"highwayTop (cognitive 40): highwayTop has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 11 (19 pts), loops 9 (14 pts), if/else 3 (5 pts), boolean chains 1, other 1 (nesting depth added 15). 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":"renderer/gameskins.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae5c8dfe06ed25d4f80e5527ca4d97c9ff6707fc9ba84c8eac1532dec4fff6e"}},{"ruleId":"D2","level":"warning","message":{"text":"createWebApi.play (cognitive 40): createWebApi.play has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 14, ternaries 2 (3 pts), error handling 1 (2 pts), other 1 (nesting depth added 10). Of this number, 37 points are the body\u0027s own statements and 3 belong to 3 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":"helpers/spotify.cjs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"100a33fee569b0bf02531c1b7bb499d1ba466097991f4b0adfe1bc925316d757"}},{"ruleId":"D2","level":"warning","message":{"text":"createEarth.draw (cognitive 40): createEarth.draw has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 11, ternaries 10, other 3, error handling 1 (2 pts) (nesting depth added 4). Of this number, 37 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/earth.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52fe5a1fc8f562d0b49856c8fc4457eb9992b7af055cc22587096371c3baae4"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.createEventLedger (cognitive 39): engine.createEventLedger has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 14, loops 4 (5 pts) (nesting depth added 6). Of this number, 38 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/engine.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9e82dc6d3b2972f65262cd9361bf41c4d0d318987a4a33da08da4a2c73d388"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.update (cognitive 38): library-panel.createLibraryPanel.update has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 7, ternaries 1 (3 pts) (nesting depth added 14). Of this number, 32 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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":"renderer/library-panel.js"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7ae66e43dec6330dbfc771128b3f530a62ab2ca24a7bd5483bf02087c66972"}},{"ruleId":"D2","level":"warning","message":{"text":"library-source.scanHandle::walk (cognitive 38): library-source.scanHandle::walk has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 5, ternaries 1 (4 pts), error handling 2 (3 pts), loops 2 (nesting depth added 18). 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":"renderer/library-source.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60765d654a09932a683ab1c81848ebabfac27dc05fad4448d04e5571a4a316a"}},{"ruleId":"D2","level":"warning","message":{"text":"earth.createEarth.draw (cognitive 37): earth.createEarth.draw has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 10 (12 pts), boolean chains 11 (nesting depth added 5). Of this number, 34 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/earth.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2fea21e0be6ed1e45fc64805c36c314bf24596ff63f078399d2deafd1ea3c6"}},{"ruleId":"D2","level":"warning","message":{"text":"exportSong (cognitive 37): exportSong has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 10 (13 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 13). Of this number, 36 points are the body\u0027s own statements and 1 belongs to 4 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":"renderer/app.js"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc899219a3d049550cff76bc4c1c613d7ab08d8d74efbf5e93a7c19066c9876"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::place (cognitive 37): createEngine::place has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 8, loops 2 (6 pts), ternaries 1 (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":"renderer/engine.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa51482dd433564bd8347307392a0c987e125b4061509267644124227272205"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::hhFinish (cognitive 37): createEngine::hhFinish has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (7 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 18). 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":"renderer/engine.js"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee66b716bee8d9f37917ce50fd03ead5255331a9984f79cb21e6a37638bda0b"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.spArtSrc (cognitive 37): createLibraryPanel.spArtSrc has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 25, ternaries 6 (9 pts), if/else 3 (nesting depth added 3). 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":"renderer/library-panel.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe03d3eec968861224fe5cf2bfdb96c25d53cdda94130e0fe59d1c0665fcf97"}},{"ruleId":"D2","level":"warning","message":{"text":"bassPitch (cognitive 37): bassPitch has cognitive complexity 37 (threshold 15). Drivers by points: loops 14 (23 pts), if/else 4 (9 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 16). 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":"renderer/rebuild.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e907460d33fa6350acfefbb50f5a4b23f096cb8185c0858eae71a72ac0b72002"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibrary.scanIn (cognitive 37): createLibrary.scanIn has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 3 (6 pts), ternaries 3 (6 pts), error handling 2 (3 pts), boolean chains 2, other 1 (nesting depth added 13). None of this is in the body itself: all 37 points belong to 6 function items inside it that branch (a function literal at line 326, a function literal at line 325, (anonymous)::fail, \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":"helpers/library.cjs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5fcad78c6ccd2614d97464733912ca7c4e5d28e8e2ef48c64d3ac7021608f8"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify.createWebApi.play (cognitive 36): spotify.createWebApi.play has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 14, error handling 1 (2 pts) (nesting depth added 9). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"helpers/spotify.cjs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2864f81a0c5358a87efa98bd62abac3933b43814f5e7e2b97687f65b4fe5822d"}},{"ruleId":"D2","level":"warning","message":{"text":"createOrb.draw (cognitive 36): createOrb.draw has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 8 (11 pts), boolean chains 7, error handling 1 (2 pts), loops 1 (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":"renderer/orb.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbea5a77a2579bb98c79678e4960a4c9a5eda75123305f188a724a15603363be"}},{"ruleId":"D2","level":"warning","message":{"text":"worldlooks.blueNoise (cognitive 35): worldlooks.blueNoise has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 13 (15 pts), boolean chains 2 (nesting depth added 12). Most of this is not in the body itself: 12 of the 35 points are its own statements and the rest belongs to 4 function items inside it that branch (rows, tightest, loosest, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/worldlooks.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a88b4b571ed8350adfbc8359518038578587542f564606793ec73415a9401f"}},{"ruleId":"D2","level":"warning","message":{"text":"createBackrooms.draw (cognitive 35): createBackrooms.draw has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 10, ternaries 6, error handling 1 (2 pts), other 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/backrooms.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"811c888d48975d29c165a436e1fd711c93090c79bc6c56829df443f2c8b543e5"}},{"ruleId":"D2","level":"warning","message":{"text":"makeDemo.schedule (cognitive 35): makeDemo.schedule has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 5, ternaries 1 (4 pts), loops 1 (nesting depth added 18). 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":"renderer/demo.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e0d098135815d292608abdde1a08dcd3b4968c629a28b4223fe49409b47d73"}},{"ruleId":"D2","level":"warning","message":{"text":"library.coverSize (cognitive 34): library.coverSize has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 7, loops 1 (2 pts) (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":"helpers/library.cjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"916acc9b9c52070c684c0858866cb286c922214b8db5e9c95129cfae5997d121"}},{"ruleId":"D2","level":"warning","message":{"text":"library.createLibrary.scanIn (cognitive 34): library.createLibrary.scanIn has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 3 (6 pts), ternaries 2 (4 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 12). None of this is in the body itself: all 34 points belong to 3 function literals inside it that branch (lines 326, 325, 323). 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":"helpers/library.cjs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4323c8412e9a46d74a140683fb584b07f671e261ad64d67bba6233d4abcddcc"}},{"ruleId":"D2","level":"warning","message":{"text":"y2k.createY2k.draw (cognitive 34): y2k.createY2k.draw has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/y2k.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"295404aaeac3d49f1b7e54ce3b1196ee4005c73714c01a898f554f30cd7f156b"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.spHead (cognitive 34): library-panel.createLibraryPanel.spHead has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 13 (26 pts), boolean chains 6, if/else 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":"renderer/library-panel.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5da8b8be572b73dfe549c521e267995260ea51fd82cc21ff1f722979073778c"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.spArtSrc (cognitive 34): library-panel.createLibraryPanel.spArtSrc has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 22, ternaries 6 (9 pts), if/else 3 (nesting depth added 3). 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":"renderer/library-panel.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"3931db4da761a5805a99ceeafd08e8d187061fbb260b50d76e34b0ace5e1c70a"}},{"ruleId":"D2","level":"warning","message":{"text":"createWebcam.findEyes (cognitive 34): createWebcam.findEyes has cognitive complexity 34 (threshold 15). Drivers by points: loops 10 (23 pts), if/else 1 (5 pts), ternaries 3 (5 pts), boolean chains 1 (nesting depth added 19). Of this number, 32 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/visuals.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab7f095b640d8b79d96e8ae6a9ef4851a5990915505127030c905d6cb14e34a"}},{"ruleId":"D2","level":"warning","message":{"text":"createY2k.draw (cognitive 34): createY2k.draw has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/y2k.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a90097e456c029aae959bc8c8bbcbf4eea22ba45d226517cd46c7fe81ae7dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"library.walk (cognitive 33): library.walk has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 4 (10 pts), error handling 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 17). Of this number, 26 points are the body\u0027s own statements and 7 belong to 2 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":"helpers/library.cjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"071adaabfbda0c12f50086700fb9e51a3062f123a7b3ac6014c0c92030727d04"}},{"ruleId":"D2","level":"warning","message":{"text":"spectro.createSpectro.draw (cognitive 33): spectro.createSpectro.draw has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 9, boolean chains 8, loops 4 (5 pts), error handling 1 (2 pts) (nesting depth added 5). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/spectro.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a718d5006d760875ee2b014bc95966901f64ad3daaad55514dec68e7dc3e3b"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.stepSea (cognitive 33): scenery.stepSea has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 7 (17 pts), boolean chains 7, if/else 5 (6 pts), loops 2 (3 pts) (nesting depth added 12). Of this number, 31 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/scenery.js"},"region":{"startLine":5953}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d321600e787be95736adb10b24756ab8fee7c85adf323fe3cb942ed9633a0b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 33): (anonymous) has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 8, error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":3326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f81b0dd02538b28c1fd7f68db319ddf4b6b63a6e7d287f3edc6d042060def60"}},{"ruleId":"D2","level":"warning","message":{"text":"createWorlds::paintWords (cognitive 33): createWorlds::paintWords has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 9 (12 pts), boolean chains 4, loops 1 (2 pts), other 1 (nesting depth added 11). 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":"renderer/worlds.js"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2defcd77767cec96b1032f1f825bc3309c5a38f2db23c5d183012e3dea80b9"}},{"ruleId":"D2","level":"warning","message":{"text":"danceBottom (cognitive 33): danceBottom has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 3 (9 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 19). 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":"renderer/gameskins.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"829405c3741b58a72670c935f59112c47a0a8852c7a8d52cea7a659493871c93"}},{"ruleId":"D2","level":"warning","message":{"text":"createSpectro.draw (cognitive 33): createSpectro.draw has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 9, boolean chains 8, loops 4 (5 pts), error handling 1 (2 pts) (nesting depth added 5). Of this number, 32 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/spectro.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ed827b164b8c4eb28d342f0c92f6fce2371d686454bb5371d5ea91500cb5bf"}},{"ruleId":"D2","level":"warning","message":{"text":"checkMeta (cognitive 33): checkMeta has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (11 pts), ternaries 5 (6 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-store.cjs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d909e533c8c2a054263f8365cd0fc6c688b02e7f934f73b81a787f69afe5a0a"}},{"ruleId":"D2","level":"warning","message":{"text":"backrooms.createBackrooms.draw (cognitive 32): backrooms.createBackrooms.draw has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 10, ternaries 6 (7 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/backrooms.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"244336b48ee325708794470c20df9f40ce2d209d96845d8a21ab2dc6b9b71a76"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::keyBar (cognitive 32): createEngine::keyBar has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 9 (10 pts), boolean chains 9, loops 2, other 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/engine.js"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb5018ea791fe96a90bf7f5320b090f16890f167a77080b50e8375c8314b6c0"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.spHead (cognitive 32): createLibraryPanel.spHead has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 13 (24 pts), boolean chains 6, if/else 2 (nesting depth added 11). 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":"renderer/library-panel.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7375d990cf81c2138b81c7631392d3d2f5e4c609a67c9a45a1b9a9f1d2e09cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"game.createGame.idle (cognitive 31): game.createGame.idle has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 6 (9 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 13 belong to 2 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":"renderer/game.js"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"222bfe9a3639727867d94dcd40525a1c85d1430ff1008e83e8f96ec143c3c943"}},{"ruleId":"D2","level":"warning","message":{"text":"orb.createOrb.draw (cognitive 31): orb.createOrb.draw has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7, ternaries 5 (6 pts), error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/orb.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2ba1402699f3bc75d9b8663b77b3319f59f04da1fb9b70eb4c46972e585fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.drawToast (cognitive 31): scenery.drawToast has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 4 (18 pts), boolean chains 7, if/else 1 (3 pts), loops 2 (3 pts) (nesting depth added 17). Of this number, 28 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":5436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdbfb38e4068dd91dea0ba1d31772b73e8a9300ca9d81a7580e9d1e923daca9"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.makeDemo.schedule (cognitive 31): demo.makeDemo.schedule has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 5, loops 1 (nesting depth added 15). 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":"renderer/demo.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"88525221b6e8de4aa687a48cd215edc27100f78e91bd1b00e6253be9e3d2785c"}},{"ruleId":"D2","level":"warning","message":{"text":"library.spotifyRows (cognitive 31): library.spotifyRows has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (12 pts), ternaries 3 (4 pts), loops 2 (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":"renderer/library.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb314341dafc4a2f247cf0066dfd30365c98ee5294f3e5860fca8014af7ef9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Ear.process (cognitive 31): Ear.process has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (10 pts), boolean chains 4, ternaries 1 (2 pts) (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":"renderer/ear-worklet.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e70d992c090552821a64d7824c40c0c40c292fb0f1d847a5953ca9547be2863"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuild.render (cognitive 31): rebuild.render has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 7, loops 5 (6 pts), if/else 2 (5 pts) (nesting depth added 11). Of this number, 23 points are the body\u0027s own statements and 8 belong to 2 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":"renderer/rebuild.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc13a949d2cfa04b5e5e6ab05ed5d53b77101af61c8e716930ed007d06c86b6c"}},{"ruleId":"D2","level":"warning","message":{"text":"createCodeView.highlight (cognitive 31): createCodeView.highlight has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 12, loops 7 (9 pts), ternaries 4 (6 pts), if/else 3 (4 pts) (nesting depth added 5). Of this number, 29 points are the body\u0027s own statements and 2 belong to 3 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":"renderer/codeview.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afa5f9e5c99af243d69bec7088a02cf286257690edf3713fd56fa2b1d6c11e7"}},{"ruleId":"D2","level":"warning","message":{"text":"visuals.createWebcam.findEyes (cognitive 30): visuals.createWebcam.findEyes has cognitive complexity 30 (threshold 15). Drivers by points: loops 10 (23 pts), if/else 1 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 17). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/visuals.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"120fe223b0ce93976d6d48f809420718fa9cdbd74d0117e0ef229ca0d8c89442"}},{"ruleId":"D2","level":"warning","message":{"text":"stirSea (cognitive 30): stirSea has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 4 (8 pts), loops 6 (8 pts), boolean chains 1 (nesting depth added 14). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/scenery.js"},"region":{"startLine":6201}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd99c8dcd8f934cb03b93b666982aaed45b03035adc36a18d76bb3b89050815"}},{"ruleId":"D2","level":"warning","message":{"text":"createGame.idle (cognitive 30): createGame.idle has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 6 (8 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 13 belong to 2 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":"renderer/game.js"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c8767d358a4abea71f53c994cf55e47733a167b3f7dd9d22d686ff18ef4163"}},{"ruleId":"D2","level":"warning","message":{"text":"createCuts (cognitive 30): createCuts has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 7, loops 2 (5 pts), other 2, ternaries 1 (2 pts) (nesting depth added 12). None of this is in the body itself: all 30 points belong to 5 function literals inside it that branch (lines 344, 370, 367, \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":"renderer/cuts.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3f56e65b0290fc23fd858f14d9b098c5a82a19cadc16ea9f38ca6a7b34f98b"}},{"ruleId":"D2","level":"warning","message":{"text":"mp3Length (cognitive 30): mp3Length has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 5 (10 pts), boolean chains 5, loops 1 (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":"renderer/audio-tags.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aa4366ca54e8c725a46af51b5778ea4105383732aa04a14bd941092bf1f07d"}},{"ruleId":"D2","level":"warning","message":{"text":"codeview.createCodeView.highlight (cognitive 29): codeview.createCodeView.highlight has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 10, loops 7 (9 pts), ternaries 4 (6 pts), if/else 3 (4 pts) (nesting depth added 5). Of this number, 27 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/codeview.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8e298c14bed84149e489649f33de4e83148e4d6c6094961465b33c4a3b4068"}},{"ruleId":"D2","level":"warning","message":{"text":"gameskins.codeRows (cognitive 29): gameskins.codeRows has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 12 (13 pts), if/else 8 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 5 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 501). 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":"renderer/gameskins.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afdbba34ac3a671cc5eb8fda8a6576cc1796fdcff812c287b61e40e5a40bebe"}},{"ruleId":"D2","level":"warning","message":{"text":"pinches.createPinches.update (cognitive 29): pinches.createPinches.update has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 15). 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":"renderer/pinches.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f496dca4c3f333c19a3d20c9c4535b671d4d2983eeb967cb30a345a333769bc5"}},{"ruleId":"D2","level":"warning","message":{"text":"renderGrid (cognitive 29): renderGrid has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 7 (15 pts), boolean chains 6, if/else 3 (5 pts), loops 2 (3 pts) (nesting depth added 11). 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":"renderer/app.js"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93985e808934b6affe6d19f607cb0c1cbfb0d322273e6bb249df727d8b122b3"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::newBeat (cognitive 29): createEngine::newBeat has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 5 (9 pts), boolean chains 5, loops 2 (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":"renderer/engine.js"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d8cf728d1d59f4eeedf702379f8caea221c4f43f115cdf6d2689c0e0626266"}},{"ruleId":"D2","level":"warning","message":{"text":"createCuts.draw (cognitive 29): createCuts.draw has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, ternaries 3 (5 pts), loops 2 (3 pts) (nesting depth added 8). Of this number, 28 points are the body\u0027s own statements and 1 belongs to 2 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":"renderer/cuts.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b9e69a0f86b798c0d6e11174fb7aa8fb49e111c3bb77d5e73f575ae1cc90df"}},{"ruleId":"D2","level":"warning","message":{"text":"createSongMemory.put (cognitive 29): createSongMemory.put has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 10, if/else 4 (5 pts), loops 2 (3 pts) (nesting depth added 7). Of this number, 22 points are the body\u0027s own statements and 7 belong to 7 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":"renderer/song-memory.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f34f83c99f0f1ff500973b8825378881f7671a8597d38e1f822939eaddab25"}},{"ruleId":"D2","level":"warning","message":{"text":"createPinches.update (cognitive 29): createPinches.update has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to 3 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":"renderer/pinches.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f03a0f488ac07aecb6ac7da044dfb06e9d29d2e48177799c93381489c03ccd"}},{"ruleId":"D2","level":"warning","message":{"text":"cuts.createCuts.sim (cognitive 28): cuts.createCuts.sim has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 7, loops 2 (5 pts), ternaries 1 (2 pts) (nesting depth added 12). Of this number, 21 points are the body\u0027s own statements and 7 belong to 4 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":"renderer/cuts.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"270170e76d49d9aeda8f17a8a79bdd1aeedbd3ed2705f8bbe67da11905fa8e29"}},{"ruleId":"D2","level":"warning","message":{"text":"drawCrab (cognitive 28): drawCrab has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (18 pts), loops 5 (8 pts), if/else 2 (nesting depth added 13). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"renderer/scenery.js"},"region":{"startLine":5099}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb299c79501883dde0930e0e18115ef8d5c7b83afbf5d12fb2bbea2f3ebf396b"}},{"ruleId":"D2","level":"warning","message":{"text":"loadSettings (cognitive 28): loadSettings has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (18 pts), ternaries 5, boolean chains 3, error handling 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/app.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf954ce529eea717f01c1a08e7af4a7aed05243625b7b899723e04ea92dda08"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::clock (cognitive 28): createEngine::clock has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 12 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/engine.js"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"9836bf4dfe436c0221cf92e9bec090fe5d3f211515f4bf8b339e17a0b387f99e"}},{"ruleId":"D2","level":"warning","message":{"text":"createCodeView.plan (cognitive 28): createCodeView.plan has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (7 pts), boolean chains 6, loops 4 (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":"renderer/codeview.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80dbacce6ffaba2178141d4ddf93354d097c60013734ea200977e37327382b7"}},{"ruleId":"D2","level":"warning","message":{"text":"createTakeover.draw (cognitive 28): createTakeover.draw has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 9, loops 2, ternaries 1 (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":"renderer/fx.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e191f93a32aad8dacf250d6a2d74b7a108357603995d41baefc031f5a12f629a"}},{"ruleId":"D2","level":"warning","message":{"text":"paintIdle (cognitive 28): paintIdle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 7 (11 pts), boolean chains 2 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/gameboot.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbbccf482a95b66ae7f90ca9ce1cd3cb13a4443ad87774999bc5af6cd1d8c16"}},{"ruleId":"D2","level":"warning","message":{"text":"now-coding.html.makeDemo.schedule (cognitive 27): now-coding.html.makeDemo.schedule has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 4, loops 1 (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":"prototype/now-coding.html"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edefbf8630070a4e97c7b24afa112af2a2d1f58ab6ceb4e6b8ac249a2533676"}},{"ruleId":"D2","level":"warning","message":{"text":"codeview.createCodeView.plan (cognitive 27): codeview.createCodeView.plan has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (7 pts), boolean chains 5, loops 4 (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":"renderer/codeview.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad565cf5bbcbf68470462681f909466d16e8d38bed67a6822de6fb8a2d21ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"fx.createTakeover.draw (cognitive 27): fx.createTakeover.draw has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 9, loops 2 (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":"renderer/fx.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b2e90c2bf2368011157973f9bac41f7f78fa394f2ab6cabbd4561ec39514e9"}},{"ruleId":"D2","level":"warning","message":{"text":"glass.createGlass.drawCode (cognitive 27): glass.createGlass.drawCode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, loops 3, ternaries 2 (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":"renderer/glass.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a80e808955c72c08884376f926fe206e6455bcbc18b02ba3039a63b59b5650f"}},{"ruleId":"D2","level":"warning","message":{"text":"cuts.createCuts.draw (cognitive 27): cuts.createCuts.draw has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 7). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"renderer/cuts.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d97665f933e56b63ac585d6194b7bf3253a1df1b1f8d974c9061e6eb06d198"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.activate (cognitive 27): library-panel.createLibraryPanel.activate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18, boolean chains 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/library-panel.js"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a4a8dc99ed5e414d8e1f6c65a17f8eae41d5431bf52b6c3986d36d88a5ce98"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuild.findGrid (cognitive 27): rebuild.findGrid has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 7 (11 pts), ternaries 2, boolean chains 1 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 9 belong to 4 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":"renderer/rebuild.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3088e3507d500e6a7fa135107415cfc5078ad218604557474ee59a67024076"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::lowDecide (cognitive 27): createEngine::lowDecide has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 9, ternaries 2 (6 pts) (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":"renderer/engine.js"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"b386e9eb10e47f58aa563500820a3e6c16018733b2962eafcf64d316f8dd2425"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::pumpCheck (cognitive 27): createEngine::pumpCheck has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 8, loops 2 (3 pts) (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":"renderer/engine.js"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d26dedd5cfc4571f9ec8d7bfa8a288b4ca4490fb76ae81406f80698693b541"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::estimateTempo::fit (cognitive 27): createEngine::estimateTempo::fit has cognitive complexity 27 (threshold 15). Drivers by points: loops 7 (15 pts), if/else 3 (6 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 14). 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":"renderer/engine.js"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54a6582661c7be672b849101d8446466f180252879c53fa925027bb6f9a428a"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.glyphMask (cognitive 27): createLibraryPanel.glyphMask has cognitive complexity 27 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 4 (8 pts), ternaries 3 (6 pts), error handling 1 (2 pts) (nesting depth added 15). Most of this is not in the body itself: 12 of the 27 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 115, 135, 136, \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":"renderer/library-panel.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4794d4922225ef45f85b10d9506260c18523eb9f9980d117a2c0a8fee7cf678e"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.activate (cognitive 27): createLibraryPanel.activate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18, boolean chains 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 1). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/library-panel.js"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a159468703d2a061fca9c509c9ee452cfe97bdf2c6e66f43ecbe84033e5b37ff"}},{"ruleId":"D2","level":"warning","message":{"text":"readVoice (cognitive 27): readVoice has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 6 (8 pts), ternaries 3 (5 pts), boolean chains 2 (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 5 belong to 4 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":"renderer/rebuild.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fecea9d70c22daeaf0a265bb949e2c9db1574c7d8492d68ddb745382c67c87"}},{"ruleId":"D2","level":"warning","message":{"text":"wraps (cognitive 27): wraps has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 5, loops 3 (4 pts), other 1 (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":"renderer/codeview.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b2d2e8b15ca498f1ac042f0871987c37ecd43689331382d2d49414a42b6d3a"}},{"ruleId":"D2","level":"warning","message":{"text":"createGlass.drawCode (cognitive 27): createGlass.drawCode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, loops 3, ternaries 2 (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":"renderer/glass.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"157c42c426bf43b99494b86f83a7ee41c09963874bced64033d218ded96a7763"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.createEngine::fit (cognitive 26): engine.createEngine::fit has cognitive complexity 26 (threshold 15). Drivers by points: loops 7 (15 pts), if/else 3 (6 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 14). 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. This shape REPEATS in the file: one other method here (engine.createEngine) 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":"renderer/engine.js"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6824e1a46d37a3f1434dec57321716a3152ed71027d746ea3b05bcab55db966"}},{"ruleId":"D2","level":"warning","message":{"text":"card.createCard.fromArt (cognitive 26): card.createCard.fromArt has cognitive complexity 26 (threshold 15). Drivers by points: loops 6 (18 pts), if/else 2 (7 pts), boolean chains 1 (nesting depth added 17). 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":"renderer/card.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce74002041eb8d98e248fc13a402867d74011389c48e74b384e3f12dcdd1764"}},{"ruleId":"D2","level":"warning","message":{"text":"portal.createSwipes.update (cognitive 26): portal.createSwipes.update has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 7, loops 4 (6 pts), ternaries 2 (5 pts) (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/portal.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4ea13dae5e8bafbc416c9e2357472b154bfd1d97660d5d4e7a4fa3ceac1bec"}},{"ruleId":"D2","level":"warning","message":{"text":"firstrun.advanceHints (cognitive 26): firstrun.advanceHints has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 9, loops 1 (2 pts), ternaries 2 (nesting depth added 4). Of this number, 23 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/firstrun.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ae5286a3a2d5488c640adc7b684847d0be436cf7113bbb96f1d3a9a471102e"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuild.readKeys (cognitive 26): rebuild.readKeys has cognitive complexity 26 (threshold 15). Drivers by points: loops 8 (15 pts), if/else 4 (9 pts), boolean chains 1, ternaries 1 (nesting depth added 12). Of this number, 19 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. 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":"renderer/rebuild.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aafafed5227d57248b138ffaf9fe07365956b8f05abe26f83186a7c07a5592e"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.searchSpotify (cognitive 26): createLibraryPanel.searchSpotify has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8, ternaries 4, error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"39486661c308f93841ef63dc479cc0ddd4489d4e227aef06c7064763e8082b82"}},{"ruleId":"D2","level":"warning","message":{"text":"createSwipes.update (cognitive 26): createSwipes.update has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 7, loops 4 (6 pts), ternaries 2 (5 pts) (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 2 belong to 4 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":"renderer/portal.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"736f79548a6100f5e555f94761367fc5d23e5d4e031f506208ce59d10b662276"}},{"ruleId":"D2","level":"warning","message":{"text":"readBass (cognitive 26): readBass has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), loops 5 (6 pts), ternaries 5 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 11 belong to 16 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":"renderer/rebuild.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"439193639fe744a3def9990b3ca661b173fc706b873e9edfd8c195b726627309"}},{"ruleId":"D2","level":"warning","message":{"text":"createChrome (cognitive 26): createChrome has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (6 pts), boolean chains 3, loops 2, other 1 (nesting depth added 9). None of this is in the body itself: all 26 points belong to 3 function literals inside it that branch (lines 337, 287, 288). 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":"renderer/chrome.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fa099250bfa6143f272143a297c8b020a76e43e48f0d844d32bd8cdef4326f"}},{"ruleId":"D2","level":"warning","message":{"text":"createBoot.draw (cognitive 26): createBoot.draw has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (7 pts), loops 2 (6 pts) (nesting depth added 16). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/gameboot.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4804ab4b288d9af590b46d8cb28f8683036e9c98b23fb875d5b36dbaf874a7d5"}},{"ruleId":"D2","level":"warning","message":{"text":"createCard.fromArt (cognitive 26): createCard.fromArt has cognitive complexity 26 (threshold 15). Drivers by points: loops 6 (18 pts), if/else 2 (7 pts), boolean chains 1 (nesting depth added 17). 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":"renderer/card.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12b7c0ed6890547ff94b822ac98829d9f2266a21aaa6f501c6e2d02ed308c72"}},{"ruleId":"D2","level":"warning","message":{"text":"game.createGame.drawStance (cognitive 25): game.createGame.drawStance has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 5 belong to 3 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":"renderer/game.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f033a39455db380a28bd91b45ea961ed6e5fb490fdb8e7591eed613a41f1b4"}},{"ruleId":"D2","level":"warning","message":{"text":"chrome.createChrome.sim (cognitive 25): chrome.createChrome.sim has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (nesting depth added 9). 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":"renderer/chrome.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"256553b2c4474438289c7542ee7716ac496562d035c9446e8eb6abe754a722e8"}},{"ruleId":"D2","level":"warning","message":{"text":"preanalyse.createPreanalysis.loop (cognitive 25): preanalyse.createPreanalysis.loop has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (6 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 11). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/preanalyse.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d59fc7863450d95169d0d024e3ec38138281d8ac2d6e9ca6b22c57e1739a9c"}},{"ruleId":"D2","level":"warning","message":{"text":"player.createPlayerBar (cognitive 25): player.createPlayerBar has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, ternaries 3 (4 pts), loops 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 458, 131, 145, \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":"renderer/player.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c42397761396a688a676410d7145803e64348564bc0180ecdb90c7e8ca59663"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.glyphMask (cognitive 25): library-panel.createLibraryPanel.glyphMask has cognitive complexity 25 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 4 (8 pts), ternaries 3 (6 pts) (nesting depth added 14). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 115). 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":"renderer/library-panel.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ba9fbdf7c8898f4b41c09944f9897ff769fedb8e10f8f97b15e27855ec260b"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::halfTime (cognitive 25): createEngine::halfTime has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (8 pts), boolean chains 4, loops 1 (nesting depth added 9). 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":"renderer/engine.js"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bbe23634e071886e8bf6319ab23c80db701044bd39621e0170eb5607e09b5a"}},{"ruleId":"D2","level":"warning","message":{"text":"createGame.drawStance (cognitive 25): createGame.drawStance has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 5 belong to 11 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":"renderer/game.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adc7fd16bd15999c54f5f037eeae098ae18196ce10479971ac3a062660b6371"}},{"ruleId":"D2","level":"warning","message":{"text":"glField (cognitive 25): glField has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, loops 3 (4 pts), ternaries 1 (3 pts), error handling 2 (nesting depth added 5). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 9 function items inside it that branch (draw, finish, setup, \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":"renderer/visuals.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"621aa97094dc303257369857dd096aa60a3fe99eb1fba95cd827fbe4bf8358cb"}},{"ruleId":"D2","level":"warning","message":{"text":"strudelProgram (cognitive 25): strudelProgram has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 5 (9 pts), boolean chains 5, loops 1 (nesting depth added 9). 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":"renderer/codegen.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f1d63af16e3d880437661c14054b4927575eb20f6047c6495b1ef319b5fbe7"}},{"ruleId":"D2","level":"warning","message":{"text":"createPreanalysis.loop (cognitive 25): createPreanalysis.loop has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (6 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 11). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/preanalyse.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3fd44b092d01842d4e499fb14bf1adf1104f44b11c3784ba54fd7340b147a5"}},{"ruleId":"D2","level":"warning","message":{"text":"codegen.bassParts (cognitive 24): codegen.bassParts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 4 (6 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/codegen.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb097db4072bbf8a34567a120fcc458b4219c6494bff08ff9669835424fcf9a"}},{"ruleId":"D2","level":"warning","message":{"text":"preanalyse.analyseBytes (cognitive 24): preanalyse.analyseBytes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 2 (5 pts), loops 2, boolean chains 1 (nesting depth added 11). 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":"renderer/preanalyse.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d28e30fa4bc570358608ee49e4e4f088239685a118c84352afa1d05eb513c41"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.findKey (cognitive 24): library-panel.createLibraryPanel.findKey has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 3 (6 pts), boolean chains 4 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 12 belong to 5 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":"renderer/library-panel.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38c239c9a7b9892ca1c51f5f08122f33afd8b5b8a71420e6fd145f54e16edd0"}},{"ruleId":"D2","level":"warning","message":{"text":"nowPlaying (cognitive 24): nowPlaying has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (9 pts), ternaries 5, other 1 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"406f3964f25d9514238d9f20e0636e415b0254da58e91789a469c30b34df20fe"}},{"ruleId":"D2","level":"warning","message":{"text":"loadLooks (cognitive 24): loadLooks has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 5 (6 pts), boolean chains 4, loops 3 (4 pts), error handling 1 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 4 belong to 6 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":"renderer/app.js"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b573e2145a69bd7bbd23a59afca8903a12141f998ef8dc5b950e1f8257b2f23"}},{"ruleId":"D2","level":"warning","message":{"text":"changeWindowMode (cognitive 24): changeWindowMode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 7, boolean chains 6, error handling 1 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/app.js"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"7469c5709af20703b9aedc91f25b25992ced189d8dfc0a3b08c50df2896b835a"}},{"ruleId":"D2","level":"warning","message":{"text":"aRound (cognitive 24): aRound has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 5 (10 pts), boolean chains 3 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 9 belong to 9 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":"renderer/app.js"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f97a776a078337744ff93bf259c28747d28596a5a8a70e5969ac203018b7790"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.findKey (cognitive 24): createLibraryPanel.findKey has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 3 (6 pts), boolean chains 4 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 12 belong to 8 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":"renderer/library-panel.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26b2089a8af6d53c89a26f61f128bfa2c738168108e033bc59578f40e88e0f3"}},{"ruleId":"D2","level":"warning","message":{"text":"createGame.step (cognitive 24): createGame.step has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 3 (4 pts), ternaries 2 (4 pts), other 1 (nesting depth added 9). 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":"renderer/game.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15cdb43d5074ef7842a5d32bef7590454def6cebc52a6afc2ebb545b9f2ec9e"}},{"ruleId":"D2","level":"warning","message":{"text":"createPunchcard (cognitive 24): createPunchcard has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 4 (6 pts), boolean chains 5, ternaries 3 (4 pts) (nesting depth added 4). None of this is in the body itself: all 24 points belong to 3 function literals inside it that branch (lines 547, 580, 478). 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":"renderer/visuals.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"782c2c52033be587a5a7f9dc0f54c4da7d2f42f56753f982730f55341cb616c6"}},{"ruleId":"D2","level":"warning","message":{"text":"createPlayerBar.toggleMode (cognitive 24): createPlayerBar.toggleMode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 4 (6 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 7 belong to 4 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":"renderer/player.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb28f898d16f514571c4307d2857539a7248da02e2b39dd76381d608969ef5e"}},{"ruleId":"D2","level":"warning","message":{"text":"blockCode (cognitive 24): blockCode has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 2 (5 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 2 belong to 10 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":"renderer/tape.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f149903266f6a978cb15f077759e61cbed0a0cb05f75c85e306e028eddfaf5b9"}},{"ruleId":"D2","level":"warning","message":{"text":"createSpectro.read (cognitive 24): createSpectro.read has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, ternaries 2 (4 pts), other 3, loops 1 (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":"renderer/spectro.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3325a5988ffb107eae8c35fe388406e59101bf128d2b611d4863ce318f7b24ad"}},{"ruleId":"D2","level":"warning","message":{"text":"createLanes.draw (cognitive 24): createLanes.draw has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 6, if/else 3, loops 2 (3 pts), error handling 1 (2 pts), other 2 (nesting depth added 5). 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":"renderer/lanes.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0223442d52ef5b0fded825acbacb709304e8b768870c4188ebf03a3cf686574"}},{"ruleId":"D2","level":"warning","message":{"text":"roll (cognitive 24): roll has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 5 (8 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 10). Of this number, 16 points are the body\u0027s own statements and 8 belong to 2 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":"renderer/stars.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25abb58786f569733850c030cfea1cb0e9a29ce036e5d3eefad1720ebfa4cf4"}},{"ruleId":"D2","level":"warning","message":{"text":"update.check (cognitive 23): update.check has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts), error handling 1 (3 pts), ternaries 2 (nesting depth added 3). 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":"update.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b53a0b2f7945a588de5e06399238245b39be586892bf81064c28a2d9550184"}},{"ruleId":"D2","level":"warning","message":{"text":"gl-pool.createGlPool (cognitive 23): gl-pool.createGlPool has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, loops 3, error handling 1 (2 pts) (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 7 belong to 4 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":"renderer/gl-pool.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"491d66e71aee0d22cda1e94a4896fe95f0eb45ea79ff39991c4187dfa1cde098"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.searchSpotify (cognitive 23): library-panel.createLibraryPanel.searchSpotify has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8, error handling 2 (3 pts), ternaries 1 (nesting depth added 4). 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":"renderer/library-panel.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20e4c9865274e71ba735d3cc2d85b7461db543383a35d9919a6423ee6583a70"}},{"ruleId":"D2","level":"warning","message":{"text":"present (cognitive 23): present has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (10 pts), loops 5 (7 pts), if/else 2 (4 pts), boolean chains 2 (nesting depth added 9). 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":"renderer/spaghetti.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f222f456c88a558ab6cdb9c91c83d8fa90c77d9d88ca9d1b218d4e75b927a9"}},{"ruleId":"D2","level":"warning","message":{"text":"card (cognitive 23): card has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (9 pts), ternaries 8, boolean chains 3, if/else 3 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/spaghetti.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"206b639ca92a61d4d62c04548fc150579c2baa13886a632c5e340a8b547b0f74"}},{"ruleId":"D2","level":"warning","message":{"text":"createSpectro.drawMarks (cognitive 23): createSpectro.drawMarks has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, ternaries 2 (4 pts), loops 3 (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":"renderer/spectro.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"257fe9260c7f8c4bc3fbb85f68b7fb96d80479efdccd20e92d2f290672154b40"}},{"ruleId":"D2","level":"warning","message":{"text":"createFire (cognitive 23): createFire has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5, boolean chains 3, other 2, ternaries 1 (nesting depth added 6). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 52). 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":"renderer/fire.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a6ee2fdd1578921779cc0e2b551a7af4097f962388801bf13dc40c505aa498"}},{"ruleId":"D2","level":"warning","message":{"text":"radio.icyTitles.\u003Creturned closure\u003E (cognitive 22): radio.icyTitles.\u003Creturned closure\u003E has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (7 pts), boolean chains 1, loops 1 (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":"helpers/radio.cjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb65b360d095ad72382e5aa79f529087d10eec8b32af57476c6884b6006264a"}},{"ruleId":"D2","level":"warning","message":{"text":"spotify.createWebApi.control (cognitive 22): spotify.createWebApi.control has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (8 pts), ternaries 2, error handling 1 (nesting depth added 1). 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":"helpers/spotify.cjs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cee06a30c69fd375775686854dffce1b0a46462bd420690087023e7bf5c2aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"glass.createGlass.draw (cognitive 22): glass.createGlass.draw has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (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":"renderer/glass.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"80159c2ef0c0e8390cb91ce5a8c5339aed215e86c59cccf88de7fd2299c433f8"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.drawGardenKoi::spot (cognitive 22): scenery.drawGardenKoi::spot has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (9 pts), if/else 3 (nesting depth added 5). 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 (scenery.drawGardenKoi) 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":"renderer/scenery.js"},"region":{"startLine":5005}}}],"partialFingerprints":{"codehealthFindingId/v1":"083c6d4ebafdcaddaa48bd058b9b096c63044cd1e2aa9167e456e9c916adaf55"}},{"ruleId":"D2","level":"warning","message":{"text":"controls.createControls.mount (cognitive 22): controls.createControls.mount has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 7 belong to 3 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":"renderer/controls.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17ec376e5a713437843eac03107f87c2e5c61fe573c6d580a24324b7841ed70"}},{"ruleId":"D2","level":"warning","message":{"text":"app.eng.on.drop (cognitive 22): app.eng.on.drop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4e330952272208565b768571b48256404f00c24eb5e7caecd60e3b9616936d"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.paintHead (cognitive 22): createLibraryPanel.paintHead has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 7 (8 pts), boolean chains 1 (nesting depth added 9). 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":"renderer/library-panel.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25227bf96197aeb0deab5d6453e0c3737ce0bfeb8dfbb1ae8ae57fd0190140b"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.finishInput (cognitive 22): createLibraryPanel.finishInput has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, other 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cf84236fddac3359c39c6361563cd821abb1995a15921c972812e199b94bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"createGame.judge (cognitive 22): createGame.judge has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (8 pts), boolean chains 3 (nesting depth added 10). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/game.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d7134b88dc47dfcfb0fd6c319b382383a614be7ec93fd498fe7b4e1cdbfdb0"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuild (cognitive 22): rebuild has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (6 pts), boolean chains 2, other 2 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 1 belongs to 2 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":"renderer/rebuild.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd1c26f2ad060ccd9951c19fbbe94ba94ef5d9ab32cec1e974bbf9b9111f2d6"}},{"ruleId":"D2","level":"warning","message":{"text":"createSpectro.makeColumn (cognitive 22): createSpectro.makeColumn has cognitive complexity 22 (threshold 15). Drivers by points: loops 7 (8 pts), ternaries 5 (8 pts), if/else 3 (5 pts), boolean chains 1 (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/spectro.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9e947fca1d27ec6d2f36eda8049f1345a6071f64c4dc0e966f9ff09355ec02"}},{"ruleId":"D2","level":"warning","message":{"text":"createGlass.draw (cognitive 22): createGlass.draw has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (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":"renderer/glass.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b63a276010d2cadb6c7d7d20afdfc6c00f92cab1d4133b8b9ea5a9ae1e398f"}},{"ruleId":"D2","level":"warning","message":{"text":"createCard.fromCamera (cognitive 22): createCard.fromCamera has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 3 (7 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 12). 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":"renderer/card.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f62c7af70c783c5acdd990a4c8b9844d0b06563c77761df85188495afe8319d"}},{"ruleId":"D2","level":"warning","message":{"text":"createControls.mount (cognitive 22): createControls.mount has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 7 belong to 7 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":"renderer/controls.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc454083cefdb9df45da917583d20608f5b5edb2305e5a5f178b9fe183176f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"rings.createSpiral.draw (cognitive 21): rings.createSpiral.draw has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 5 belong to 2 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":"renderer/rings.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0cc608e4fa428a0b5e628dc37c0f4e41d77db38897aeeff5929efca6484865"}},{"ruleId":"D2","level":"warning","message":{"text":"Noodles.step (cognitive 21): Noodles.step has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (5 pts), boolean chains 3 (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":"renderer/noodles.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfde3db4ee948f719d324e272ae07d99ba51d43194527b9528fd1c4c998a860"}},{"ruleId":"D2","level":"warning","message":{"text":"spaghetti.createSpaghetti.encode (cognitive 21): spaghetti.createSpaghetti.encode has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (8 pts), loops 3 (nesting depth added 2). 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":"renderer/spaghetti.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c2cee766435c14e4ef4ecbe1a0edd709cba650cc9dc4f91c541f4cf3abe3bf"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.pixAtlas (cognitive 21): scenery.pixAtlas has cognitive complexity 21 (threshold 15). Drivers by points: loops 12 (16 pts), if/else 3 (5 pts) (nesting depth added 6). 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":"renderer/scenery.js"},"region":{"startLine":5452}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d0b59aa5a75e26d917b8ffce4dbc809b104e542b1c24e08a9c05f243a02cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"cuts.createCuts.listen (cognitive 21): cuts.createCuts.listen has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (7 pts), boolean chains 3 (nesting depth added 9). 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":"renderer/cuts.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1cf4f14549135c2e8ec7bbf93631e6d95326bef192d400f6386cbb941a4c7b"}},{"ruleId":"D2","level":"warning","message":{"text":"player.createPlayerBar.toggleMode (cognitive 21): player.createPlayerBar.toggleMode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 3 (5 pts), boolean chains 3, error handling 1 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 7 belong to 2 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":"renderer/player.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f704c0029ae5c07c5110b82718a4cf4859254f0c2f893ee3c5e30ab23222aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.spSongs (cognitive 21): library-panel.createLibraryPanel.spSongs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 9). 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":"renderer/library-panel.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"00108d88fd29a9b0bcef4048cb7b5c613e6a0fe794ccb47efffa223ee8ba0048"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.finishInput (cognitive 21): library-panel.createLibraryPanel.finishInput has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1add5dfbdfdba7d1fc0bb083cbeed8bfd51d4f44eb2ea1d8ce9fd12b388ecaab"}},{"ruleId":"D2","level":"warning","message":{"text":"take-replay.replay (cognitive 21): take-replay.replay has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 3 (4 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (advance, a function literal at line 132). 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":"renderer/take-replay.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c4662bc146251f3af4f4e3c5e1bea4e2569ca4c26747fae52eafb20c8ba838"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::lockTo (cognitive 21): createEngine::lockTo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (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":"renderer/engine.js"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc82dc48ee1460ce98d5965d026fa83d2b3631c28ab74586bfaf984e7a853161"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.paintArt (cognitive 21): createLibraryPanel.paintArt has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), loops 2 (3 pts), ternaries 3, error handling 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/library-panel.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"628d46b521b63a0d47dd645af54ca9aa47ee120c16deeb5f093ce69e44a06d65"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.halfSrc (cognitive 21): createLibraryPanel.halfSrc has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 9). Of this number, 13 points are the body\u0027s own statements and 8 belong to 2 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":"renderer/library-panel.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"855a8afed5852c3cd11a8de44207dde6fea57beb59dfeed95e85a4c02902424e"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.spSongs (cognitive 21): createLibraryPanel.spSongs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 9). 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":"renderer/library-panel.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2212619b25b7311e47f13f2dfa129e4a952fe046e5618beae17e1a6c6ff7eb"}},{"ruleId":"D2","level":"warning","message":{"text":"lcdBottom (cognitive 21): lcdBottom has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (13 pts), if/else 5, boolean chains 3 (nesting depth added 4). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 296). 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":"renderer/gameskins.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bed5c034a5b2c9c0b56289543e063a829059fa1b5a940e1692a2a63ee85c16"}},{"ruleId":"D2","level":"warning","message":{"text":"retire (cognitive 21): retire has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 7, loops 4 (5 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":"renderer/spaghetti.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d142598a0570157b9396b6b0759723eb72252c4bcc563fe7c304442599110ead"}},{"ruleId":"D2","level":"warning","message":{"text":"createSpaghetti.encode (cognitive 21): createSpaghetti.encode has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (8 pts), loops 3 (nesting depth added 2). 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":"renderer/spaghetti.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4432a4fb19da4e4d59b57228a49b0ee523c2c7beb7e7c56a7557cf4e2d50172"}},{"ruleId":"D2","level":"warning","message":{"text":"createWebApi.control (cognitive 21): createWebApi.control has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (8 pts), ternaries 2, error handling 1 (nesting depth added 1). 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":"helpers/spotify.cjs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a25c395a0027b6b3c85a398e75b2829a59c2e75e71727ec57b08a25617068a5"}},{"ruleId":"D2","level":"warning","message":{"text":"readDrums (cognitive 21): readDrums has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 9 (12 pts), loops 3 (4 pts), boolean chains 3, if/else 2 (nesting depth added 4). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 28 function items inside it that branch (a function literal at line 185, a function literal at line 214, a function literal at line 203, \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":"renderer/rebuild.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be7dacab7f12c75612c74bb9cbd7bf686dcdf0d49b7ed47d9077f6aa6c456c4"}},{"ruleId":"D2","level":"warning","message":{"text":"createPlayerBar.paintSpotify (cognitive 21): createPlayerBar.paintSpotify has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 7, if/else 5 (6 pts) (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/player.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f3e5e01591e8321bbe60d256c7c61ae67de9acb0fe8f7714699070b3e56324"}},{"ruleId":"D2","level":"warning","message":{"text":"createPlayerBar.press (cognitive 21): createPlayerBar.press has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 3 (6 pts), boolean chains 3, ternaries 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":"renderer/player.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0227fac843aef8c85972a62abc4278dda2997d55c9e65004789413d394cdd72c"}},{"ruleId":"D2","level":"warning","message":{"text":"createCuts.listen (cognitive 21): createCuts.listen has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (7 pts), boolean chains 3 (nesting depth added 9). 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":"renderer/cuts.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2afc844ebffcf94c7a59b535298d56415b8e896fa26195838317b4b407fdcb"}},{"ruleId":"D2","level":"warning","message":{"text":"createSpiral.draw (cognitive 21): createSpiral.draw has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 5 belong to 3 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":"renderer/rings.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca492e65c9f8959e5b65d47412c251a193ad29cd4d069ede17c9d600e6bbabd9"}},{"ruleId":"D2","level":"warning","message":{"text":"onmessage (cognitive 21): onmessage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 5, error handling 3 (5 pts), ternaries 4, other 1 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 3 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/track-worker.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1349fae0534ba5fac40d9eaa74cc914758552316a92d26c338bdbf8f02736a"}},{"ruleId":"D2","level":"warning","message":{"text":"icyTitles (cognitive 21): icyTitles has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 11). None of this is in the body itself: all 21 points belong to one function literal inside it that branches (line 11). 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":"helpers/radio.cjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc0e9fc170096d6f8319c338653acc7aae0b2090d06ed9a9cb20a5fc6583d7d"}},{"ruleId":"D2","level":"warning","message":{"text":"gameskins.vfdBottom (cognitive 20): gameskins.vfdBottom has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 5, boolean chains 3 (nesting depth added 4). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 910). 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":"renderer/gameskins.js"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c73df8052b950aa3fe978e29092380752476869a18e229f6d5129e42ae73ff"}},{"ruleId":"D2","level":"warning","message":{"text":"gameboot.createBoot.draw (cognitive 20): gameboot.createBoot.draw has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (6 pts), ternaries 1 (nesting depth added 11). 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":"renderer/gameboot.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26091ef89f3812cc1c6e52cb0150e5dee3466a2fb7ca5c81ff441d42bb6fd70"}},{"ruleId":"D2","level":"warning","message":{"text":"visuals.createPunchcard.sim (cognitive 20): visuals.createPunchcard.sim has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 4 (6 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/visuals.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca478019c954e89a754e5eb09bfa468a5b11f3a2a26f8913eace10439fda008"}},{"ruleId":"D2","level":"warning","message":{"text":"rings.createWheel.draw (cognitive 20): rings.createWheel.draw has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 2 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"renderer/rings.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da1d8102c7889f5eec00e297c4ed6278a97322e9792a83892f7803dd839ef59"}},{"ruleId":"D2","level":"warning","message":{"text":"fire.createFire.sim (cognitive 20): fire.createFire.sim has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5, boolean chains 3 (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":"renderer/fire.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4584115826572e58265040895aaf152b61253a3b9f3e6694d000b733cdf49f"}},{"ruleId":"D2","level":"warning","message":{"text":"player.modesFor (cognitive 20): player.modesFor has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (13 pts), boolean chains 5, if/else 2 (nesting depth added 8). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/player.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbf7f717bafc9c6b319509a0a71d358ab0ac9d26561f63e3b808fe351069fba"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.paintArt (cognitive 20): library-panel.createLibraryPanel.paintArt has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), loops 2 (3 pts), ternaries 2, error handling 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/library-panel.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"67579f9d00fa11e7f8a0cf20036e7a2f284632b914bb023c0ed44f8206c525a3"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::sectionBeat (cognitive 20): createEngine::sectionBeat has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/engine.js"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff852d131a5edb54e6f0ad6e50c7508b3f15109cb72a1887b5f6d46f654978c6"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.paintBig (cognitive 20): createLibraryPanel.paintBig has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 7, ternaries 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/library-panel.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"802575c33796f51e7ede8918f03db0199d874db0cb103a09943fb610257866df"}},{"ruleId":"D2","level":"warning","message":{"text":"askPlayers (cognitive 20): askPlayers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, error handling 2 (4 pts), ternaries 2 (4 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":"main.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"080851a62612ddabdc4f716858d5cdfe1dd463a6528ec821157f50b923cd45ba"}},{"ruleId":"D2","level":"warning","message":{"text":"createPageTurner (cognitive 20): createPageTurner has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts), ternaries 1 (2 pts) (nesting depth added 2). None of this is in the body itself: all 20 points belong to 2 function literals inside it that branch (lines 207, 211). 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":"renderer/game.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0c732b3531450d902214c7ce2f46e0bfb6d870d9488fce14892c582fd6d450"}},{"ruleId":"D2","level":"warning","message":{"text":"barEvents (cognitive 20): barEvents has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 6 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/tape.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"941d8e515578950c3ca0f49f913e03fee12b2eea452904dc0178d8449c339ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"createCodeView.render (cognitive 20): createCodeView.render has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, ternaries 4 (5 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (rawPiece, piece, a function literal at line 270, \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":"renderer/codeview.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"35017ef84a61ef0377dafa54128cb84c9aec56a220f6981f196610cf9ecdfff6"}},{"ruleId":"D2","level":"warning","message":{"text":"createCuts.partAt (cognitive 20): createCuts.partAt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 8, loops 1, other 1 (nesting depth added 5). 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":"renderer/cuts.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7001f5fc3021375f6705cc2c3467e0b3a5c5db4146a0fb2b35ac348f764f3266"}},{"ruleId":"D2","level":"warning","message":{"text":"createCard.dither (cognitive 20): createCard.dither has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (12 pts), loops 3 (4 pts), boolean chains 3, if/else 1 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"renderer/card.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd52e873a6e294907fa3bf26a0b8a60a5a7c4adcc0e4444016d92399620747a"}},{"ruleId":"D2","level":"warning","message":{"text":"createWheel.draw (cognitive 20): createWheel.draw has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 2 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 3 belong to 2 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":"renderer/rings.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2086d314c5baf7537ab5a857c2226e0cf27c0c0922e9937420ae9b0c66640e"}},{"ruleId":"D2","level":"warning","message":{"text":"main.spotify (cognitive 19): main.spotify has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (14 pts), error handling 1 (3 pts), boolean chains 1, if/else 1 (nesting depth added 9). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"main.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"95433159db54eef1b78b9d0a20ff526a86dca10def06e962690a03aa05373de3"}},{"ruleId":"D2","level":"warning","message":{"text":"game.createGame.step (cognitive 19): game.createGame.step has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 3 (4 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":"renderer/game.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f65a5e8218cb9d117758cf49755e6ec5efe8e3a5c9be30ecd18789fda1ca27"}},{"ruleId":"D2","level":"warning","message":{"text":"card.createCard.fromCamera (cognitive 19): card.createCard.fromCamera has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 3 (7 pts), boolean chains 1 (nesting depth added 10). 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":"renderer/card.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc526fb4247c0ba80992536cdfa27b1c016420b0c9f5b1f8eb42c4acabf544b5"}},{"ruleId":"D2","level":"warning","message":{"text":"fire.createFire.step (cognitive 19): fire.createFire.step has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (4 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 11). 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":"renderer/fire.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"224c34bd68f44d67a9ca9a21b206a330b413d95fae3a2387afd4fec91a8d06dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Dancers.pick (cognitive 19): Dancers.pick has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (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":"renderer/noodles.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"534fac22929ff38b4c39524343428aecd2b48a6f674d5ff67f93f5676040189c"}},{"ruleId":"D2","level":"warning","message":{"text":"spectro.createSpectro.drawMarks (cognitive 19): spectro.createSpectro.drawMarks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 3 (nesting depth added 5). 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":"renderer/spectro.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"83741272b6ba9fb8a14e3838ac7c43e1111b1fc93945cf8c37103b9f597905ac"}},{"ruleId":"D2","level":"warning","message":{"text":"wait.createWait.paint (cognitive 19): wait.createWait.paint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/wait.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bff6d8ff2bca9bba9d41a8908b09a8aeb1bc805d0b09c8dd9eb4658d60ed53"}},{"ruleId":"D2","level":"warning","message":{"text":"cuts.createCuts.partAt (cognitive 19): cuts.createCuts.partAt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 8, loops 1 (nesting depth added 5). 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":"renderer/cuts.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02aa46fc09b7aa3785c513632f5016f81586894c11cf90a00f8fef01b244f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.paintBig (cognitive 19): library-panel.createLibraryPanel.paintBig has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 7, ternaries 2. 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":"renderer/library-panel.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecc2d89aaf78291fd52f138effc68261f78cb41b2a1ddb8e24bbe3b9061f864"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.artistRows (cognitive 19): library-panel.createLibraryPanel.artistRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 2 (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":"renderer/library-panel.js"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"b429e64e8724f91a5892f18db2eab4bf9564c17d4b240b28269e2bf226e62e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"rebuild.flux (cognitive 19): rebuild.flux has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (9 pts) (nesting depth added 11). 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":"renderer/rebuild.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc11f118b4803be931ff5497c4a93aa4f441d7817d7609aee170356e048389b"}},{"ruleId":"D2","level":"warning","message":{"text":"seaCells (cognitive 19): seaCells has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (4 pts), ternaries 1 (4 pts), boolean chains 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":6231}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2dd42e50c45e0faa02c513ea878ebee599899aca4f8032de9a3c6d5c8dc06a"}},{"ruleId":"D2","level":"warning","message":{"text":"radioTitle (cognitive 19): radioTitle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, error handling 1 (3 pts), ternaries 2 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 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":"renderer/app.js"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9871958650cd0b78f038afa5c44ce83a2d64b2dc9cfe3b741995f8f33e016b4"}},{"ruleId":"D2","level":"warning","message":{"text":"makeLibrary (cognitive 19): makeLibrary has cognitive complexity 19 (threshold 15). Drivers by points: error handling 3 (6 pts), ternaries 3 (6 pts), if/else 2 (4 pts), boolean chains 2, other 1 (nesting depth added 8). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 28 function items inside it that branch (play, search, blocked, \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":"renderer/app.js"},"region":{"startLine":3143}}}],"partialFingerprints":{"codehealthFindingId/v1":"139f148e8745d263374ffbb5a64445bf2fdaac89225b1bcf288b4f04773d562e"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.artistRows (cognitive 19): createLibraryPanel.artistRows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 2 (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":"renderer/library-panel.js"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fac8650845f81a905e4848619b56de0456638f591bd877ab5b4bde62d0833f8"}},{"ruleId":"D2","level":"warning","message":{"text":"staff.step (cognitive 19): staff.step has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, ternaries 2 (4 pts), loops 2 (3 pts), other 1 (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":"renderer/orb.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bfa31c58e95cbfe0a0521490a9fa57ff19ba096b11b0890f5dd3c6a3338914"}},{"ruleId":"D2","level":"warning","message":{"text":"createCodeView.update (cognitive 19): createCodeView.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (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":"renderer/codeview.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6753d2f337dc8d83c4d38e763bee805e6609b65c80b09d5eec293597f57bd016"}},{"ruleId":"D2","level":"warning","message":{"text":"extras (cognitive 19): extras has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (6 pts), loops 3, ternaries 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 5 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":"renderer/cover-palette.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bd296e300e7957c6b6ae1836379d83f920be99158e9fd4b53677bb2b175d62"}},{"ruleId":"D2","level":"warning","message":{"text":"listWithKey (cognitive 19): listWithKey has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 9). 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":"helpers/youtube.cjs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d736d165fba704b131d55ce8e5117cfdc79b359b1fc197d912be8380d801f35"}},{"ruleId":"D2","level":"warning","message":{"text":"readScenes (cognitive 19): readScenes has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (7 pts), ternaries 2, loops 1 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 6 belong to 3 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":"renderer/library-core.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fccbc98caeb8e7714cbf513d1f8cc81a70ea90bbc68352084cc17c48c05945f"}},{"ruleId":"D2","level":"warning","message":{"text":"createFire.step (cognitive 19): createFire.step has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (4 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 11). 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":"renderer/fire.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f90e3ade2c50c4e3ab28c73232b61bd8e6ee6fbb5475a0cba8f0e3ee3f2f72"}},{"ruleId":"D2","level":"warning","message":{"text":"createWait.paint (cognitive 19): createWait.paint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/wait.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcea831b76ca0d40ea592c59c93584b0fd1e372cde5a6b745f415e980718726e"}},{"ruleId":"D2","level":"warning","message":{"text":"createPalette (cognitive 19): createPalette has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 4). None of this is in the body itself: all 19 points belong to 3 function literals inside it that branch (lines 103, 118, 126). 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":"renderer/palette.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d470a834dba86f4ee68c76cd90ada2b69ab499f4a89ebede12c70a408845bae"}},{"ruleId":"D2","level":"warning","message":{"text":"now-coding.html.stepTyper (cognitive 18): now-coding.html.stepTyper has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 5). 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":"prototype/now-coding.html"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27752820eb7c01586a7db998c8ecc32c585b9d55a92bc7a7bc30fb46fde77c7"}},{"ruleId":"D2","level":"warning","message":{"text":"codegen.calm (cognitive 18): codegen.calm has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/codegen.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c23ee63a59e1b08ce571ef8b11a9c0140c4f384fe8754fb04baaabde6b7cce"}},{"ruleId":"D2","level":"warning","message":{"text":"codeview.createCodeView.update (cognitive 18): codeview.createCodeView.update has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (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":"renderer/codeview.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1358d9f701f0e48afe9261e4ee86c927aee8737d8d6cd25259a0b49966e019a3"}},{"ruleId":"D2","level":"warning","message":{"text":"game.createPageTurner.\u003Creturned closure\u003E (cognitive 18): game.createPageTurner.\u003Creturned closure\u003E has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts) (nesting depth added 1). 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":"renderer/game.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac1267f93ef65b246fd3aa6b1ee30a754682f029b94589073bade2d945b07a5"}},{"ruleId":"D2","level":"warning","message":{"text":"lanes.createLanes.draw (cognitive 18): lanes.createLanes.draw has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 3, loops 2 (3 pts), ternaries 3, error handling 1 (2 pts) (nesting depth added 2). 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":"renderer/lanes.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ebaff92ddf44473b3b15bb67f1ef944e6c44cb75b44b0041b65372a0e48d07"}},{"ruleId":"D2","level":"warning","message":{"text":"song-memory.createSongMemory.put (cognitive 18): song-memory.createSongMemory.put has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (5 pts), loops 2 (3 pts) (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"renderer/song-memory.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeada7e57d6bfd6cc7431f6c0671cf1eb0a3dcb02f0db28209903e6e1cba557f"}},{"ruleId":"D2","level":"warning","message":{"text":"player.createPlayerBar.sendToSystem (cognitive 18): player.createPlayerBar.sendToSystem has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 6, boolean chains 3, error handling 1 (2 pts) (nesting depth added 5). 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":"renderer/player.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfd7a8dce840c4fdd31d220cf6ffccd7c4d513ce4fcb3e16efd50f39fb1b257"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.halfSrc (cognitive 18): library-panel.createLibraryPanel.halfSrc has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (2 pts) (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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":"renderer/library-panel.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6624cf4830c58777936e929442d19ee603b82dade0d8fb3b83bee1dbe5278d76"}},{"ruleId":"D2","level":"warning","message":{"text":"library-panel.createLibraryPanel.paintKeys (cognitive 18): library-panel.createLibraryPanel.paintKeys has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (17 pts), boolean chains 1 (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":"renderer/library-panel.js"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"9041ebaa7a147d1b66509fc80dc5eca1f38fe6f64d79534bf7ff86d48cfad61f"}},{"ruleId":"D2","level":"warning","message":{"text":"app.takeBegin (cognitive 18): app.takeBegin has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, ternaries 3 (6 pts), if/else 4, error handling 1, loops 1 (nesting depth added 3). 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":"renderer/app.js"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f2ac2cdb6733a5856d8d88ed6afd180d3bf1e12e2b6dc32b40ffe0868220c3"}},{"ruleId":"D2","level":"warning","message":{"text":"playQueue (cognitive 18): playQueue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/app.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5286eae23b5702976b9620b9297ac3b75bd55b0ee7635c6201e9b168bb206cc"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::wobbleCheck (cognitive 18): createEngine::wobbleCheck has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (nesting depth added 3). 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":"renderer/engine.js"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d52df88cf007e00c661c1cc339a5bcbc4c161f5d9f9e336d2aaa0ba8c646e51"}},{"ruleId":"D2","level":"warning","message":{"text":"failure (cognitive 18): failure has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 7, error handling 1, ternaries 1. 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":"helpers/spotify.cjs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f147ad5ec9555447433c41590d2a2720a22298c5574952380b9b55859f17907"}},{"ruleId":"D2","level":"warning","message":{"text":"dom-time.createAnimationDriver.drive (cognitive 17): dom-time.createAnimationDriver.drive has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (7 pts), if/else 3 (5 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (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":"renderer/dom-time.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b633289f3ed123bf13442526ab1bb804b27c38a762df8eebb032f936d0b2c6c8"}},{"ruleId":"D2","level":"warning","message":{"text":"codeview.createCodeView.render (cognitive 17): codeview.createCodeView.render has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, ternaries 2, loops 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (rawPiece, a function literal at line 270, piece). 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":"renderer/codeview.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"088c1cf0f54d544ff43e5080cd8e650fbcc00a473bd22b4cbbc3a5acf0f3669b"}},{"ruleId":"D2","level":"warning","message":{"text":"orb.applyMoves (cognitive 17): orb.applyMoves has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (5 pts), boolean chains 1, loops 1 (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":"renderer/orb.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a664bc7947ef9fa6c19dc43a46325fbef666a958c28128ea363ffe5967ab104b"}},{"ruleId":"D2","level":"warning","message":{"text":"Dancers.room (cognitive 17): Dancers.room has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 7). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (crowd). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/noodles.js"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ba2936a2d2b928ea7e3497dc9253d4f986a02dc234996c77d5b1dd30414683"}},{"ruleId":"D2","level":"warning","message":{"text":"spectro.createSpectro.read (cognitive 17): spectro.createSpectro.read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 5). 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":"renderer/spectro.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8166d841679be8968f9a285cea0bf3a3ef9071c262ed2f462974402150ca8e"}},{"ruleId":"D2","level":"warning","message":{"text":"wait.createWait.draw (cognitive 17): wait.createWait.draw has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/wait.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c0aaa12b091a36052b0aab812a62a6a67821ef072fd845ad7c37f4d760472b"}},{"ruleId":"D2","level":"warning","message":{"text":"app.paletteEntries (cognitive 17): app.paletteEntries has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11, boolean chains 4, if/else 2. Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 2872, 2879, 2918, \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":"renderer/app.js"},"region":{"startLine":2851}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ef3367fdae492be6ef7e9765b1ea76bbbc306c9410ab8b4c61d0b8c0bb46b3"}},{"ruleId":"D2","level":"warning","message":{"text":"nowplaying.swift.appName (cognitive 17): nowplaying.swift.appName has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1, ternaries 1 (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":"helpers/mac/nowplaying.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03d7e11299d2aa0751be07bc0ffc3c9284f26bc29a31f884719cef18d5c8794"}},{"ruleId":"D2","level":"warning","message":{"text":"createScenery.sceneProgram (cognitive 17): createScenery.sceneProgram has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 3 (5 pts), boolean chains 3, ternaries 1 (nesting depth added 5). 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":"renderer/scenery.js"},"region":{"startLine":6642}}}],"partialFingerprints":{"codehealthFindingId/v1":"344ccb323461443606314ed3541f1fd8ec55836059045510fff9a276059f0e78"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::hit (cognitive 17): createEngine::hit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 4). 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":"renderer/engine.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6a50f0e4a4fe4724a742ed0d871cb0ff6b2b7f4f893ba7527b97642c8857e5"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::listenOpening (cognitive 17): createEngine::listenOpening has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 4). 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":"renderer/engine.js"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b315f467731122e0bba377bc1bdde5668f4eb8e08c40ca6061e0a69e91adb0"}},{"ruleId":"D2","level":"warning","message":{"text":"createEngine::repeats (cognitive 17): createEngine::repeats has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (7 pts) (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":"renderer/engine.js"},"region":{"startLine":2618}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7d8dd6926078cd246fff4d4d20c9d9962daba778e30e04be24a3390f9a96df"}},{"ruleId":"D2","level":"warning","message":{"text":"createLibraryPanel.paintList (cognitive 17): createLibraryPanel.paintList has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 5 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 6 belong to 4 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":"renderer/library-panel.js"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd72d7bb132dbffc17f4c1695200769c530776063d2a69f7efad3091ed5f907"}},{"ruleId":"D2","level":"warning","message":{"text":"createWorlds::lookProg (cognitive 17): createWorlds::lookProg has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 2 (4 pts), ternaries 3 (4 pts), boolean chains 1 (nesting depth added 5). 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":"renderer/worlds.js"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"89df8de185b1c5ab0474f53ea41069e3ccc1baa66bfdbbbb5a5bde81b35674d6"}},{"ruleId":"D2","level":"warning","message":{"text":"createWorlds::shot (cognitive 17): createWorlds::shot has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (5 pts), ternaries 4 (5 pts), other 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/worlds.js"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e244e1c9779df7db1ab83c8a4238e8c9555ac394c64a04c6f9149801fd974aa8"}},{"ruleId":"D2","level":"warning","message":{"text":"parseLink (cognitive 17): parseLink has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (2 pts) (nesting depth added 5). 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":"helpers/spotify.cjs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"82edbcf727c82a34665e43f697ff84ead8a8df07d09d6e3c9830063e948d5f61"}},{"ruleId":"D2","level":"warning","message":{"text":"createPlayerBar.sendToSystem (cognitive 17): createPlayerBar.sendToSystem has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6, ternaries 3 (6 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 4). 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":"renderer/player.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f744cbe0b47edb824f3d5e6956520583aa03c2d9ffce26c0d118a125dab807ff"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchZip (cognitive 17): fetchZip has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (6 pts), boolean chains 4, error handling 3 (4 pts), if/else 3 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 3 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"update.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b2a8f168cf4537f2cd91b21ba03877b267a9afd97b2044ac78d0f9a2ef9941"}},{"ruleId":"D2","level":"warning","message":{"text":"placeLead (cognitive 17): placeLead has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, loops 2, ternaries 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 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":"renderer/melody.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2c8e782c711501e2958576044e46e2cf428f4597fefd7f26a1f45dba0d040a"}},{"ruleId":"D2","level":"warning","message":{"text":"checkEnd (cognitive 17): checkEnd has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 2 (3 pts) (nesting depth added 1). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 157, plain, a function literal at line 161, \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":"helpers/take-store.cjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3378235065c68ce87049c7f865e4f5d1c2861b22a6b73d879c0e80e1a6492e2"}},{"ruleId":"D2","level":"warning","message":{"text":"tuneFor (cognitive 17): tuneFor has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 4, ternaries 3, error handling 2. Of this number, 16 points are the body\u0027s own statements and 1 belongs to 3 function literals 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":"renderer/tune.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8bc82daf489e9e691c94f8df0830fe7ac6285785c3e3e09f4790611ea2bb21"}},{"ruleId":"D2","level":"warning","message":{"text":"createWait.draw (cognitive 17): createWait.draw has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/wait.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb0eef643aeb6c3d7118c54da001976b28276506ce4acff727d5e8139f77f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"drawShareCard (cognitive 17): drawShareCard has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, loops 3, ternaries 2 (3 pts), if/else 1 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 3 belong to 5 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":"renderer/share-card.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"717f4623452916e04aba51e69ce6ddbc6b1f98dec1a00a346861a7b7da94e721"}},{"ruleId":"D2","level":"warning","message":{"text":"now-coding.html.updateHighlights (cognitive 16): now-coding.html.updateHighlights has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 4 (6 pts), boolean chains 3, ternaries 1 (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":"prototype/now-coding.html"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa4074fedc60ede4cf570c73dfdd36e7bbf9d0d8782b44dcc3c566135b12ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"gameskins.highwayBottom (cognitive 16): gameskins.highwayBottom has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 3, if/else 2 (nesting depth added 4). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 796). 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":"renderer/gameskins.js"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc7c90faead7675bf43dafbe9bf43b75b92904962b0b1e98f074477c00461a7"}},{"ruleId":"D2","level":"warning","message":{"text":"portal.swipeOf (cognitive 16): portal.swipeOf has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, loops 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/portal.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7d79e1e57ffb9ea92e7a6a6c5b5b9642346ac0204b30c45250f2275d74103b"}},{"ruleId":"D2","level":"warning","message":{"text":"chrome.createChrome.draw (cognitive 16): chrome.createChrome.draw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 5). 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":"renderer/chrome.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6009fedc6d942e750019b95f22a37a3daf4269d12500e6f09aceb436744b34"}},{"ruleId":"D2","level":"warning","message":{"text":"Noodles.feed (cognitive 16): Noodles.feed has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/noodles.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9686ceafe0e0e65dde90b3bfe7c265a92ec6a0e2c1c581c5f698f981ad2379d4"}},{"ruleId":"D2","level":"warning","message":{"text":"scenery.createScenery.sceneProgram (cognitive 16): scenery.createScenery.sceneProgram has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 3 (5 pts), boolean chains 3 (nesting depth added 5). 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":"renderer/scenery.js"},"region":{"startLine":6642}}}],"partialFingerprints":{"codehealthFindingId/v1":"38758a1ad8587e26ced82928763db07ebae1ad03f05177bbe87ca540cfab93b3"}},{"ruleId":"D2","level":"warning","message":{"text":"player.controlsFor (cognitive 16): player.controlsFor has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 5, boolean chains 4 (nesting depth added 3). 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":"renderer/player.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd8ea8885a913523c6b905d723c06c4f0f712d4983998ad72e723c7eba0fe40"}},{"ruleId":"D2","level":"warning","message":{"text":"player.createPlayerBar.paintSpotify (cognitive 16): player.createPlayerBar.paintSpotify has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), ternaries 4 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/player.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0c0c64e752b7a3fdcfaeffcf8f06bfb8a3804b12e6129842bd379988d34845"}},{"ruleId":"D2","level":"warning","message":{"text":"player.createPlayerBar.press (cognitive 16): player.createPlayerBar.press has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (nesting depth added 3). 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":"renderer/player.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8d39ac551f9583fa1162caf83b462c26581775ef568deea57b5304fa258db0"}},{"ruleId":"D2","level":"warning","message":{"text":"applyTheme (cognitive 16): applyTheme has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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":"renderer/app.js"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5693f4a6e121cfdb738645263a849b726169788a94c94fd02b6e57d67b1b79e"}},{"ruleId":"D2","level":"warning","message":{"text":"createEventLedger::restore (cognitive 16): createEventLedger::restore has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 5). 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":"renderer/engine.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96419867c167871c759cc678821b22a9d54c66e5716246927cd38739afc299e"}},{"ruleId":"D2","level":"warning","message":{"text":"osPads (cognitive 16): osPads has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 3, loops 1 (2 pts), boolean chains 1 (nesting depth added 2). None of this is in the body itself: all 16 points belong to 3 function items inside it that branch (a function literal at line 453, fs, a function literal at line 466). 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":"renderer/gameskins.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"debfd678c278687936cd888e3c1cbca1f9893fed906e44e514944c8965710a8a"}},{"ruleId":"D2","level":"warning","message":{"text":"createPlayerBar.where (cognitive 16): createPlayerBar.where has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), boolean chains 5, if/else 4 (5 pts) (nesting depth added 4). 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":"renderer/player.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b67a75476e9b6a0cf0f69e0bc8eaea0a6b729522c40747e4c0dcf63fc5c7e2"}},{"ruleId":"D2","level":"warning","message":{"text":"eventCode (cognitive 16): eventCode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 3, ternaries 2 (3 pts), boolean chains 1 (nesting depth added 4). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 310, a function literal at line 306, (anonymous)::token, \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":"renderer/tape.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0d47f8c6a32f6494d6629de8d98542c32b41df1bdea1baa4e65262d62d7e0f"}},{"ruleId":"D2","level":"warning","message":{"text":"createChrome.draw (cognitive 16): createChrome.draw has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 5). 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":"renderer/chrome.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"17280bb9ede742f719350e6e5a416d28a00592d4a29ce64c8de9fdf077c46e86"}},{"ruleId":"D2","level":"warning","message":{"text":"line (cognitive 16): line has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (6 pts), if/else 3 (4 pts), loops 2 (3 pts), boolean chains 2, other 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/cuts.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f77b7070e5633e7bcb6e8e1453aec136e3801b14560ff816bac69406036d93"}},{"ruleId":"D2","level":"warning","message":{"text":"closeUpRect (cognitive 16): closeUpRect has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/fx.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c682220d89887e50affb7ee81235dba3e3dad7caa925bc1f7d2276f3d7fbb78b"}},{"ruleId":"D2","level":"warning","message":{"text":"readLinks (cognitive 16): readLinks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 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":"renderer/library-core.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"12260f38ffdeef6c0aafbe1bbc7bd2f2d94c59e3980d4453507e1a427b004cb4"}},{"ruleId":"D2","level":"warning","message":{"text":"createControls.refresh (cognitive 16): createControls.refresh has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (6 pts), if/else 3 (5 pts), boolean chains 2, loops 2, other 1 (nesting depth added 5). 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":"renderer/controls.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad73902832dc146a204185e43c089520ed09b5282807ac8107abcc4c03f3a0d"}},{"ruleId":"D2","level":"warning","message":{"text":"createTracker.open (cognitive 16): createTracker.open has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 6, ternaries 1. None of this is in the body itself: all 16 points belong to 4 function items inside it that branch (onmessage, onerror, a function literal at line 36, \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":"renderer/tracking.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f2026e89587d28a3800f0ddb45b58a523124bf62a0eb150459e782c660b00"}},{"ruleId":"D2","level":"warning","message":{"text":"createEar.onmessage (cognitive 16): createEar.onmessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 4). 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":"renderer/ear.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"750010ce62511a1610035f79f2995d617c94109ea36d769c73b9fb3590548792"}},{"ruleId":"D2","level":"warning","message":{"text":"createAnimationDriver::drive (cognitive 16): createAnimationDriver::drive has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 3 (5 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (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":"renderer/dom-time.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"623619b386266f6d301c9036470f327de4552ce9df8e146daeea5bd3a0d2807b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: engine.createEngine: FunctionTooLong \u2014 createEngine runs 1748 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1648 over it, 17.48\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":"renderer/engine.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fae9542235fc049520acebaca50e83395cdbf7641efd0770925db95dcc9a2ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worlds.createWorlds: FunctionTooLong \u2014 createWorlds runs 574 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 474 over it, 5.74\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":"renderer/worlds.js"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"345bdd965ce4cc5c4e38db69e8ca3ff04a58b8a7ac774cc2138a5ecb1b97abad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: game.createGame: FunctionTooLong \u2014 createGame runs 518 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 418 over it, 5.18\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":"renderer/game.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ea201aa5a7bc13c36783e545febd83ff8b0164980385dd5530c47c94536247"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/app.js: FileTooLong \u2014 2484 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). The bar is 500 significant lines; this is 1984 over it, 4.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3023929d15d088591d3959111e9c4f1bae41fa6688c82154af8ac75b10af4444"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/engine.js: FileTooLong \u2014 2100 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 83% of them inside a single declaration: createEngine (546-3302). The bar is 500 significant lines; this is 1600 over it, 4.20\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":"renderer/engine.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec3545b3d0bac0583a49f708d76fd1da43d27bd7fd3c9bd890d90170fb2ee18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/worlds.js: FileTooLong \u2014 1503 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 61% of them inside a single declaration: KEPT (13-1170). The bar is 500 significant lines; this is 1003 over it, 3.01\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":"renderer/worlds.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bf59b8e198800d3cb561600cc9e636fc2803858c43cb1787001de674c9312f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeview.createCodeView: FunctionTooLong \u2014 createCodeView runs 280 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 180 over it, 2.80\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":"renderer/codeview.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa057e0e224a2dcb206cfd0181f4398b03e0097d654cf31ed2f5643ae75d7569"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: post.createPost: FunctionTooLong \u2014 createPost runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.61\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":"renderer/post.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d982eb12d6696808863057976b35dddd1074020d18e70ab72b5f3a18e7494a14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: portal.createPortal.draw: FunctionTooLong \u2014 createPortal.draw runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\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":"renderer/portal.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"276e08448164c04be8a26feb865acb258c408641ac232b7ea52f12647a0740ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/library-panel.js: FileTooLong \u2014 1123 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 623 over it, 2.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a7a8c80d292a062e163c413826b79049bc72a045d8363174bab72721eb33d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: spectro.createSpectro: FunctionTooLong \u2014 createSpectro runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.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":"renderer/spectro.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3281a21415247bc595e8acb5f3c21cab1f4cde20f27cd85a5cee7903256f9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: prototype/now-coding.html: FileTooLong \u2014 983 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 483 over it, 1.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/now-coding.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4972f3252d0d1575075d07dacd245b66d387dd8c10b7b5f926742191a7ce9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: y2k.createY2k: FunctionTooLong \u2014 createY2k runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.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":"renderer/y2k.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2da539fae21e541a54808f4812a425d64ecd079eac48cec2998fdf3b8e7c873"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: storm.createStorm: FunctionTooLong \u2014 createStorm runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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":"renderer/storm.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6733c2d36220250d329938de2165755906b48cc8dd1a52e4c23fcd967dea2793"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voxcam.createVoxCam: FunctionTooLong \u2014 createVoxCam runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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":"renderer/voxcam.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"317da1b65512da7b629d4c91968e0ddadd1e8f69518e154f0e098bb2444000ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dominoes.createDominoes: FunctionTooLong \u2014 createDominoes runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.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":"renderer/dominoes.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6050ff98e93a64e8c340964c25cd9a494efc14264fa4e88d01b84108606d44ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/portal.js: FileTooLong \u2014 807 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 87% of them inside a single declaration: VERT (198-1139). The bar is 500 significant lines; this is 307 over it, 1.61\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":"renderer/portal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95876334611c1c7d40cac5e0f05df053ccf5716b63e3a24dcd2461b5ab21f737"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/gameskins.js: FileTooLong \u2014 772 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). The bar is 500 significant lines; this is 272 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/gameskins.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b2ee33f02f1a708498387db8425d104ab925716534063e262ab59c0fa7114f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lens.createLens.draw: FunctionTooLong \u2014 createLens.draw runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"renderer/lens.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"7565d2b16c0ea2509bd196dc32ffface99ae554d681b2415a6338a50546da9a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/visuals.js: FileTooLong \u2014 706 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). The bar is 500 significant lines; this is 206 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/visuals.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f56ff367124b59cfa3238dc1bb3ea4c33584d361fa3b6b212175ab5e749f20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./main.js: FileTooLong \u2014 692 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). The bar is 500 significant lines; this is 192 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad06e1ec37496e35c01eff979d378308be4dac82c0a1fe5e8099cb4075598deb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/post.js: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 191 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/post.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1990f5cf00bb987796d6a47c0a70045ce98e7dcb1d0a0e12e5d115237112650"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/game.js: FileTooLong \u2014 664 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 78% of them inside a single declaration: createGame (224-890). The bar is 500 significant lines; this is 164 over it, 1.33\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":"renderer/game.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4291f1adb4e3f12f43c6fe959de7676a0c277cb6575b09762b1fc8011d9b508"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: segcam.createSegcam: FunctionTooLong \u2014 createSegcam runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"renderer/segcam.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aca7485b83935e6e6ead88f0713cbe75288b1f91e2bf0c35be653983bce6fc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/noodles.js: FileTooLong \u2014 606 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). The bar is 500 significant lines; this is 106 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/noodles.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbae5c7e91dc81a1b74ef2ca483dae7a68952f4504ab0e30a8aee38fbf55a7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fx.createTakeover: FunctionTooLong \u2014 createTakeover 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":"renderer/fx.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"335e907720da16965764b5fca763d283843569f1c543a68e6c7c27b6ed57bdcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/spaghetti.js: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: FULL (370-825). The bar is 500 significant lines; this is 91 over it, 1.18\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":"renderer/spaghetti.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa82b426141d2ff79ccc357ff65594ef09e28771e25554a9634477a1131990ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: game.createGame.drawTop: FunctionTooLong \u2014 createGame.drawTop runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.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":"renderer/game.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2295087573f680cde902415f40b353c43c751e83689270b949fab903632b28d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: take-render.createTakeRender.render: FunctionTooLong \u2014 createTakeRender.render runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"helpers/take-render.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b576c1214f00becde2f14b2ed2221ca3442eef695e4a7168969d80b2ddd70a08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: clips.createClips: FunctionTooLong \u2014 createClips runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"renderer/clips.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbba61e0c53f4a78b5bfb9ce605667e0cdd89abe12e7fc32bce2618121f3d3fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: renderer/orb.js: FileTooLong \u2014 521 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). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/orb.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18538f08f3725382daa67f34162659ed3bba875975c83c0cf99b439427d16369"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Dancer.dance: MethodTooLong \u2014 dance runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"renderer/noodles.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"24605341906fc110d62706cb2ab774aef8a7115e4ebb6bd0c5648798e09794c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: warp.createWarp: FunctionTooLong \u2014 createWarp runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"renderer/warp.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b6eb3021cfb8f2612ba83b24f79a8441ef98023ab4a62642e83f6de445dc59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wait.createWait: FunctionTooLong \u2014 createWait 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":"renderer/wait.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"421c4cb2b4a5d72cfd137c1f06a29343d1e4a0949afba6388608a928ea3fb468"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): helpers/mac/faces.swift:85-100 | helpers/mac/nowplaying.swift:126-146 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/mac/faces.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"60757a0e512b13b51903cfbfc4a93a010d89eb0dbb0520b66bf9e3effd28ee20"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 5 shared lines): tools/handheld/clear.py:56-64 | tools/handheld/concepts/cc.py:31-39 | tools/handheld/model.py:45-53 \u2014 These 3 members are variants of one another: a block of 5 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48a80f127ae218d409432b12680d3a03f8b37ed56d9df192cd5046ca82f7bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): tools/handheld/clear.py:395-405 | tools/handheld/model.py:306-317 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8423b4e5a68470e0c321b30a50a558d6dfcddc32621373f481165ef4aace2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): tools/handheld/clear.py:136-144 | tools/handheld/model.py:121-130 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfa149643ac16e871f428299e62fa774c3d365826b33ad837d338d10c21b0ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): tools/handheld/concepts/labels_jp.py:16-26 | tools/handheld/concepts/stickers2.py:14-28 | tools/handheld/concepts/tex_wide.py:14-26 | tools/handheld/concepts/textures.py:16-32 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/concepts/labels_jp.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"619722c77ae6ad0848bbad764a01a933ea71af746982ecede08495746d9cdd45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): tools/handheld/concepts/stickers2.py:288-299 | tools/handheld/concepts/textures.py:35-49 | tools/handheld/concepts/textures.py:100-112 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/concepts/stickers2.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d03588eec3349d5efa853d8ade63f51b41e9b200d7aacc341f9cb07ae918b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): tools/handheld/concepts/cc.py:327-344 | tools/handheld/concepts/flip.py:66-74 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/concepts/cc.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d72a2129339ad368e54e85aa80ceabc01efd91d04c4d430fdfaf731b486bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): tools/handheld/clear.py:74-85 | tools/handheld/concepts/cc.py:49-58 | tools/handheld/model.py:63-75 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bc8acdd74c6159bb0d8de4a2b0d3d0b721c88e9b037e29069f9a57095231c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): tools/handheld/clear.py:106-122 | tools/handheld/concepts/cc.py:98-113 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08611f41a0ae8602f726d64ffd0e87fed3373d593fb4d4a43ec244c62cad085"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): tools/handheld/clear.py:296-303 | tools/handheld/concepts/cc.py:192-201 | tools/handheld/model.py:204-211 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cd8f4863603083707f0dbd4d003ceb5efa5eb1093f0c8de06389deb2965fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): tools/handheld/clear.py:438-442 | tools/handheld/concepts/cc.py:204-209 | tools/handheld/model.py:348-352 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d97a5ba8cd25c649607f08c9db0016e21e45e41b8588324926b60abfb5c6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): tools/handheld/clear.py:527-529 | tools/handheld/model.py:429-432 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ccc2689483e8b878e79d779c35501983c7b612fe852d0518b92e4efbbcf72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): tools/handheld/clear.py:158-161 | tools/handheld/model.py:133-136 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df7cdce28bf24c648f87ba2f25a4ee9e2ab09dd673636b4b03e181e84f7e1fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): tools/handheld/clear.py:70-71 | tools/handheld/concepts/cc.py:45-46 | tools/handheld/model.py:59-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"12af5d506b5fd07c4dc6ff2beaa51e6ef72e9a7fb55933045e5f2529ac5887e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): tools/handheld/concepts/cart.py:113-115 | tools/handheld/concepts/metal.py:198-200 | tools/handheld/concepts/wide.py:192-194 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/concepts/cart.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a9a99eea51ccfce9cdcccd9bbe9b9d89b87fa39515d664c081a6afea63c01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): tools/handheld/concepts/metal.py:136-138 | tools/handheld/model.py:218-221 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/concepts/metal.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9be7fb631174bfbeab42863467b938ca95f3d1f027f4233367f9227cf6588b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): tools/handheld/clear.py:67-67 | tools/handheld/concepts/cc.py:42-42 | tools/handheld/model.py:56-56 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c872ac99c1aaa38728d9c08e01286065ab999fa730ea1df55888db88512793"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): tools/handheld/clear.py:91-93 | tools/handheld/concepts/cc.py:75-77 | tools/handheld/model.py:78-80 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d7a5029935cc4df0f4ebed1d58d7fe47c59009bd9a0ecef6c37e10e40d9ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): tools/handheld/clear.py:96-99 | tools/handheld/concepts/cc.py:89-92 | tools/handheld/model.py:83-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00b0444dcab71b6bd7f783d80de27b19631dad1253f710eb6af491f5a4521ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): tools/handheld/clear.py:108-113 | tools/handheld/concepts/cc.py:100-105 | tools/handheld/model.py:95-100 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01ff8b0696f1e9054a652c5d3c3c1c3810426768d27f1d39ce286740d57bfdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): tools/handheld/concepts/tex_wide.py:29-34 | tools/handheld/concepts/textures.py:35-40 | tools/handheld/concepts/textures.py:100-105 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/concepts/tex_wide.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d9f8253a5fc733af2f1e9b798fad174076f81a84fcf5da8957c1e602eb3bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 3): tools/handheld/clear.py:81-85 | tools/handheld/concepts/cc.py:54-55 | tools/handheld/model.py:71-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/handheld/clear.py:81\u0060 calls \u0060to_mesh\u0060, \u0060free\u0060 and \u0060tools/handheld/concepts/cc.py:54\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca49185f9f8e4cac39a78a7fd9e6a5ab5b71fe336e9c04641ab3c3516b6a3b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): tools/handheld/clear.py:60-64 | tools/handheld/concepts/cc.py:35-39 | tools/handheld/model.py:49-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"08eff26cccd94dbd5b2c183c8add48b44da766ec8db5f19e01709ad4668d021a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/handheld/clear.py:117-122 | tools/handheld/concepts/cc.py:108-113 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3e0cf58508a807f8eddbc1f0cc8f907bd81c0d0cb6f2169e1429fc5e624c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/handheld/clear.py:136-141 | tools/handheld/model.py:122-127 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"11113899a5bbfa25c78b64e27dc19a56e4d659d3681536810c93ef4c425ba2bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/handheld/clear.py:395-399 | tools/handheld/model.py:307-311 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/clear.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"338d7065d56a96203f0795c7ff6ff37f4d56143b5e0adac684a65f56243a5c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): tools/handheld/concepts/stickers2.py:15-19 | tools/handheld/concepts/tex_wide.py:14-18 | tools/handheld/concepts/textures.py:17-21 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/concepts/stickers2.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c778404767df5ec65de5785d734ccdcd04192754f0f107fcd175690bf3b603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/handheld/concepts/stickers2.py:293-297 | tools/handheld/concepts/textures.py:106-110 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld/concepts/stickers2.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d353e753545fcaa8c66d44d7c7caba81c0554cdd48503eaefa0891cd1eda99b7"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: mp4-muxer: mp4-muxer 5.2.2, declared in package.json, is marked deprecated by its publisher: \u0022This library is superseded by Mediabunny. Please migrate to it.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"937051acde9cf2515de1076f1de3bb3d8b7c5d58a3a6ec06bd85209449010517"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/engine.js: renderer/engine.js changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 1228 in engine.createEngine at line 546. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/engine.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/engine.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fa06994ca2222272a935d7206a8ebf1fad5fe7066a701c992b6eae3e895380"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/app.js: renderer/app.js changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in app.drawFrame at line 2459. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/app.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"70df280006a87c83bd79c02074c2f3240c84d2d1a95aeb0f944459699e25059f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: main.js: main.js changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 112 in main.setUpIpc at line 527. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- main.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e2c8d315da151781ea192afc2c411a2c803d6be9d8bfc8b05cba1df5a18029"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/worlds.js: renderer/worlds.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 239 in worlds.createWorlds at line 1185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/worlds.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/worlds.js"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b65c3b5acf47b224b52aad94837616d7e1930362e137365fe5e5969294995a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/visuals.js: renderer/visuals.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in visuals.createField.draw at line 249. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/visuals.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/visuals.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d4b9820e839b5f05e855762eff22da6ffd53362f8823b5d11fa073983d46d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/portal.js: renderer/portal.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 146 in portal.createPortal.draw at line 838. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/portal.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/portal.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dfb4fb66e28804acb191ba391e484523513040a1ad40ddb4f563b6c61851e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/library-panel.js: renderer/library-panel.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in library-panel.createLibraryPanel.onKey at line 1320. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/library-panel.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9076d88a9c5217325b92b3c3be5b993a6b2eec55df4421dba95788eac7e4573b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: helpers/spotify.cjs: helpers/spotify.cjs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in spotify.createWebApi.list at line 285. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- helpers/spotify.cjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/spotify.cjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf0c2f7f65cbd50f6687debeca1fdc734b109085fc87ee2a1af31e2fde9c5df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/spotify-fake.mjs: tools/spotify-fake.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in spotify-fake.startFakeSpotify.server at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- tools/spotify-fake.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/spotify-fake.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"456579c218c7b418e4d857eac61c6cede401fbac8d624391f65b64dbdec64c93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/tape.js: renderer/tape.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in tape.createTape at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/tape.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/tape.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"413e5460d863b6c1e9e96e3c9ca284d977e4a42989ae231bb68f8d3295463e5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/codegen.js: renderer/codegen.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in codegen.buildLines at line 302. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/codegen.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/codegen.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a2584bfdc72927856a7f3d8cf4cd921f69ff8022effbdb82d7754c9e0281f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/detbench/page.js: tools/detbench/page.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in page.default at line 1. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- tools/detbench/page.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/detbench/page.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de8b41828b0972f54e0e4ed83fe7eb08ed2c5a841bdd9d5c7424a081bd501f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/codeview.js: renderer/codeview.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in codeview.createCodeView.plan at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/codeview.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/codeview.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"835cb48c47d5bc59101d411ca4f91459130e0945a77ab5ae595ef46ee1e7a4de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/player.js: renderer/player.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in player.createPlayerBar.update at line 243. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/player.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/player.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bd7306ca579ea29721797be5634672c43029289456613483a84654fe5733ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/exportbench.mjs: tools/exportbench.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in exportbench.scoreExportRun at line 300. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- tools/exportbench.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/exportbench.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eca0d8942c590ddaea5ea233b55ea90e0bc314fe9bc4b4c4a7367d3b773d76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/library.js: renderer/library.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in library.coverGlyphs at line 315. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/library.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d575498d03c7371cda8bb51167745d844e424c2a6f91a7c7fc403a996dcd9bee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/game.js: renderer/game.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in game.createGame.draw at line 806. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/game.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/game.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e87e2d0bb1bdf3a3201fa1f45fb777525b1614807be61b1c73e6742b9da06e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/spectro.js: renderer/spectro.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in spectro.createSpectro.draw at line 344. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/spectro.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/spectro.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff932630951b7dd466f2c427e906ee7ad5e0a22b3dcd3cfaac99d8e2ede0d8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/gameboot.js: renderer/gameboot.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in gameboot.paint at line 84. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/gameboot.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/gameboot.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"570d91bd21dde68cf45437cb9e36ab7b1f17d018b4c51cf459e22eb67d4d2a41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/dotcam.js: renderer/dotcam.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in dotcam.createDotCam.draw at line 159. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/dotcam.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/dotcam.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5d1e58972b8d139220d3543f37f8090372c264a14a5749212043f4eabd32f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/orb.js: renderer/orb.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in orb.createOrb.draw at line 678. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/orb.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/orb.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef4a69c6f5e5dc328ac99d673b0733929b9eb41380458b10b5e711c46048e43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/voxcam.js: renderer/voxcam.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in voxcam.createVoxCam.draw at line 148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/voxcam.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/voxcam.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5b250be7c8b22d72735d51eb5babeb3c55111308e91f246aff67a1d40d0384"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: update.js: update.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in update.check at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- update.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"update.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4463be44963b224630a677ac924ed814f44cd8db1925f36d830ee73fa76627a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/glass.js: renderer/glass.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in glass.createGlass.drawCode at line 272. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/glass.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/glass.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff11ff712b2c9ff91cfaa35da67e76269e0c2f9b5b5c721554ef3d4f9104d82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/gameskins.js: renderer/gameskins.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in gameskins.osTop at line 317. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/gameskins.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/gameskins.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"be65fb866581336cc2bba372427153249b3557af6968880a828ff7cd6a0b7fb5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/dominoes.js: renderer/dominoes.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in dominoes.createDominoes.draw at line 227. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/dominoes.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/dominoes.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fae7a7b5b91b43264e48f3fc181c54aef35eab3bf2dbaf2a58a58a3d4bda85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: renderer/tracking.js: renderer/tracking.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in tracking.createTracker.update at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 21:19:03 -05:00\u0027 --until=\u00272026-11-16 21:19:03 -05:00\u0027 --full-history --no-merges -- renderer/tracking.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/tracking.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee29f83996017c3da949c6af8fbf76e78e30a16264ff2fbbb86c26429a949a4e"}},{"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 11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The snow: a log cabin on the far shore of a frozen lake, snow on its roof and on the pines round it, its windows lit; mountains behind; the toaster ice fishing  \u2026\u0022 repeats the code it sits on: 30 of its 33 words (snow, log, cabin, far, shore, frozen, lake, roof, pines, round, windows, lit, mountains, behind, ice, near, night, aurora, hangs, falls, hats, busy, blown, wind, shimmers, drifts, music, flares, kick, float) are already in \u0060const SNOW = \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":"renderer/scenery.js"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3af334d8d6c2d935c40080ffaeaa92535eb83f2b848abb7bc6523f4415abfdf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The glyphs, each from the sheet, over the paper. In its own colours: each in its colour, on a night sky (darkest overhead) or on the day\u0027s paper; or in the them \u2026\u0022 repeats the code it sits on: 13 of its 16 words (glyphs, sheet, paper, colours, colour, night, sky, day, theme, ink, background, shows, strength) are already in \u0060const PAINT = \u0060#version 300 es\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":"renderer/scenery.js"},"region":{"startLine":4174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c62eb62ae19f0781f08af02cd798663040ff8b6eb3d19518a1b717bfe69f6b1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022a cyanotype: a contact print in Prussian blue, brushed on\u0022 repeats the code it sits on: 5 of its 6 words (cyanotype, contact, print, blue, brushed) are already in \u0060const CYANOTYPE = \u0060${PREFIX}\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":"renderer/worldlooks.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adb675383dae4b7db9b759bf6cd9fa73592d5760671190a19a4acc01c17d8e3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022navy with an orange stripe\u0022 repeats the code it sits on: 3 of its 3 words (navy, orange, stripe) are already in \u0060const navy = [14, 24, 70], orange = [255, 140, 20], p = coverPalette(coverPixels(\u0027navy with an orange stripe\u0027));\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":"tools/cover-palette.test.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"238adf678b364171d27ea2476799e42555e1fa91f22ea0b3206f14c302b5eb93"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022red and cyan halves: one of each\u0022 repeats the code it sits on: 3 of its 3 words (red, cyan, halves) are already in \u0060const halves = coverPalette(coverPixels(\u0027red and cyan halves\u0027));\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":"tools/cover-palette.test.mjs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf22455d577110faca22bd5dde70f9ac5f836073199ccc1a975e7df2ce4a4621"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022(a PNG a tag calls a JPEG)\u0022 repeats the code it sits on: 4 of its 4 words (png, tag, calls, jpeg) are already in \u0060same(await find(id3Tag({ version: 3, frames: [frame(apicBody(PNG, { mime: \u0027image/jpeg\u0027 }))] })), PNG, \u0027image/png\u0027);\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":"tools/embedded-cover.test.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4918e377a55319f01347cfe9618ed1c00c2a21efc8aef15de57ea353766482"}},{"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":"3ab75b2b0298087930f6c5699d59c4acd1e682bbc4358cad5ade0f6d97249231"},"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":"c60b3665c2320f582225020348550bf05efc2e0671387a332b9a2805cd03072a"},"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":"5ba34218502596dbc98e36a1d9bafcaaa7a50812210ab92b59cf3433f64b1740"},"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":"34e991219ba7056da5b4b1eec572f81ee4cb4a866d42d8debb54aacdf7bb6296"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d40ca5f6448da5ab58da77f158ca164f9f772997ce1c9e783cfd31deca6343f9"},"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":"ca0061937a4e5339e256448113a8b0d83e0aba601d98a4359ddfbc3237d4b68c"},"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":"44c81bd8c82bb9322574d911008a162096bbe8097644197119d9df1ab1f8d749"},"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":"66726d7a6816f975b58556338d4e1b59d523a8b813471fdbe37e5cb126a5e7e1"},"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":"4c313268c6ae17585ee2ea87e912e5f2bf7393dc06f4f872d7a29779ac6e513b"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"d00a87013fd7674a6b1bebda15385e666f43192359b2abd8016d77082ff499ee"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"fd50a7cddb96815675f8eab6e1ca0639538ba47a3e51efd19cf3d42818b9ee5d"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"103fdf9aca0a586253378501d06d1a8b0a6b3c289fe848d14aa5a51794897d2d"},"taxa":[{"id":"CWE-1188","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"997188c5a87600216023a308dc223545c2f0e7860b008c38b875039b91482872"},"taxa":[{"id":"CWE-1188","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"01ac870314f943ed8b6ec41160a34528246fce96206f22fd8091787fbde27a8e"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"9ab78645ed16aed7a74b9d812588a3e619caa880269343c51987d59734633934"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"5b325b7de66e1353f8976338c779379e4c037eb8b935e6aaa3cc3a505eb22f89"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"6e1a715c45d5a05e90b3a6bae84027473819b64000287c992f652c6390a92a61"},"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":"22aca7b625b68fa94997d7459a699e06f4122e5e7d222b8a9840e7bcb711c775"},"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":"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":"94b86695468bd6ff77f1153b10e69328a173738a4f4656a893decfedb46aa1f1"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"5fc1ccb9c6f9668ec05ccb96c7fab031222be0222c2a1a9f37610b89b1560381"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"6532f69593dd3d2ea46577ad478f1657ba969b6919f855a6261cf5feb9c06e85"},"properties":{"dependency":{"package":"undici","version":"7.30.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.30.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"079c068bbc25a4bc28f959e26a2bc1419280b953408cfc6dc65a76b603d0adf3"},"properties":{"dependency":{"package":"electron","version":"44.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"44.9.1","relation":"direct","declaredRange":"44.7.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"254e159535de5a467ea5671a4a81fbc3bf399623b11dcd1fc4071f2230ac5cd0"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"b57bd94a9054ab1a78280337953ab23bcb5d2500ea7f4b4abe8dc82a1ef1d633"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: news.js \u2194 scenery.js: \u0060renderer/news.js\u0060 and \u0060renderer/scenery.js\u0060 change together 100% of the time (10 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060234ffcce\u0060 Toaster 0.5.4; \u00607115f378\u0060 Toaster 0.5.3; \u006001151f2f\u0060 Toaster 0.4.15 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/news.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"681540e144ac3cd1cbc4debe61ada554682617c220a51109337c01d2dbf7817f"}},{"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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","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":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/card.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbeb8f1e30a40de23553cdbe2a93453be8d784a274c92f8ba3e3880d15520b7a"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/fx.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0689ab097d0b61e1953d618a9cf233e31d0d99ba6471f151f31a01371c068bd9"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/fx.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c842e72dc4d139f97e7d6e1d9e9832c5d723aa5545a93fdb941e1fe2e8fc31"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/game.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"876f0fbdaa04c537089e32e4566e8d3ba15774ccba79d66a5a32b868182e6d3f"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/gameboot.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1bd033ade269c5ff0ec60a94808c4a1da6e3ee9c116d0fbec3a44a41797481"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/gamescreen.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5303941c7051e7aefc33ca15ba8bc04527b91a649af7dd44bddd920d164d82f5"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/gameskins.js"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8e95608b3bbf15117201def8ce663c7ef0e190487d13d140ece1e212a7748e"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/glass.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1b1fbccd089fbbb8ffd985e114291fbdfda612cd9065ce5b9f2f302817d33f"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/glass.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4a1cb3f49ebd8f2c5a528c31fde05d234c431031e0406dfed578df30ef5783"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/index.html"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"932b6810154b636d99924fa7c13996be63551ca0a6906144cf839ac86d103841"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/index.html"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cffb86496e6f7a5747149d20a1c400ebe7c2b04028fd40e29d214040487a2e"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/index.html"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a143b0f23dec6f878b83eef26550a74d57bd94a98c1ef80a0af03c6e9384d2"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/index.html"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f5cdb1b6af2b56e1fe3f077625f04df2b1c4ca4b46c77273b8bf71893cf755"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/index.html"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d77c166ba3ba05e8ee0327164b773c2288140bb44ccaae301acf09fdab14f44"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/index.html"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84c8cc76ac6d322827ffdd38480489f1bd68c3b2ceaabe50e3ff44f3e279c7d"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/index.html"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f813def5d5eaedb1dede51f1b6cdff8e529ceb44626a41c4b7f9e9aa655887"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0219bc9d9d1094a09e8ca7013cb22e431e0f5c8d0860ce22cee9c811f438feb0"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/share-card.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cd5053637717a6240f12d71db506d8672b21247e17f2fc19feec526bc22172"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/storm.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fa517bbb9db0d17f577edb6d9224f4a492664bc42ffeb64a88f9ce18c4936d"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/worlds.js"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1361fc3694313fee0776fe0edda5f030a151d1161bdb79bf4875a097f985ff"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/index.html"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdf47711556f98c111c6ab8d8c640e88fe1e637a7344e8222101b7d9a7bcf90"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/index.html"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f85cd675a57961bece31386968d552cc8462faf4ddcba104fb57844434670d8"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/now-coding.html"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6f906d17dbc010048f8f7f8601c86f8d1d83f01dd9a8cb63ad6383006fd340"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/studio.html"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d415a1542a8e0769d74429dae42123ac2fe08d4e5166312a0b3230d37a63bbb9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/studio.html"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0107e86f8ba196e7c41f2946788b628690ed25128bad427bf88b5e962d32d4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/studio.html"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7351d23972d40e5edd8726020a9dd8765a062b8b03a5e8869a1b7c9aef600b4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/studio.html"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efa6ed6b0e6462058bb4c0207bc50bfb2fcc8286706ad70ad29c4934c2eabc6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060body.glitch #code\u0060 moves (\u0060animation: glitch .34s steps(2) 1\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/now-coding.html"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8382495084a17f83dbb0d3ec14db86b529290e5634c649a1fed3eb3fdf1df0e0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060#bsod\u0060 sets color: #fff on background-color: #0078d7 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/now-coding.html"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b73a65efb7108c6c4420c075b313b1d2946f4d4d1d064a3df28171279a71ac6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#toast\u0060 moves (\u0060transition: opacity .25s, transform .25s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/studio.html"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"47676f182f66f173097bd41c330f63a77b804e21da015e698ac8b8fceb4b2adf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#stage .cm-editor.cm-focused\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/studio.html"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ffdb68511a760bd3adf060f0f6a3c33d10734668f931ea391c597645ca537d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.xp\u0060 sets color: #000 on background-color: #0831d9 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6e9047162e2477731ad91805a02c59cb62988bcacc13344fa4de2fc9a8f30e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060#bsod\u0060 sets color: #fff on background-color: #0078d7 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73d73c1eaf8ac14cc3efda1099477611ce166356c30fde0cf6a222849bc6c76"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060.y2k-shatter .bsod-shard\u0060 sets color: #fff on background-color: #0078d7 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"23151093aba8c7ddcb29acb9ea6405ebb6866475edadc1ac57865dc149975c0c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.xp button\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"421a500ecc4da3e914812e68c2b94ac9ed30d4302a15abf21a1a90bcafbd5001"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#library .lib-q\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"4497790ed42104dd380060ec2e086d41bb29c00f70efd50481fa9ad151cb1d21"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#library .lib-list\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cc0edcbe1826a2a1a87af6cafe67432c38f5f335f1ec0a4e6b716b1b7d1eec"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#library .lib-address\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35d29228353fdeb442a620d2f6214e182d023333ffcc0a7138ab9356e3750f3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#library .lib-cover.real\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"40737b09b3ab7188fbbfaa977bce2d16ff33992bd12d13bc695f2ecd4119846f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#library .lib-cover.lib-spot\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"639d02200826cff9fece793cdd466d0a8c497fa7f21f566035c4519f9432697f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#tube .t-roll\u0060 moves (\u0060animation: tube-roll 7.3s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c90e721184bee9aaed8a088d9d6ffffa540e7a104143d41806fb7041e76f8b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#tube.static .t-static\u0060 moves (\u0060animation: tube-static .34s ease-out 1, tube-snow .06s steps(1) 6\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e1e2d396688efbc20e65c12283d5435bf36d3192f1b1678619441b994bf4fc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#tube.power-on .t-power\u0060 moves (\u0060animation: tube-power-on .62s ease-out forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd23ba32b78a35023d158f4d71e97ce6ac61fe7299b8b7423e72bcfea27e5a1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#tube.power-off .t-power\u0060 moves (\u0060animation: tube-power-off .5s ease-in forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee9991b2716344c43a0325fb6af96b64b2adc68962e82198fdf4870431c7e80"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060body.tube-on.jolt \u003E :not(#tube):not(dialog)\u0060 moves (\u0060animation: tube-jolt .36s steps(1) 1\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c42c05728189627b21169ac42c3f0963dc5ee40fa15aac017ec87c2d682b621"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060body.glitch #code\u0060 moves (\u0060animation: glitch .34s steps(2) 1\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffdae0544b7c0579acb3fab6c09f7f158594b70d14a47742729e7434215bc2d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060header \u003E #b-star\u0060 moves (\u0060transition: opacity .5s var(--ease-fade), transform .45s var(--spring)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ab457cd1ad8a60a635ca0cd87ab965882c2e33fa2d4a9639a8352950481209"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#desk-front .balloon\u0060 moves (\u0060animation: pop .45s var(--spring)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6265072d4f2edc618dc0a79ecda27355a2c0c6a8126fc6a9a2d9583845994a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.xp\u0060 moves (\u0060animation: pop .45s var(--spring)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaaadc336952b06ef0084032cda5c0c6e356640f51275122255a14591cb6682"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.crt\u0060 moves (\u0060animation: pop .45s var(--spring)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0556ae304e80406ef0051c7716e63b0a7fa969228c904a465dbe3cf2f79db6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.mini-bsod\u0060 moves (\u0060animation: pop .45s var(--spring)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/style.css"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ff569eca6ca1007fff6c656d0e685a2aa535b7d332cdb7f671bb8dc19c4d32"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060s.animate()\u0060 moves (\u0060Web Animations API keyframes\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/stars.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbeb4a7ceb1e7cc4d7b550b69c90fdbb200f3b4e13de09418d5083a0e9388ae"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060star.animate()\u0060 moves (\u0060Web Animations API keyframes\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/stars.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18ea23c1cfeac13d8e09f0f20e82db87500c6c0366bdef06bdb85f4cc90c6d1"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 3 application file(s) sit at the repository root beside the build and tooling files (\u0060main.js\u0060, \u0060preload.js\u0060, \u0060update.js\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P12","level":"warning","message":{"text":"Test suite runs only after the merge: \u0060windows.yml\u0060 run(s) the test suite, but no workflow that runs tests is triggered by a pull request (or a merge queue) \u2014 so the suite reports on code that is already on the default branch. A red build there blocks nothing and the only remedy is a revert. Add the pull-request trigger to the workflow that runs your suite so the gate applies before the merge, not after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"731ad560de6aa35d3e92103d5ad0fbec4c54f771b709281e852941847e03ef03"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 123 JavaScript/TypeScript, Swift production file(s) this check read across 2 module(s). Each was searched for its ecosystem\u0027s logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger; Swift: os.Logger/os_log/NSLog, swift-log, CocoaLumberjack, SwiftyBeaver, XCGLogger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 2 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":[],"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":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/spotify.cjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff94b2d5b5114ffbdb9b7d28b1bb5dc43023c05a6348bcdb14533fc69eef09f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.openSync\u0060 in \u0060render\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9ef9bdf1843fcf1f8cf66e92b279a623e7c907c32162211d9cd811770f3003"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeSync\u0060 in \u0060listen(\u0022take:write\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4822ac9ee27d62784842a212c14c4041289749060d961535990ce9b27ba36101"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.fsyncSync\u0060 in \u0060render\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1881e15c68bbefe37f3e6d0d87a9a28f32a45bda712a35bd3d0390fe6a114388"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.closeSync\u0060 in \u0060render\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f687761f629cc25c9bf5b2e48a545b81a0ea9fc46991d5d049a0f856f626f7d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.renameSync\u0060 in \u0060render\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8007d2562f1b1504c12b414da91f8468f164408297260285547b3eebdb537223"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.closeSync\u0060 in \u0060render\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"637ae42b7505c7406bf97c748cbe26dfc9c67a121c0d3aa393e6e8b6727fe390"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.rmSync\u0060 in \u0060render\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7d0a0f6ebf1a5f3776921742d73b12d5fc492e58e12797dbb454d84003fcc3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060render\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-render.cjs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f27e550c3344e3165ce3b3cefd3045c9772224173a26d7919a011885b40634d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execFileSync\u0060 in \u0060callback to createServer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/handheld-language-check.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f48bd4d176a424d85c6fd46aca0d30287a2cae5e2f082346f0faa5b5294ad9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060shot\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1914de85a6f02f5a898ab9cced6c55aef4bce105d4745e196b946ee83cef9c5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readdirSync\u0060 in \u0060fixtureCovers\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7cbf48af1d515e74d163b6f1da2d626f61c59af9779d012ad48499eaf17e20"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060spotifyReady\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31ee1a46fcf20323d19e5a79716ea268411fc7f11b2ad2a6f476f66fe1b90ab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060spotifyReady\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7c84f48632d76daa28a1c38fc6f0ab39f8aad6830f33c06ab899a2db043935"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060step(\u0022spotify, your own library: the guide (four steps) and the field for a Client ID; a bad ID in words; the sign-in (PKCE) against the fake; the lists with their covers; the page never has a token\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"073dddde4ed279c24685c0a18beb618198f98332003cc03e2f4418c46cc254e3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060step(\u0022spotify, your own library: the guide (four steps) and the field for a Client ID; a bad ID in words; the sign-in (PKCE) against the fake; the lists with their covers; the page never has a token\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9135b41bdf61c4e0a4f5bf08966969129eccbf7582acaf687225a48db048fc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060step(\u0022spotify, what goes wrong is said as main says it: no Premium, no open player, a slow-down, a token that lapsed early (one fresh try), a connection that is gone (the field comes back, and signing in again works)\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26422d97a1f922e80eb87567b694add812dce93d089a665e3a56a0a4dffaa88"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060step(\u0022spotify, a list that goes on: a \u0022more\u0022 row after the first 50, Enter on it adds the rest; disconnecting asks twice, and forgets\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966f3bb22da7e6c4d4bfea80b875a0f1b3f00948d11ec9fe63fbcec52cfcb86"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060step(\u0022spotify, a list that goes on: a \u0022more\u0022 row after the first 50, Enter on it adds the rest; disconnecting asks twice, and forgets\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c92f0494beb15a5fca07e3d1a9087cb2b91fb8e1f95481ab0916ef39759ab32"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.realpathSync\u0060 in \u0060step(\u0022main refuses what is not an audio file inside the folder, whatever the page asks\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"21073583e8ce504dddf4ac5174df9055b4338a0221f91cf8a5b6918021e8c02e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060step(\u0022spotify after a restart: the pasted links are back, named; main kept the sign-in (no new one is asked for) and the lists load, through a refresh of the kept token\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/library-check.mjs"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df32fcfaebd89d08fd6b33984f77ac6a75b0e12db62a90cf75bbf22a442a08b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060shot\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/player-bar-check.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9da8d55cfb6c2810742b4822182e3c93793c0e4d88670adc2c2980d0ca7d262"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 323 plain JS \u2014 the untyped files are helpers/issue-url.cjs, helpers/library-worker.cjs, helpers/library.cjs, helpers/mac-update.cjs, helpers/player.cjs, helpers/radio.cjs (\u002B317 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (6 clone groups): 6 of the duplicated blocks reported below have copies in at least two of the sibling directories helpers, renderer, tools under the repository root. That concentration is one structural fact, not 6 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 6 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":"renderer/take-replay.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b654e38da6bdfa434ae0855a47c1b79eeb1b0ae5ce5ac16f3220a7079fe5b55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (93 matched lines \u00D7 2 locations): renderer/backrooms.js:80 \u00B7 renderer/earth.js:89 \u2014 the two spans are one implementation copied and then locally edited \u2014 1322 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":"renderer/backrooms.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c99a268cadb5883171c9cb513f1c4e61a54f80c486cc401f076bf6306a05a5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): renderer/dotcam.js:153 \u00B7 renderer/voxcam.js:144 \u2014 the two spans are one implementation copied and then locally edited \u2014 442 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":"renderer/dotcam.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"164fae0316c4073c269ee7ccb25e229855d7380f8d3b328553efd0fdbf697255"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): renderer/take-replay.js:27 \u00B7 tools/clock-harness-page.js:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 392 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":"renderer/take-replay.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56dab22c1b56ef3cacc009d9e48bf456a77dde26685ad0f562617c90f6d9a07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): renderer/scenery.js:6712 \u00B7 renderer/wait.js:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 309 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":"renderer/scenery.js"},"region":{"startLine":6712}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b7467a229f1ede3d3e1cf322349809d1492df88c5e256ab7fdaeb5e83795cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): renderer/audio-tags.js:190 \u00B7 renderer/embedded-cover.js:78 \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":"renderer/audio-tags.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"290a33050a7a3c7cf766a338de3613c216218036ad8adc596bab2c33041a4177"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): renderer/portal.js:606 \u00B7 renderer/portal.js:656 \u2014 the two spans are one implementation copied and then locally edited \u2014 214 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":"renderer/portal.js"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce9344fb94902b2cb0abf01d7063159acc6e3d6015b4db5f5b8bfb1b1791051"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): renderer/melody.js:83 \u00B7 renderer/melody.js:106 \u2014 the two spans are one implementation copied and then locally edited \u2014 282 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":"renderer/melody.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"771ead72f507127ee8604985f5f04df85aa756b9469535584cb255797593440c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): tools/clock-harness-page.js:15 \u00B7 tools/take-replay-check.cjs:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 859 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":"tools/clock-harness-page.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"203fc4a0cbdfe1ba5d893f88a529de16c21f2885c2028a4f769cb01d6e8a48ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): tools/library-check.mjs:71 \u00B7 tools/player-bar-check.mjs:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 323 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":"tools/library-check.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"700da6ec5493ec8c982a7920ea1707c01b23f35aad0dd42f8e65ff4a8aad6f7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): main.js:376 \u00B7 main.js:414 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 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":"main.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ccdb89cf0118a5040292387c5902ade707cd7f564b7c8572e9cd1f5232c9d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): renderer/lens.js:349 \u00B7 renderer/portal.js:519 \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":"renderer/lens.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b272290fc427f2a3985f4e5724528c58f2a766373829afec7cd63240de888f84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): renderer/lens.js:389 \u00B7 renderer/portal.js:564 \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":"renderer/lens.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecaaab9e86fa82522067aa896b20473a970d5ef34976099eb1e2342f1fb783f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): renderer/lens.js:458 \u00B7 renderer/portal.js:840 \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":"renderer/lens.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed46acde45dbf7eac58266ef43af99dab22389105cc496b8e719c2bdb27696b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): renderer/glass.js:166 \u00B7 renderer/orb.js:492 \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":"renderer/glass.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb2efe17408704c7d03d5a03e7d63cfb4a3db28c5505de521911fb586b9e898"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): helpers/player.cjs:118 \u00B7 helpers/player.cjs:145 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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":"helpers/player.cjs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"48551fead70adea743e7738ed304aa37ab2cb8783de01a44605b5019d28beb61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): renderer/glitchorb.js:89 \u00B7 renderer/lens.js:349 \u00B7 renderer/portal.js:519 \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":"renderer/glitchorb.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9cd1bf3bbc563e7fc2af7465b1e1b4ac291505d1ffef6c26642ff9f2f84ff2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): tools/detbench/harmony.mjs:71 \u00B7 tools/exportbench.mjs:239 \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":"tools/detbench/harmony.mjs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"30acf589d41d7faac5c3f89acc638b2bbd7dc0917adc8879e03a81b8a4caa6af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): renderer/audio-tags.js:65 \u00B7 renderer/embedded-cover.js:25 \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":"renderer/audio-tags.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e8ea08eda2c92361eecb32f0c4ab4ff7bc9435792fd74f561579b498bcdac2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): renderer/chrome.js:203 \u00B7 renderer/spaghetti.js:567 \u00B7 renderer/worlds.js:1237 \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":"renderer/chrome.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d7e5c965240729c11b8f38f92fa4bb1c450727eaf5b78033455d0b02ff4d7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): renderer/engine.js:3129 \u00B7 renderer/engine.js:3151 \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":"renderer/engine.js"},"region":{"startLine":3129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab022f0768b60e2aa561e4ab82d8d4ce98da7673bd067b437489455611c0ed9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): renderer/game.js:261 \u00B7 renderer/game.js:690 \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":"renderer/game.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc6390c506df4ab0a8ee90f5991ae3d609ff3cb50c7f35d5112f9a6bb2e89c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): renderer/random.js:16 \u00B7 tools/clock-harness-page.js:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 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":"renderer/random.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f956de7cce29d7cf51997696264b67eb5c85573dc094ef0b8076ca9d51d0567"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): renderer/scenery.js:6554 \u00B7 renderer/spectro.js:125 \u2014 the two spans are one implementation copied and then locally edited \u2014 94 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":"renderer/scenery.js"},"region":{"startLine":6554}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2d810d30c7b7bcf34baec96b29ca4492796eaf4b5e59b0676b181d9ea1d462"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): helpers/spotify.cjs:433 \u00B7 renderer/library.js:132 \u2014 the two spans are one implementation copied and then locally edited \u2014 121 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":"helpers/spotify.cjs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdad7aa304beb58afda369c350b31e2a7404494965e1a3f04f775f856ec443f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): renderer/codeview.js:40 \u00B7 renderer/codeview.js:66 \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":"renderer/codeview.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9d3c1855ba91ac9f10be9d3bbb92b38bc44511a3444a33a4bc4f780e64d375"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): renderer/fx.js:257 \u00B7 renderer/y2k.js:242 \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":"renderer/fx.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5158df6d518deda252a4f6b98c9d62e8f0d3be88c73c0dd934820f62a8888fc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): renderer/glass.js:401 \u00B7 renderer/lens.js:458 \u00B7 renderer/portal.js:840 \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":"renderer/glass.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75326c32c29f64b879233749f23f3b0e965d76c21d0ebdcf5e92a653815aeba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): renderer/library-panel.js:208 \u00B7 renderer/library-panel.js:608 \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":"renderer/library-panel.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7871e216cc5a7b5b9b86031575eb9ae6aa2cfb502aaa73ab90fbf54e29ca595"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): renderer/rings.js:42 \u00B7 renderer/rings.js:131 \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":"renderer/rings.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3fe9ba1f056b8c86c84178425bbabcb065b74f950bde6b286f0ea82ca3211"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): renderer/scenery.js:6721 \u00B7 renderer/visuals.js:122 \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":"renderer/scenery.js"},"region":{"startLine":6721}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbb37f0daeed533c4271b4ce591e0e3a6c59131600d97defb130b286c3ed71e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): renderer/voice.js:53 \u00B7 renderer/voice.js:65 \u2014 the two spans are one implementation copied and then locally edited \u2014 88 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":"renderer/voice.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7978c92625f8d8c439a6026fbb9b0f1b93d0104bbb3e8be349d90d3bfd34bc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): tools/cdp.mjs:15 \u00B7 tools/dynamic-theme-check.mjs:36 \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":"tools/cdp.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0cc4a78a57d27b964245c7c711ae98ec461fd9d429dbbe0e367e3048b2f82f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): tools/shader-render.js:171 \u00B7 tools/shader-render.js:322 \u2014 the two spans are one implementation copied and then locally edited \u2014 107 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":"tools/shader-render.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8df6b936e893917d5ee749c393627e58c96587fcf655ba540dd9b258984c7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): renderer/chrome.js:269 \u00B7 renderer/chrome.js:276 \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":"renderer/chrome.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89f80cdd5ea24d4bcc0d363605ebae09fa7f0697c4f5b6237cdcbddb717b273"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): renderer/demo.js:15 \u00B7 tools/checks.js:112 \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":"renderer/demo.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d7c16d5d2cc4a23b005673d04de9c099313dd618dfe2d133513d92fa223f1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): renderer/dotcam.js:115 \u00B7 renderer/post.js:619 \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":"renderer/dotcam.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00b7d70ed7fc4f9fa702477e02406afec2c5d8546a838e8b6d450927cabbbb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): renderer/engine.js:1368 \u00B7 renderer/engine.js:1385 \u2014 the two spans are one implementation copied and then locally edited \u2014 151 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":"renderer/engine.js"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"4019566f483319e4a3ecaf72e5590ddf635cb83b1d14e27993201f055b16428b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): renderer/gameskins.js:182 \u00B7 renderer/gameskins.js:280 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 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":"renderer/gameskins.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7750e958d5e615ce926638e211ac398e992c0972224a5ca6affdec22541f338"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): renderer/random.js:18 \u00B7 tools/checks.js:95 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"renderer/random.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92e5be4a967f9cbb325227965eea7a96be637b52031db89599814043e60fac1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): renderer/rebuild.js:332 \u00B7 tools/rebuild-check.mjs:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 177 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":"renderer/rebuild.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a89c62cfdb8ac3a3609437fa1877f9375f2fbcbdfde080f6b4457f3b1d6f023"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): tools/detbench/harmony.mjs:63 \u00B7 tools/exportbench.mjs:27 \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":"tools/detbench/harmony.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ec4c3b83f6d06959110a1f12152ec966e319eee167b38a7bde3552df1b44a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): tools/exportbench.mjs:397 \u00B7 tools/exportbench.mjs:427 \u2014 the two spans are one implementation copied and then locally edited \u2014 123 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":"tools/exportbench.mjs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1c8c6cae2c771ca2ddc6fe5f22b327fd328f7baca02c0b71a892e946ef601b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): tools/library-check.mjs:1447 \u00B7 tools/library-check.mjs:1625 \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":"tools/library-check.mjs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cae3b47910e73741ec97b5a679d7541b06690480bfc48c104a1b6f2b104c670"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): tools/shader-render.js:158 \u00B7 tools/shader-render.js:287 \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":"tools/shader-render.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8735ab264133f96c2ae07a805ef63c73bd5728446eb6055396fc60202cd16d90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): tools/stems-check.cjs:13 \u00B7 tools/tune-check.cjs:7 \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":"tools/stems-check.cjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fa2b1b0c49ab75d7c14d1af49fe9ff896dc4f7f80250c6e2df91d9b0aa31ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): renderer/app.js:1637 \u00B7 renderer/tune.js:67 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"renderer/app.js"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a6c62a4718812e7da46e66e072a7deb2ac09c2847f83f724dfef628b72217a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/codegen.js:52 \u00B7 renderer/codegen.js:218 \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":"renderer/codegen.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8430f85d6f8c747372a951c073733b5269b5f957baf3471aa46270dd5c0c62c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/codeview.js:291 \u00B7 renderer/codeview.js:299 \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":"renderer/codeview.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"647461d0c18048aa49ab73b61ec9c1df5264d0dac46999c753a79b04be95fd0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/game.js:338 \u00B7 renderer/game.js:359 \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":"renderer/game.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4075532984e7f64d9b70230b482a5d997842bb699215ce33f57167bb43730e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/game.js:547 \u00B7 renderer/game.js:680 \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":"renderer/game.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e11dca89fd12043c3c26c398dee116bb9940bb50dacae5e6439c94e0c7ebe2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/game.js:844 \u00B7 renderer/game.js:878 \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":"renderer/game.js"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cc6fd86102fac58edf77611893a9f7493d0f3dc6c44d19f73ad5bf06a78795"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/gameskins.js:239 \u00B7 renderer/gameskins.js:881 \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":"renderer/gameskins.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fcd5fb1595b195f24c50ff0d6dc98728d6279ac470adac0abd3409bf7b9e4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): renderer/glass.js:193 \u00B7 renderer/post.js:609 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 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":"renderer/glass.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9523750fa9188ab08dd0069804d9241406c008e7eac8528427a4d060d896ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): renderer/glass.js:193 \u00B7 renderer/warp.js:93 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 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":"renderer/glass.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e315af338eec1c864ceb4df81cd4aa1b580c3335908036c81d3611db82986db9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): renderer/glitchorb.js:111 \u00B7 renderer/portal.js:612 \u00B7 renderer/worlds.js:1325 \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":"renderer/glitchorb.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"530796f888b7b54c75833cf9b77ba7c555f87ca3de5761c3af964763b0e985e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/lens.js:420 \u00B7 renderer/visuals.js:125 \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":"renderer/lens.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63602ef895f4bfb66231228ee713ae3180b6a96a0d8fe5b1271b268d1bd4b79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/library-panel.js:663 \u00B7 renderer/library-panel.js:694 \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":"renderer/library-panel.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c62e8d619795214a77f055d9f043d5964c12a61f268ec23fe2dae4dd19259a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/scenery.js:6111 \u00B7 renderer/scenery.js:6432 \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":"renderer/scenery.js"},"region":{"startLine":6111}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0930c7445f65c7addd1abdfd76af68c2e795988035794a5f798588e4e49754"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): renderer/scenery.js:6691 \u00B7 renderer/scenery.js:7278 \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":"renderer/scenery.js"},"region":{"startLine":6691}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a82c7717a77c77bcf20367e3a32663caa7127cfcaf1a009d93bf53a5728e65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): tools/detbench/page.js:1 \u00B7 tools/event-ledger-page.js:1 \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":"tools/detbench/page.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb688108b392eb62eb0e477612794b1bf1d6d299ba09d09ddee793702f4ee7d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): tools/detbench/page.js:34 \u00B7 tools/event-ledger-page.js:34 \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":"tools/detbench/page.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96570caf03809aa6ce5c8bc80bc07a293a9512abcaca5f72fec65dbfc300afa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): tools/detbench/page.js:47 \u00B7 tools/event-ledger-page.js:45 \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":"tools/detbench/page.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7830c94b95f4ed56d34b97c9ec819b7629459bf333bfd3f11501fc00f9ec4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): tools/event-ledger-host.cjs:18 \u00B7 tools/real-recording.cjs:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 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":"tools/event-ledger-host.cjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b4be5a442b5e822ae8b511058d3731b76b508f7053b53d6ff746661a35ada9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): tools/event-writers.mjs:49 \u00B7 tools/exportbench.mjs:250 \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":"tools/event-writers.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ce3c82d391a8458d4aff06357307fbf3dc489f419f8c67daa6572d18ed98fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): tools/event-writers.mjs:3 \u00B7 tools/export-fidelity-fixtures.mjs:2 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 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":"tools/event-writers.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ca27b12b5d58b349fb82f34747343fc54b946ebe06d26de785379490429c4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): tools/export-fidelity-fixtures.mjs:2 \u00B7 tools/x-real-compare.mjs:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 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":"tools/export-fidelity-fixtures.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41a32cfcf4ccad4b306d1bcad05ce1ae99af24c893360aed9c4383c9c3e2bd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): tools/handheld-language-check.mjs:69 \u00B7 tools/tune-export-check.mjs:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"tools/handheld-language-check.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7557f564a51b115634aa30ccb7fa47235dddfbff406e32a11b06bc1b94be4152"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): tools/shader-render.js:107 \u00B7 tools/shader-render.js:238 \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":"tools/shader-render.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd47e793740b031e3d1ba75a159db778ff878cb6c2f97471b27783bead635db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): tools/shader-render.js:303 \u00B7 tools/shader-render.js:312 \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":"tools/shader-render.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a15e731e7d29492a98ce66f735795e2a68faffa6b880e662ff1beca43e9157"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): tools/take-encode-check.cjs:6 \u00B7 tools/take-tap-check.cjs:6 \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":"tools/take-encode-check.cjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7e56db90745e39a3955837215aeca305acfc5cb4108e0abb891a6ec3561781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): tools/take-encode-check.cjs:5 \u00B7 tools/take-render-check.cjs: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":"tools/take-encode-check.cjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b869ba84c219be0e65bdfdddf00cdcb9cd829953aba06e23907ec68bd4b66db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): tools/tune-check.cjs:6 \u00B7 tools/tune-real-check.cjs: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":"tools/tune-check.cjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1ddbf32e2b5cced07c7c9ddb70ff36770110bcadd1e3b2a5629bf178f368c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/chrome.js:246 \u00B7 renderer/spaghetti.js:623 \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":"renderer/chrome.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"96334e46fa4475c8990cdb69e29659513b9ac41ae01ff7ab6746aaa4900ed10f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/chrome.js:321 \u00B7 renderer/warp.js:54 \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":"renderer/chrome.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a108bb6e58549a44c9fb9411b560753fdae7700a73b679a23d837ad8e58597"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/chrome.js:426 \u00B7 renderer/warp.js:158 \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":"renderer/chrome.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"916cc179793a0430f5cb250533a20b402a369eade40655700720f28e5b897991"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): renderer/cuts.js:130 \u00B7 renderer/cuts.js:184 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 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":"renderer/cuts.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7d4f4585402804f62ea0fb19a7795481856e75e1c2959f993e1bbc5aef201e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/fx.js:128 \u00B7 renderer/visuals.js:989 \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":"renderer/fx.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"88144e95bf154458b2675d34d56f03cc1b5012d040018d526a5c8c3c317944c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/glass.js:246 \u00B7 renderer/storm.js:58 \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":"renderer/glass.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"253d7db36b080725c252c18283c392600f247d9fab56905b7ef63b115fe8728e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/lens.js:370 \u00B7 renderer/portal.js:547 \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":"renderer/lens.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c758a4aa822e28351dc19678aef7e21c6ead254942b3cbce1643d558d7c735"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/lens.js:625 \u00B7 renderer/portal.js:996 \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":"renderer/lens.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff60f7b111b5270f70fe779bc46d038b83687743e621d67cb4e962eb61a5147e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/orb.js:488 \u00B7 renderer/voxcam.js:68 \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":"renderer/orb.js"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f4a0f77fa3e233f4ba59d2042a533038c44c405a252dbf58434241bc7faba9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/scenery.js:6143 \u00B7 renderer/scenery.js:6469 \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":"renderer/scenery.js"},"region":{"startLine":6143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec98ce2c3adc353d570a4470815a7ddac88f7079806d31ef475bb3e747058bd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): renderer/scenery.js:7063 \u00B7 renderer/scenery.js:7088 \u00B7 renderer/scenery.js:7186 \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":"renderer/scenery.js"},"region":{"startLine":7063}}}],"partialFingerprints":{"codehealthFindingId/v1":"094436336f1a70e38a049aaca8204ea56a2c31b11717ba0fa1c11ad0a5b1ea88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): renderer/spectro.js:149 \u00B7 renderer/warp.js:75 \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":"renderer/spectro.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f8084e6d056121d05fab5189adcf44a0726f4752230cd8dbddccb17b2d6d7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): renderer/spectro.js:149 \u00B7 renderer/worlds.js:1285 \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":"renderer/spectro.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"348718964447b440ab680b500396b724bc789a0c0845096ad5b0ced7bdf1c690"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/visuals.js:279 \u00B7 renderer/visuals.js:336 \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":"renderer/visuals.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"841dd7364f6c4487c3cdeb1cff8ef5d4ae1741b8d2f1f35d703ab20b8b26c7ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): renderer/warp.js:125 \u00B7 renderer/warp.js:161 \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":"renderer/warp.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"104538373ff6141d94a4dc33b794836aaab8c4fb0555af703cd11893d48ce16e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/clock-harness-page.js:99 \u00B7 tools/clock-harness-page.js:108 \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":"tools/clock-harness-page.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd55fa17aa4ddbb6ac682203b8c217b01eacd858ba02e349d7e1fafaa1774a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): tools/clock-harness.mjs:67 \u00B7 tools/take-live-check.mjs:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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":"tools/clock-harness.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"530101e5a4bb0d2e90ab4d84e1f1aa61f527c51967b7a9dc877151c6bc604e30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/detbench/harmony.mjs:172 \u00B7 tools/exportbench.mjs:468 \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":"tools/detbench/harmony.mjs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"398e3f6f57b050484c6449e808ba25ba9f6fb5f5734311c93f9467720e1743df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): tools/detbench/harmony.mjs:21 \u00B7 tools/detbench/keyreplay.mjs:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 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":"tools/detbench/harmony.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0977c2dd2fe23119c02e79b00d84c79d3b7706f664031c07fbb2acc1908255ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): tools/detbench/keyreplay.mjs:10 \u00B7 tools/exportbench.mjs:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 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":"tools/detbench/keyreplay.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f191d13ee4b48bbaffe57f45f627387094643834bd4b1563befeb99d43a8e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/detbench/page.js:25 \u00B7 tools/event-ledger-page.js:19 \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":"tools/detbench/page.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1da8878635b399df6af883e14c8bad42acbe8a58839d66867ffe5542356b1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/detbench/page.js:150 \u00B7 tools/event-ledger-page.js:96 \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":"tools/detbench/page.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"070a23ad5cbb0487c984230c8351477f5ae3a3e59320fcae0221726d9375530b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/dynamic-theme-check.mjs:47 \u00B7 tools/library-check.mjs:69 \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":"tools/dynamic-theme-check.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c25ca8555489e3e96555bad0b9effd0de0084170806dbdbde98a2110f921c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/dynamic-theme-check.mjs:220 \u00B7 tools/dynamic-theme-check.mjs:241 \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":"tools/dynamic-theme-check.mjs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dafbbdfb53e9efa99194231af6ea80932f91fda88e5c8c01aed846c4e44381"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/event-ledger-host.cjs:10 \u00B7 tools/isolated.cjs: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":"tools/event-ledger-host.cjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f602fb08b436b7883f8f263a0380e4c0164ea359deb700d530244715a38c10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): tools/first-use-host.cjs:30 \u00B7 tools/player-bar-check.mjs:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 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":"tools/first-use-host.cjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d66b4c43e38fb8d3077f84516cd66041b42f4a56f967b6d92f7a2e6b651ed53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/handheld-language-check.mjs:56 \u00B7 tools/mac-update-check.mjs:49 \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":"tools/handheld-language-check.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"873c6892261013f48d63856487dcc0a6ed6e42988a99fda428fe599828c56895"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/hitch.mjs:27 \u00B7 tools/tune-export-check.mjs: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":"tools/hitch.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"484487440a9ab25c5c1e1f918da208df8f3341fa1ad28672efbc2bd032e39da9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): tools/spotify-fake.mjs:134 \u00B7 tools/spotify-fake.mjs:159 \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":"tools/spotify-fake.mjs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c09afeb443cd35401b08b95fedc2657bab2f8077ca297490407716621126c7d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: renderer/take-encode.js:12 reaches into another package with a relative path (../node_modules/mp4-muxer/build/mp4-muxer.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/take-encode.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c1ca80a681a95c6633744a05a061b0054adafe5ee2c15d437dfa2bfbdd06b6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: renderer/track-worker.js:10 reaches into another package with a relative path (../node_modules/@mediapipe/tasks-vision/vision_bundle.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/track-worker.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07d15c6afbb476e58e503a5701e8fde092c9f8ee5d2ad5a1ad8579898132197"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 221, cognitive 267): draw has cyclomatic complexity 221 and cognitive complexity 267; 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":"renderer/scenery.js"},"region":{"startLine":6912}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0f76586de5fa27154980e0e9134513c474297606f3e301972c0722e7fd8a7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 141, cognitive 184): draw has cyclomatic complexity 141 and cognitive complexity 184; 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":"renderer/portal.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"051f1d7152129e53e451fa82b3c87affcb6ea9d3d188a0be7b44109e6ab67d25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function newBar (cyclomatic 130, cognitive 259): newBar has cyclomatic complexity 130 and cognitive complexity 259; 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":"renderer/engine.js"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a543ff1f0b14e848dc1ef7dc7782c8a0944fdf2d29f12c9dbb9b1af98648d73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 93, cognitive 113): (anonymous) has cyclomatic complexity 93 and cognitive complexity 113; 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":"tools/spotify-fake.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6871e3dfd750891c278caa8ed9f8bfdd208cffd31407bc2834a2fa27a4ce57c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tempoUpdate (cyclomatic 91, cognitive 98): tempoUpdate has cyclomatic complexity 91 and cognitive complexity 98; 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":"renderer/engine.js"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdc77e0d2f66f62591fb454d18a5e07b76207142c21d12e81d60f0bfd5d712f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 90, cognitive 126): draw has cyclomatic complexity 90 and cognitive complexity 126; 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":"renderer/lens.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd64cd9f30cb2acdda0212d34632334afcb5af3854e4a28727e90e77ebf8aa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 87, cognitive 108): draw has cyclomatic complexity 87 and cognitive complexity 108; 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":"renderer/worlds.js"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8659ac894b417b1cb5660ec40748b80cbeac91115079a057ea1fbd50d888aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dance (cyclomatic 82, cognitive 103): dance has cyclomatic complexity 82 and cognitive complexity 103; 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":"renderer/noodles.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ac370f8b515abd6f84420a7c01a2503140d49a34aa9813baf6cf8b9a1e7306"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 72, cognitive 114): (anonymous) has cyclomatic complexity 72 and cognitive complexity 114; 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":"renderer/scenery.js"},"region":{"startLine":6771}}}],"partialFingerprints":{"codehealthFindingId/v1":"3700745ea89a2cb41adb1953a62fd6930bc4d69de96f19eb8962a00b46d6365e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreExportRun (cyclomatic 72, cognitive 101): scoreExportRun has cyclomatic complexity 72 and cognitive complexity 101; 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":"tools/exportbench.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"764b48b1c5571f89875a497b508dd76a56bfcf280dce11747c964143e1e717af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePhase (cyclomatic 72, cognitive 96): updatePhase has cyclomatic complexity 72 and cognitive complexity 96; 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":"renderer/engine.js"},"region":{"startLine":2998}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec7fe7f0566a1e6b38e7b07a5ff0df83731af69f9e0e7f561a08473940fd21f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawFrame (cyclomatic 71, cognitive 88): drawFrame has cyclomatic complexity 71 and cognitive complexity 88; 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":"renderer/app.js"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d578a4623414583a52976d9d7093e59437fd6804010c23b3e6f0cd22176a129"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreHarmony (cyclomatic 69, cognitive 114): scoreHarmony has cyclomatic complexity 69 and cognitive complexity 114; 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":"tools/detbench/harmony.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"244b5d16d96f85ad38beb6eade37625c09b88b20a95b788b6079d8ac8e865be5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pixFor (cyclomatic 64, cognitive 110): pixFor has cyclomatic complexity 64 and cognitive complexity 110; 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":"renderer/scenery.js"},"region":{"startLine":5485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75b23e8b5070bdbc3b033e22da544acbe3b65afb8a5f913b472d3fdb0dc0d3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawBoat (cyclomatic 61, cognitive 125): drawBoat has cyclomatic complexity 61 and cognitive complexity 125; 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":"renderer/scenery.js"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c078f286e809ab639c5c1b6a34fa79e64a1d862178cd8a67b1071e6919e4ddbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frame (cyclomatic 61, cognitive 75): frame has cyclomatic complexity 61 and cognitive complexity 75; 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":"renderer/engine.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"964b1e6bbd94796384992a96a5dd7050faa0933f4932379cb5298e49f1402099"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function swimSharks (cyclomatic 57, cognitive 106): swimSharks has cyclomatic complexity 57 and cognitive complexity 106; 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":"renderer/scenery.js"},"region":{"startLine":6079}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5e0c335e9635728a28658f93327e7310609c8b767c1028bdf4f4c180f9e2ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pathLine1 (cyclomatic 55, cognitive 135): pathLine1 has cyclomatic complexity 55 and cognitive complexity 135; 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":"renderer/melody.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2fc3b4cdf5f06c7dde3d0c97c32c035dee543924200e73849d0731884ab7bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 54, cognitive 64): list has cyclomatic complexity 54 and cognitive complexity 64; 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":"helpers/spotify.cjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8e2346dc2f192e20aba54e8ff22119c259e2c3c5d93d0870291e87c73ce53d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 53, cognitive 130): draw has cyclomatic complexity 53 and cognitive complexity 130; 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":"renderer/visuals.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecdad31f9d6ea72be74c8aba550262b202632d4e8893d5bd1cc5802c29f5d41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fluxUpdate (cyclomatic 53, cognitive 54): fluxUpdate has cyclomatic complexity 53 and cognitive complexity 54; 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":"renderer/engine.js"},"region":{"startLine":2892}}}],"partialFingerprints":{"codehealthFindingId/v1":"0587d9ed5d6a4dc693059498885637ecf20f19d0deda55f2a8af20e0577bc0e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreSong (cyclomatic 50, cognitive 105): scoreSong has cyclomatic complexity 50 and cognitive complexity 105; 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":"tools/detbench/score.mjs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d80654b2d9e186dcaf15549442aa972935cf1e4b4b51793348d005e28d1e39a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function riffNotes (cyclomatic 49, cognitive 81): riffNotes has cyclomatic complexity 49 and cognitive complexity 81; 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":"renderer/codegen.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efbf2f7128a93fa633d7e5252d39cff3bb74bebaa2b6037f6a4ba743cd24291"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 81): (anonymous) has cyclomatic complexity 49 and cognitive complexity 81; 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":"tools/detbench/page.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cf66b0aaad9030c7b2937dc19417cd9587a13d8e3ff2e5881b42ab1b08b2ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 49, cognitive 59): draw has cyclomatic complexity 49 and cognitive complexity 59; 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":"renderer/card.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd18feef40c99ac26e55af9f90733668a17750155c073cca593cfcc3bc8bb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 49, cognitive 48): onKey has cyclomatic complexity 49 and cognitive complexity 48; 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":"renderer/library-panel.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fa1f5e0b449f0fefb38099c7fe4bc763281e9e51cf3283c511d08675e750e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 48, cognitive 76): update has cyclomatic complexity 48 and cognitive complexity 76; 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":"renderer/noodles.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"508d159593bce17454a75e43a3d859c4258a551b6ddf4d18001b415be148c898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 47, cognitive 49): update has cyclomatic complexity 47 and cognitive complexity 49; 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":"renderer/player.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04b139c0aff511741d3ef6b58addabe4b8f4bf04b3b230484f58a1ffe5458c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step (cyclomatic 46, cognitive 92): step has cyclomatic complexity 46 and cognitive complexity 92; 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":"renderer/dominoes.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18f8a09b303a19df4d615127c88a0cb9aea99ac8ecd0b19e8bc487e37343e54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 46, cognitive 70): onmessage has cyclomatic complexity 46 and cognitive complexity 70; 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":"renderer/stems-worker.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"457c76c3994cf56a6d7c0f9b3545ac69f485cfaaa8bb3664f5a87abd398cde42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 46, cognitive 58): draw has cyclomatic complexity 46 and cognitive complexity 58; 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":"renderer/voxcam.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b3b3fff41e4f598c7e158b0ca4f5a5608dbe4cd6f622a12b87524b0ae7370b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 46, cognitive 52): render has cyclomatic complexity 46 and cognitive complexity 52; 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":"helpers/take-render.cjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd433b0b36efbf1cf56c3da19c7b17c139abb508a49f568240032340068bd98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function swimFish (cyclomatic 45, cognitive 105): swimFish has cyclomatic complexity 45 and cognitive complexity 105; 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":"renderer/scenery.js"},"region":{"startLine":5991}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c5cf25d18d03d16e5701c195718fcbe7f7594f2dfbb9846225f5d21e604598"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 80): (anonymous) has cyclomatic complexity 44 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":"tools/checks.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"251c1fc3118c92916fb63300a461fecf055df4140c0f559479c3b0513bb23ac7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function model (cyclomatic 42, cognitive 52): model has cyclomatic complexity 42 and cognitive complexity 52; 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":"renderer/game.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bc859e3e82017bebb104e3d6ef80c458299f2228c89e82d183a4e341c300ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLines (cyclomatic 42, cognitive 50): buildLines has cyclomatic complexity 42 and cognitive complexity 50; 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":"renderer/codegen.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7519f0bc08b5c2f358f29f71dfaecc6e368ed548e849e5111e9dfb06315dbb77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function harmonyBar (cyclomatic 42, cognitive 49): harmonyBar has cyclomatic complexity 42 and cognitive complexity 49; 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":"renderer/engine.js"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f12a9d57331bd3ada9029389e0a1e045eefea07623ad38f97012b1f450a5b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advance (cyclomatic 41, cognitive 64): advance has cyclomatic complexity 41 and cognitive complexity 64; 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":"renderer/spaghetti.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e38435368fad7dedc7af2044b98f1e3dffaeab1626f8cfce8a989abf39c84b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 40, cognitive 59): draw has cyclomatic complexity 40 and cognitive complexity 59; 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":"renderer/storm.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a2b26207fefd97cbbd778a578687dcf0086cec5dac33a4ae4ade23a4246b8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstUseLoad (cyclomatic 39, cognitive 69): firstUseLoad has cyclomatic complexity 39 and cognitive complexity 69; 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":"tools/first-use-host.cjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9c063b1786629456eb11a7666805c699235b594a08353d4b66a7d73cea8d0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spRow (cyclomatic 39, cognitive 57): spRow has cyclomatic complexity 39 and cognitive complexity 57; 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":"renderer/library-panel.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0392860d046f2b775a1bd83f335243c8df1f468d46aa463439479b78d51d88b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawLighthouse (cyclomatic 38, cognitive 70): drawLighthouse has cyclomatic complexity 38 and cognitive complexity 70; 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":"renderer/scenery.js"},"region":{"startLine":5119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d61b8733c56bc16f1bcfd1e48c952091de14655abd3fbce8cc3c53f7b0344a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 54): (anonymous) has cyclomatic complexity 38 and cognitive complexity 54; 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":"renderer/orb.js"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dda4f7cbed57f72a84b5a2bcf2a7abf57dfadfa4b2eb85c974563be7b2223e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 38, cognitive 43): draw has cyclomatic complexity 38 and cognitive complexity 43; 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":"renderer/dotcam.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce9f506bc45e62d6f41c50726c6527c2037248b88a0b6cdb60d113250c84f32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 38, cognitive 37): draw 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":"renderer/earth.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a5b0bf07bc1f746c728b5a2f4ffccef6395213b0bb930dbcb4416c2d80ebfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spArtSrc (cyclomatic 38, cognitive 37): spArtSrc 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":"renderer/library-panel.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6d1370fa174f2f9b14ceae87c72f44142975cdfc9af6d3dc01f5f9d06c8fb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawBottom (cyclomatic 37, cognitive 74): drawBottom has cyclomatic complexity 37 and cognitive complexity 74; 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":"renderer/game.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b778ccee2226e86ae1a37b783d03af00b16b72e27f427fe26f39b8493e20609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawShell (cyclomatic 37, cognitive 59): drawShell has cyclomatic complexity 37 and cognitive complexity 59; 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":"renderer/game.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"191f668fa486d94386b5d68530967bd1ad3a99ffc8bc867f15dba0eef83f8be8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function estimateTempo (cyclomatic 37, cognitive 48): estimateTempo has cyclomatic complexity 37 and cognitive complexity 48; 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":"renderer/engine.js"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"498d7ba310259c8c19512248ac7a7e22f5f1feebcd270ce7f54740e8ca30e625"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 37, cognitive 48): draw has cyclomatic complexity 37 and cognitive complexity 48; 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":"renderer/post.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"def3b61c7eb02b289fae4155e03e2d7f25f52583a9a9d47e77ffd7beda64ba59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lead (cyclomatic 36, cognitive 46): lead has cyclomatic complexity 36 and cognitive complexity 46; 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":"renderer/engine.js"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"874831e52db6e1df1014c0bf3c1329a734988d15b1afee805c9d9e7c72a6eba0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkMeta (cyclomatic 36, cognitive 33): checkMeta has cyclomatic complexity 36 and cognitive complexity 33; 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":"helpers/take-store.cjs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b449a9e3949e54bd277ec4f5036b0e9bb2f03c5a5495f21fac7b11f352c8d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 35, cognitive 62): draw has cyclomatic complexity 35 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":"renderer/segcam.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab30bcb2d0064d1f644df97681585da64557c06c09dd9c7883fcdc9c22e29be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawTop (cyclomatic 35, cognitive 56): drawTop has cyclomatic complexity 35 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":"renderer/game.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2b1ca1862ffaa56aaedd85075dbc29b3b0b20a3d95b35919ad752676921d46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lcdTop (cyclomatic 35, cognitive 49): lcdTop has cyclomatic complexity 35 and cognitive complexity 49; 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":"renderer/gameskins.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d6d14d200d5e807cdd9b358ea6e8dde0ecc54eed92ed7dcb4fa3b9dfe2691e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function song (cyclomatic 35, cognitive 49): song has cyclomatic complexity 35 and cognitive complexity 49; 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":"renderer/tape.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd6f56ca6d0e8da4ef9636a1e36eb7befced7bd65c3c158f60d5734899528b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 33): (anonymous) has cyclomatic complexity 35 and cognitive complexity 33; 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":"renderer/app.js"},"region":{"startLine":3326}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfff6d94e5e4df7bf1400975b4189c4064bc73b07f2146e323c33880663b1ccb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 67): (anonymous) has cyclomatic complexity 34 and cognitive complexity 67; 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":"tools/noodles.test.mjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c06d633007d3d18ad66036c9e02ff2b4fccf836f816661e15b41aba39c72624"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queue (cyclomatic 34, cognitive 61): queue 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":"renderer/visuals.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be5e0fcca8f89773f307ac994c8682b0039ccbc51948e2bc276e103c4afd0b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fluxTempo (cyclomatic 34, cognitive 44): fluxTempo has cyclomatic complexity 34 and cognitive complexity 44; 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":"renderer/engine.js"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9e3903c772beadcc56a4dfdc4129b8366bdfe5f0f44c3c0d7ff69a031da687"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 34, cognitive 39): draw has cyclomatic complexity 34 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":"renderer/game.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9477f129a4242b89fa1df6e8d68c92e6010f872818bd4f90e46339c88d6b57e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stepPond (cyclomatic 33, cognitive 57): stepPond has cyclomatic complexity 33 and cognitive complexity 57; 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":"renderer/scenery.js"},"region":{"startLine":6410}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffaf66dc57b9f82afd8c8b4f86e0a14b7aa6c50353b7f613553f0fa75dd36d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 53): (anonymous) has cyclomatic complexity 33 and cognitive complexity 53; 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":"tools/event-ledger-page.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49c5d2f41d1de35ad3774ad9a3107a76ce15f42ff804bbe193d104fb28a3a9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pitch (cyclomatic 33, cognitive 41): pitch has cyclomatic complexity 33 and cognitive complexity 41; 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":"renderer/engine.js"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3aa014b3e61fa60dba4f6c7eb7308780cd05c44fc6baef969f76ff01248a1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 33, cognitive 35): draw has cyclomatic complexity 33 and cognitive complexity 35; 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":"renderer/backrooms.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdefdb794d2fd4eaa2c46b815d208673b1dc181b338852b19c8987171189f87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 18): (anonymous) has cyclomatic complexity 33 and cognitive complexity 18; 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":"tools/library-check.mjs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e3cbf8a9aec0528fb6fdf7c1cc13d11a75bf063624212b22798ce371a932d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mp4 (cyclomatic 32, cognitive 49): mp4 has cyclomatic complexity 32 and cognitive complexity 49; 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":"renderer/audio-tags.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"907dd3d24a431b05573cc3f89bf531b66ae6ff1bf0d8b2e21b91e7e1ca87b324"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function danceTop (cyclomatic 32, cognitive 45): danceTop has cyclomatic complexity 32 and cognitive complexity 45; 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":"renderer/gameskins.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"1892d43a30b69419580fd817f6844e85f84e4dce37736bdbde675a100b5215fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function id3 (cyclomatic 32, cognitive 42): id3 has cyclomatic complexity 32 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":"renderer/embedded-cover.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"852bf1674a5cb69825c8d2c580b115684db601d32dfeee30ff54004481c5a954"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sameLearned (cyclomatic 32, cognitive 40): sameLearned has cyclomatic complexity 32 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 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":"renderer/engine.js"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df25075678b7c7e6b1e00727260186610a7c771e4f6bcc8e8576846ebf82df2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 32, cognitive 34): draw has cyclomatic complexity 32 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":"renderer/y2k.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42eb14e3386d6d38894f8bf1417c210d00d218690a8a835ebd450877e0eaccd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawMoon (cyclomatic 31, cognitive 59): drawMoon has cyclomatic complexity 31 and cognitive complexity 59; 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":"renderer/scenery.js"},"region":{"startLine":5047}}}],"partialFingerprints":{"codehealthFindingId/v1":"26437767b7135550b6a8c4d48a3033c365579611a49f78a93593bf267762f568"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paint (cyclomatic 31, cognitive 54): paint has cyclomatic complexity 31 and cognitive complexity 54; 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":"renderer/gameboot.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"293d2750a5b954d37f7864e24395c910584e207c1f7c3e328e2b5bcab8f9932b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function layout (cyclomatic 31, cognitive 38): layout has cyclomatic complexity 31 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":"renderer/noodles.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e52ad059bced2be71205785ebe0f3b8ffbf318a299494f3e90f214b40b2441"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 30, cognitive 71): draw has cyclomatic complexity 30 and cognitive complexity 71; 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":"renderer/dominoes.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eab1f629fc68a8b0e3246a0a4c405e5ed488ada538bb7046cbc67261e58071"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function id3Frames (cyclomatic 30, cognitive 46): id3Frames has cyclomatic complexity 30 and cognitive complexity 46; 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":"renderer/audio-tags.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8d2bfddca0109913ab77ecbabfe6edbae4ae36ab6682399e69b02794cb9c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function song (cyclomatic 30, cognitive 41): song has cyclomatic complexity 30 and cognitive complexity 41; 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":"tools/checks.js"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"7053a847c49d5cf89072499609b1b90765407b0b223179e94c68450ab1fba1d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 30, cognitive 37): play has cyclomatic complexity 30 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 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":"helpers/spotify.cjs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"735536c27135bf10c944c6868ae650e1d704fde617fdc9ba7b0cb4866b87b5ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 30, cognitive 37): draw has cyclomatic complexity 30 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 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":"renderer/visuals.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"48665dd8f1202364abc15daba0e71ff915b239d940dc4d0cdc17fc8252075c9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lowDecide (cyclomatic 30, cognitive 27): lowDecide has cyclomatic complexity 30 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 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":"renderer/engine.js"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e26dc8fca2c3e31e583520aba16f81fad124b00ac480fd3a106d2ca3feb436"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 67): (anonymous) has cyclomatic complexity 29 and cognitive complexity 67; 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":"tools/noodles.test.mjs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3a76f06780adcc99f1574b332f13d396c5f9f5ddaf7335f1923dac41feac59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coverGlyphs (cyclomatic 29, cognitive 53): coverGlyphs has cyclomatic complexity 29 and cognitive complexity 53; 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":"renderer/library.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"66730cd8bdadb996b727ebedc52ea8f2bd611dd168d3e0cde2257ebfe65ff641"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function vfdTop (cyclomatic 29, cognitive 47): vfdTop has cyclomatic complexity 29 and cognitive complexity 47; 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":"renderer/gameskins.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0e54a118100dc8eca9a2320f1b10ec9310ea5e211ea8957ddcdce42eaa332c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 29, cognitive 36): draw has cyclomatic complexity 29 and cognitive complexity 36; 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":"renderer/orb.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6971175ca6abd0d25bdd40a2780acac09359bd28ce8619d1fe5b51d28ad1212"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyBar (cyclomatic 29, cognitive 32): keyBar has cyclomatic complexity 29 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 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":"renderer/engine.js"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1211620e27b2e6399374be504ae4b486f9f653cac76d90582e2c66d601662dc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 29, cognitive 32): draw has cyclomatic complexity 29 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 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":"renderer/spectro.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1597ec2dff270ad5426d1133fc4fd99a3b58a285788dc5329c72ec1f3da3a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function plan (cyclomatic 29, cognitive 28): plan has cyclomatic complexity 29 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 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":"renderer/codeview.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"50192da43fcc1eefd18fcfef055daebfc1511804abf2b15bc6e2f5b75c8b936b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyFx (cyclomatic 28, cognitive 62): applyFx has cyclomatic complexity 28 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":"renderer/visuals.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11a367bc3212cadcb41be5a3c98aae67350e33c724bcc555936fea3709768f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function world (cyclomatic 28, cognitive 49): world has cyclomatic complexity 28 and cognitive complexity 49; 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":"renderer/noodles.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fabcfb273ff96e2e9a62a282db647bebf8f188bafc2298e90579e4126ab556"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function osTop (cyclomatic 28, cognitive 42): osTop has cyclomatic complexity 28 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":"renderer/gameskins.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d86ceea38150e3fb1c3baeead0acb6ab7394bf9fccf3afb45e040e9180c294"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function place (cyclomatic 28, cognitive 37): place has cyclomatic complexity 28 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 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":"renderer/engine.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e5f745b3a66dadb7ab76cb23937c6ce557d766b9860606e2b34d53acd633f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coverSize (cyclomatic 28, cognitive 34): coverSize has cyclomatic complexity 28 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":"helpers/library.cjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c938d7ce2e328a9f371603b706ce0058efd350da9c05817fdedf54d40243b0dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSettings (cyclomatic 28, cognitive 28): loadSettings has cyclomatic complexity 28 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":"renderer/app.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7708d60ba3984e8b5bd84fe4ced4ada21cea6c5169019fc14be51020ca7ae891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 18): (anonymous) has cyclomatic complexity 28 and cognitive complexity 18; 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":"tools/library-check.mjs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"f519f22c730fa3054a71e867d2677bc17eea810b51ba56044b034559e5f7e474"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step (cyclomatic 27, cognitive 40): step has cyclomatic complexity 27 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 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":"renderer/codeview.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f614c337ecb130b2fa29105eaef4cd26a0390973d89d33b63a45abecd711995"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clock (cyclomatic 27, cognitive 28): clock has cyclomatic complexity 27 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":"renderer/engine.js"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a17afc90fd3ff1b8355cffa84b3bc219a1320cf3f6b54fef6bcf38effb140e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activate (cyclomatic 27, cognitive 26): activate has cyclomatic complexity 27 and cognitive complexity 26; 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":"renderer/library-panel.js"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"de588f3b97d0489762bb93842406282d2882b7bb96d22a477c0caeae6d3864a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placeBass (cyclomatic 27, cognitive 23): placeBass has cyclomatic complexity 27 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 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":"renderer/melody.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"41811d45fd99e23ba380d9331c766befd90ec51b627e48299b3b5f994837465d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spot (cyclomatic 27, cognitive 22): spot has cyclomatic complexity 27 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":"renderer/scenery.js"},"region":{"startLine":5005}}}],"partialFingerprints":{"codehealthFindingId/v1":"2880758c374cbcd1b2587697d8ab41c9a2d92fe20f0ad202222da3313abc9547"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codeLines (cyclomatic 26, cognitive 58): codeLines has cyclomatic complexity 26 and cognitive complexity 58; 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":"tools/clock-swap.test.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a88efa919f3c66f3fd49b87c66622f6b460ebf31027c9cb5c69069221d9991"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function touch (cyclomatic 26, cognitive 49): touch has cyclomatic complexity 26 and cognitive complexity 49; 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":"renderer/noodles.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca4f8503cfb7126c59217dd9594c38535aa11cd874a4c3b6b309fa09d400e6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function highwayTop (cyclomatic 26, cognitive 40): highwayTop has cyclomatic complexity 26 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 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":"renderer/gameskins.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dd34a7b60ebeb6315ced2fe721e4a54226d81ae0d1617f56e4de7a2281b855"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spotifyRows (cyclomatic 26, cognitive 31): spotifyRows has cyclomatic complexity 26 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":"renderer/library.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0c6247b9d91419c31c9f7384ffa9beed096f1b84762bd9b1fca022c39f876b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 26, cognitive 28): draw has cyclomatic complexity 26 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":"renderer/fx.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4e48c9464f703decd3ccbeb7dd086ce0a0f29133128d9de35786c342d59d4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 26, cognitive 23): check has cyclomatic complexity 26 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 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":"update.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3cf4f9125be39325d0e3614c5095db4de09c4b3161010ef2bdc4c8960329c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jobs (cyclomatic 25, cognitive 59): jobs has cyclomatic complexity 25 and cognitive complexity 59; 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":"tools/detbench/run.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ca6a5808357fb92c22e49813b50e58e97e682c2a89b41a7c7d39706d3fc8a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawGardenKoi (cyclomatic 25, cognitive 40): drawGardenKoi has cyclomatic complexity 25 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 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":"renderer/scenery.js"},"region":{"startLine":5002}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6568ae026b479aa38d6a2b8a676bcc4b6bac3f7ba050a61ccc595ea6d6971bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function highlight (cyclomatic 25, cognitive 29): highlight has cyclomatic complexity 25 and cognitive complexity 29; 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":"renderer/codeview.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec72bb35307eab07470d17fc00c78485a00412768ea6dfc2ac6fe72074c03e9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 25): (anonymous) has cyclomatic complexity 25 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 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":"tools/stems-check.cjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bb1463f9d5ac993bbb6162531997e2882b4569c983abdcf3f4226968cacee2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function control (cyclomatic 25, cognitive 21): control has cyclomatic complexity 25 and cognitive complexity 21; 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":"helpers/spotify.cjs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d5422c59d2b2c05f496e354ac02d0d7e83796738b4c125f5334d3b06e2a84d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildBig (cyclomatic 24, cognitive 60): buildBig has cyclomatic complexity 24 and cognitive complexity 60; 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":"tools/library-fixture.mjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c8b2e7949fdfec3a91eb8a0192d62d59d9e78b46278ccce10c4fa20a9eb385"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportSong (cyclomatic 24, cognitive 36): exportSong has cyclomatic complexity 24 and cognitive complexity 36; 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":"renderer/app.js"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0fe2e8858df2437e5d580c55f1cb01a1e42a1060fb2cc77f0313c584e10bb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawCode (cyclomatic 24, cognitive 27): drawCode has cyclomatic complexity 24 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":"renderer/glass.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"061467ef53ec74ebf2916dc435de30d17e10bae16a5c4d244f13237eaa47f88c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verdict (cyclomatic 24, cognitive 27): verdict has cyclomatic complexity 24 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":"tools/checks.js"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3365890526dd08b3ce972e576bae184fc28709ae142c7e39531f8e96cbd54f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchSpotify (cyclomatic 24, cognitive 26): searchSpotify has cyclomatic complexity 24 and cognitive complexity 26; 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":"renderer/library-panel.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dd958f285695718345caf24dc3cade3f88749014d813dc46f7126c5e4684b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintBig (cyclomatic 24, cognitive 20): paintBig has cyclomatic complexity 24 and cognitive complexity 20; 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":"renderer/library-panel.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d769776b0334f3f9cee95411d6049eebbff446ab4ba887705d7429531b75aebe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timingHypotheses (cyclomatic 23, cognitive 58): timingHypotheses has cyclomatic complexity 23 and cognitive complexity 58; 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":"renderer/engine.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1747ea545abb3fec0df6fbcf5f07b385c08db23094079bc7674f617c1a4cdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintWords (cyclomatic 23, cognitive 33): paintWords has cyclomatic complexity 23 and cognitive complexity 33; 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":"renderer/worlds.js"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a9df94fce79bc32b1d934f2ca88e0df1c917329573d5c7d0097124f9e9d360"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 23, cognitive 32): update has cyclomatic complexity 23 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 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":"renderer/library-panel.js"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60831c4f340190f444db7095fcf32dbeac56bce4d4bcfab0dc6849091448e1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wraps (cyclomatic 23, cognitive 27): wraps has cyclomatic complexity 23 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":"renderer/codeview.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0226e000be52a03808fdc6a5a2a56770e2fbc24a2cd9e321d0af7028ea905bf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 19): (anonymous) has cyclomatic complexity 23 and cognitive complexity 19; 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":"tools/library-check.mjs"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee11e236ea8706a9dfdddcd021ba2e9367f0d05dc13b64dc32347c20883b62fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeMidi (cyclomatic 22, cognitive 42): decodeMidi has cyclomatic complexity 22 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":"tools/event-writers.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb40176a57a580bf0f957ddb911be5920efd990cd0231e4688779da7b1ee465"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 22, cognitive 37): walk has cyclomatic complexity 22 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 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":"renderer/library-source.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b94d9541df012dfb18453dd46945f440cd9024f874adf53b0c5627b3ed65e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bassPitch (cyclomatic 22, cognitive 37): bassPitch has cyclomatic complexity 22 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 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":"renderer/rebuild.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c66f8d340c4e195c50607acf85955b2e5f115ae5e2ee7ad8085725860248da2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 32): (anonymous) has cyclomatic complexity 22 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 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":"helpers/library.cjs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ecc8acf77ac5e78e1bdd7dd64d9330bc74dab6c3dc2e1f78176245301f62dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spHead (cyclomatic 22, cognitive 32): spHead has cyclomatic complexity 22 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 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":"renderer/library-panel.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ec24e8c73037e321de1d608e8f0901d5ec9b53ab648ae551b5c70a92364b9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stepSea (cyclomatic 22, cognitive 31): stepSea has cyclomatic complexity 22 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":"renderer/scenery.js"},"region":{"startLine":5953}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5d9c888a98e1aa20a19fb36568da3f95fe4357364349d65d88658101c9e689"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function newBeat (cyclomatic 22, cognitive 29): newBeat has cyclomatic complexity 22 and cognitive complexity 29; 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":"renderer/engine.js"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ccb268212f54b779ab1244f4c0a90d17aa4be2682f4a2c4224b88ebb935a16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advanceHints (cyclomatic 22, cognitive 23): advanceHints has cyclomatic complexity 22 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":"renderer/firstrun.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cbe74de425a60fe0a67a3ad49a217fdcba94052b54ed8336db1a5d8a287914"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 23): (anonymous) has cyclomatic complexity 22 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":"tools/checks.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b66fd3b71fe3ed700d2d9abb40f1277b7d057456403934255761bb43dd0ed8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drop (cyclomatic 22, cognitive 22): drop has cyclomatic complexity 22 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 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":"renderer/app.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4037a0a75abefa7271306e20d2c9fb7d309a162ee7440e424d1a9852f6fa0fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 22, cognitive 21): encode has cyclomatic complexity 22 and cognitive complexity 21; 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":"renderer/spaghetti.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"7154f963d30b6fb2a3c35d74646f0205f911718ecc13f6958ae797daf243cea1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nowPlaying (cyclomatic 22, cognitive 20): nowPlaying has cyclomatic complexity 22 and cognitive complexity 20; 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":"renderer/app.js"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff79b243a1f290ec6638ec8baecd82e2de79afd7424aaef93f91b3681da72a9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseXml (cyclomatic 21, cognitive 46): parseXml has cyclomatic complexity 21 and cognitive complexity 46; 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":"helpers/youtube.cjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1235d1a7da53ce553b70b373103b22166a9a4c05f7bc01cae5794e62baf17f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawFlame (cyclomatic 21, cognitive 42): drawFlame has cyclomatic complexity 21 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":"renderer/scenery.js"},"region":{"startLine":5309}}}],"partialFingerprints":{"codehealthFindingId/v1":"800e6cc116559597082cc57d29817f06d43971554f047e0f4e86c49d69d93a29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stepParts (cyclomatic 21, cognitive 37): stepParts has cyclomatic complexity 21 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 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":"renderer/codegen.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f3b267e771b243875804943d53c9304ad4f91534f7c2de2c26feb56b6ecd45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hhFinish (cyclomatic 21, cognitive 37): hhFinish has cyclomatic complexity 21 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 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":"renderer/engine.js"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f799942f1349b23ee6d2927584aac8c27f54e6bf864da2c78cdad8914dcfe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 27): (anonymous) has cyclomatic complexity 21 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":"renderer/library-panel.js"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfa70d35cfbb85334f82f7b9ce7708c7b36c19653ec5c18bd0603a30c3ba57c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 24): (anonymous) has cyclomatic complexity 21 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":"renderer/gameskins.js"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0247ac9d44349168f3cc65020bc042351b7ddf6038bcabadf7b268c49d7b2d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 21, cognitive 24): read has cyclomatic complexity 21 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":"renderer/spectro.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0e0003698727892a3f88a86e753282861008c25ef7340c65ff49d16afeef30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function feedKoi (cyclomatic 20, cognitive 29): feedKoi has cyclomatic complexity 20 and cognitive complexity 29; 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":"renderer/scenery.js"},"region":{"startLine":6330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0ea60388da8fbdcd080fcfd68bb6befe241484330a2c36759afd05b8c49224"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pumpCheck (cyclomatic 20, cognitive 27): pumpCheck has cyclomatic complexity 20 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":"renderer/engine.js"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"661b79b4f90bb3468b917f522310bcb55049cbaf021c0f2415484193c3456a31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function halfTime (cyclomatic 20, cognitive 25): halfTime has cyclomatic complexity 20 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 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":"renderer/engine.js"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"0796814fe775073405c1ff1d016c915ac9e802d71746dbc6f1c8087d236e82d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 20, cognitive 24): draw has cyclomatic complexity 20 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":"renderer/lanes.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e47275a47b7259c08911405d6bdd809c92ef5038b9b224af300b37aeac5f0eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 23): (anonymous) has cyclomatic complexity 20 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":"renderer/visuals.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"40997244dec0f7110b079378543bfd5979c60e81a16b4a955c18ae040fbccf41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function put (cyclomatic 20, cognitive 22): put has cyclomatic complexity 20 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 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":"renderer/song-memory.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f952b5a3b34f2d3dcd4f2dd0fb03da521feb2918e3f3bcf9c2d40917d8453478"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintArt (cyclomatic 20, cognitive 21): paintArt has cyclomatic complexity 20 and cognitive complexity 21; 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":"renderer/library-panel.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ab5fe82494bca075c2e4f0977030e51bf512c733d10e323f24cb5e92edf6c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 20): (anonymous) has cyclomatic complexity 20 and cognitive complexity 20; 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":"renderer/game.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c143abeb3670ceabf1f46c512b12a0f1d9d2c3ae090e4149ec593c76ab913f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 20, cognitive 19): update has cyclomatic complexity 20 and cognitive complexity 19; 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":"renderer/codeview.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"82995cdad9131af8d2121f23f6e645f8b8c599f9bfa663908cdb5e3420b313f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function harmonyBar (cyclomatic 20, cognitive 19): harmonyBar has cyclomatic complexity 20 and cognitive complexity 19; 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":"tools/detbench/page.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0a35daff6938c5602c464d4b41db856ef50ec35483994d2693e88e6ee6b0f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 12): (anonymous) has cyclomatic complexity 20 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":"tools/library-check.mjs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"28777237e321895576e8fe67fddb629dc2b7f48f1deadbaa80e3e29c6e5df983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function schedule (cyclomatic 19, cognitive 35): schedule has cyclomatic complexity 19 and cognitive complexity 35; 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":"renderer/demo.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe36ff774ac3132fea85a0be8dcc3167e741e2b152da99c8ab91328c09c859e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderGrid (cyclomatic 19, cognitive 29): renderGrid has cyclomatic complexity 19 and cognitive complexity 29; 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":"renderer/app.js"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"271fcebf8746275854251077c74a0a3704d3db4492fe765f7399a6edc016eeb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 26): (anonymous) has cyclomatic complexity 19 and cognitive complexity 26; 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":"renderer/chrome.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d76de37f335f1e21bf88808a9a5ddaf4b3940e17e956c2d922d24dc74a69ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishInput (cyclomatic 19, cognitive 22): finishInput has cyclomatic complexity 19 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 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":"renderer/library-panel.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4271c535afc0e9fdd0e5cb7ca17b168c5d363ce9fb8de2cc056c5cf4c8377d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failure (cyclomatic 19, cognitive 18): failure has cyclomatic complexity 19 and cognitive complexity 18; 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":"helpers/spotify.cjs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d85fc6a8be2abd753a565fd7b1a8a1304bfadc2b519b4ead77649d4134b04c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wobbleCheck (cyclomatic 19, cognitive 18): wobbleCheck has cyclomatic complexity 19 and cognitive complexity 18; 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":"renderer/engine.js"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b848ddc18e586d66c464df75a6742c9189113b4e17c2c790313c065d8c3160"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tuneFor (cyclomatic 19, cognitive 16): tuneFor has cyclomatic complexity 19 and cognitive complexity 16; 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":"renderer/tune.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"364a81bc69ff528c11267a5b053753414a98cc0277387246ea96e1130e2b42ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function playback (cyclomatic 19, cognitive 13): playback has cyclomatic complexity 19 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 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":"helpers/spotify.cjs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c371ea463803c3da42d3eb2ee351561fb40b13da19adee8927e3281b203b4194"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateHints (cyclomatic 19, cognitive 10): updateHints has cyclomatic complexity 19 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":"renderer/app.js"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55643d0ae19c87a50709e7d3be629eb0779ceb5a01cdbdcc61a00210b8ebe31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 18, cognitive 45): walk has cyclomatic complexity 18 and cognitive complexity 45; 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":"renderer/glass.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"e906d3a692606027fb579f3b90873abac0724f5f1ac70d97a20c396a5139e3f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sceneryPair (cyclomatic 18, cognitive 45): sceneryPair has cyclomatic complexity 18 and cognitive complexity 45; 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":"tools/shader-render.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b73fb3a8fa7613a0a7df202879b33a77dcc1fcc582c1a45802a0520d4b8b89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function process (cyclomatic 18, cognitive 31): process has cyclomatic complexity 18 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":"renderer/ear-worklet.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f682f8a86cc8adb07572226e8a45755521ea3cb38be572b099128f5022381ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mp3Length (cyclomatic 18, cognitive 30): mp3Length has cyclomatic complexity 18 and cognitive complexity 30; 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":"renderer/audio-tags.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1977edae6d08e4db4e23bd01375fa4cf53cd07966bad079c4297978f3a802e1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 18, cognitive 28): draw has cyclomatic complexity 18 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":"renderer/cuts.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a968106cdc5e29a5dcbb1d0c13fb872fb01862a253480d42da6232a422779836"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 18, cognitive 26): render has cyclomatic complexity 18 and cognitive complexity 26; 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":"renderer/rebuild.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96079b446f2506a7c57506484b106e7dc57c10765988baa271a27c8f8820c24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 18, cognitive 26): draw has cyclomatic complexity 18 and cognitive complexity 26; 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":"tools/checks.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab25e685bc1fd41800a04c0400ee8070f08dc39e932363daebd1b0ca9e4cf71d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step (cyclomatic 18, cognitive 24): step has cyclomatic complexity 18 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":"renderer/game.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3f582a845d843d4fc597444fe55b0e7d95714d71d202a9da4a7b3c5504b029"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawMarks (cyclomatic 18, cognitive 23): drawMarks has cyclomatic complexity 18 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":"renderer/spectro.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecd8e7b705983b2fc6edca1b1056ce799ab7155f148022ace07a15e3dfc0660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step (cyclomatic 18, cognitive 21): step has cyclomatic complexity 18 and cognitive complexity 21; 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":"renderer/noodles.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed55307630a768b68ed480572e7bd42f24a8fdef0ddbb27fe00ebcc39e4c5439"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function card (cyclomatic 18, cognitive 21): card has cyclomatic complexity 18 and cognitive complexity 21; 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":"renderer/spaghetti.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d355668623a366b80c179ab4c4ef9496febb8a891a30f36d19cb53280ba4849"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function partAt (cyclomatic 18, cognitive 20): partAt has cyclomatic complexity 18 and cognitive complexity 20; 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":"renderer/cuts.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d191eb46f0c07ac1ab30c692f7b643697f6d5042cad00582335a21b7a456dc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setLook (cyclomatic 18, cognitive 18): setLook has cyclomatic complexity 18 and cognitive complexity 18; 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":"tools/clock-harness-page.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bdca26931bd32111f293002b6b692ff036de70ddaf1562363724af12485d17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintSpotify (cyclomatic 18, cognitive 17): paintSpotify 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":"renderer/player.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b5a5786711da764a1bcefe1599a8046ef8f2fdf20fc7c5d8f14bc7f9ffe085"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 18, cognitive 17): draw 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":"renderer/wait.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2a3acdb6007a53781c21aa492bb6022a8498193dab21806058693828872035"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shot (cyclomatic 18, cognitive 17): shot 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":"renderer/worlds.js"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2f5475d0856a733c5a54d9a26f7e6f34517c2154153794b0907657c9ea0e86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 29): (anonymous) has cyclomatic complexity 17 and cognitive complexity 29; 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":"tools/take-render.test.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3f5b748379927b171fc3305ddfd462cf3c709c01703bfd23835815071446c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintIdle (cyclomatic 17, cognitive 26): paintIdle has cyclomatic complexity 17 and cognitive complexity 26; 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":"renderer/gameboot.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2969c2a68760d84ab1558b9fa2cab32fa3bba70650c5bb0fdf2b03f4d96c0dc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function heardAs (cyclomatic 17, cognitive 26): heardAs has cyclomatic complexity 17 and cognitive complexity 26; 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":"tools/checks.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7ed241f02ffe3de46100254d406c0e8fa9a08d0d3359c956455950e2e97554"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function strudelProgram (cyclomatic 17, cognitive 25): strudelProgram has cyclomatic complexity 17 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 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":"renderer/codegen.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a6bc36d04bc499fe4bfc03bfd94f192e63df57af6fa1f6636fd31afabf36c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 23): (anonymous) has cyclomatic complexity 17 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":"renderer/fire.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cff870eadef4194f579dbd1a1b007d5ae8b7c4c61cc9a84b47cd89fac19c9c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 17, cognitive 22): draw has cyclomatic complexity 17 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 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":"renderer/glass.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba4586286a9a20d79955d9b357ae1b2cb7669866787f1ef4bee0874f188f4c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timing (cyclomatic 17, cognitive 22): timing has cyclomatic complexity 17 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 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":"tools/checks.js"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"523842d61cd71e403eee653e33152f5c0b70ed66defda614a45b83a1c5a6936b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function m4a (cyclomatic 17, cognitive 16): m4a has cyclomatic complexity 17 and cognitive complexity 16; 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":"tools/tag-fixtures.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02b575e1800e81d284678d5dbf7d0089f4a40d1abe2774e09fd9217aceb2cdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tourEarth (cyclomatic 17, cognitive 14): tourEarth has cyclomatic complexity 17 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 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":"renderer/app.js"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f425714496182dba195608227cfbcc0d5b8758ab26d050ccb1db1367f2b21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read (cyclomatic 17, cognitive 12): read has cyclomatic complexity 17 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":"renderer/gestures.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"234b660da13dab7901342ab733d0d2545dcc6ea3de6fcc4ee207eca51b121fca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 11): (anonymous) has cyclomatic complexity 17 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":"tools/library-check.mjs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"759f38c3600cd232d015f0ca536fdbb996e02bc8aeb81bf6932b75e352806120"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cluster (cyclomatic 16, cognitive 36): cluster has cyclomatic complexity 16 and cognitive complexity 36; 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":"renderer/cover-palette.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ab0ce17880a25369671d906d78d36bc0fae8bb0bb4491dd0205a0801eca845"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function danceBottom (cyclomatic 16, cognitive 33): danceBottom has cyclomatic complexity 16 and cognitive complexity 33; 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":"renderer/gameskins.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca58a6a1e4925ca8651ca5b62530b5fd299ddf680536eab7f835e2ab3925604"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawTrout (cyclomatic 16, cognitive 32): drawTrout has cyclomatic complexity 16 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 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":"renderer/scenery.js"},"region":{"startLine":5277}}}],"partialFingerprints":{"codehealthFindingId/v1":"091db857869c1d53af08734535b2ddf1e45f9083dcd391cc317d34f4e7c7a2a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 16, cognitive 24): update 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":"renderer/portal.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c16ce0ba8a8fa0994b2bd3d9d8a47dc1367175b9c3b75089703b51a417913fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lockTo (cyclomatic 16, cognitive 21): lockTo has cyclomatic complexity 16 and cognitive complexity 21; 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":"renderer/engine.js"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"368b8c6a5d441262f16372c2ee55594dd09a82d73ccc7b6dee78ba873c44f94b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pixAtlas (cyclomatic 16, cognitive 21): pixAtlas has cyclomatic complexity 16 and cognitive complexity 21; 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":"renderer/scenery.js"},"region":{"startLine":5452}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bff85400087b8e05b38592665a70c1b117229e256a5d5e824119c791b2d8a62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retire (cyclomatic 16, cognitive 21): retire has cyclomatic complexity 16 and cognitive complexity 21; 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":"renderer/spaghetti.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc029080619048acdb6068793e61e594c23dded7f6eb1b89ba76c2a8ec67b23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function askPlayers (cyclomatic 16, cognitive 20): askPlayers has cyclomatic complexity 16 and cognitive complexity 20; 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":"main.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8784d2349aef33fe631d131a1261467e307aba340ad24aecad1c2912a2d1e37c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadLooks (cyclomatic 16, cognitive 20): loadLooks has cyclomatic complexity 16 and cognitive complexity 20; 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":"renderer/app.js"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22f0f31af2a08697d990cc798780fc16a075560ef43b748157c7f8b912d0fdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sectionBeat (cyclomatic 16, cognitive 20): sectionBeat has cyclomatic complexity 16 and cognitive complexity 20; 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":"renderer/engine.js"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e89e7e1c65032f2955b79418492066c0e61ee5f0be4f6e8d4547cc9e1a17e6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pick (cyclomatic 16, cognitive 19): pick has cyclomatic complexity 16 and cognitive complexity 19; 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":"renderer/noodles.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b094898089d4e5bbc2ac270d43424ad354161e0c74d5d33322efa0611a17f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calm (cyclomatic 16, cognitive 18): calm has cyclomatic complexity 16 and cognitive complexity 18; 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":"renderer/codegen.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"75abe8570042bd9b73c0af3a5f0685276b73a9450eacea9c554a3f6974a93465"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLink (cyclomatic 16, cognitive 17): parseLink has cyclomatic complexity 16 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 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":"helpers/spotify.cjs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae569267ac69541caeaf5b94c9ac793bc4f7aa49d06be44ca800b2fe3ac8b652"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function takeBegin (cyclomatic 16, cognitive 17): takeBegin has cyclomatic complexity 16 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 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":"renderer/app.js"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d06be0da51aa24253409b476ec22e0dc213d621c9222792305a9b61a59825b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changeWindowMode (cyclomatic 16, cognitive 15): changeWindowMode has cyclomatic complexity 16 and cognitive complexity 15; 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":"renderer/app.js"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e44f64f5dffcaef0adbb1b4d2db0707f37e035080bb00a2581c6d6230e208e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function playingNow (cyclomatic 16, cognitive 15): playingNow has cyclomatic complexity 16 and cognitive complexity 15; 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":"renderer/app.js"},"region":{"startLine":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7129680edb35ab2f7c3aafb7ce4e793fc29e8a3a34cafa20a33c5ce71c99bcaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function kickFrame (cyclomatic 16, cognitive 15): kickFrame has cyclomatic complexity 16 and cognitive complexity 15; 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":"renderer/engine.js"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c6cc347cac3fdd81f6e1beba851242b7de56f7b9d84be57587f8b6429d943a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 14): (anonymous) has cyclomatic complexity 16 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 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":"renderer/gameskins.js"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f576a711e2853a1903729244ea133459819e7781bee16d338ef27a2711e47a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 68): (anonymous) has cyclomatic complexity 15 and cognitive complexity 68; 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":"tools/player-bar.test.mjs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2638797419d3a36d70799c4a8520f0affe22a269589419f696d1a5c16067884"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pixelRun (cyclomatic 15, cognitive 41): pixelRun has cyclomatic complexity 15 and cognitive complexity 41; 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":"tools/first-use-pixels.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"977db1eef306e3048dab02d3892e15e47ff5730e5063093b59564f15f08f6a9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stirSea (cyclomatic 15, cognitive 28): stirSea has cyclomatic complexity 15 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":"renderer/scenery.js"},"region":{"startLine":6201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aafda7c36287d53e9e4e1955ce365393a47b81f740d8a5a657ee6c81862ea11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function present (cyclomatic 15, cognitive 23): present has cyclomatic complexity 15 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":"renderer/spaghetti.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e11bfee3f8abea4fb8d04a58bab665895f36067113db0e78b4ddd6e4759999c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function music (cyclomatic 15, cognitive 22): music has cyclomatic complexity 15 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 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":"tools/bar-one.test.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0808d5bee96deda2b9715718565fd5f57d0ae9d9d206719203b0379cd21e40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function press (cyclomatic 15, cognitive 21): press has cyclomatic complexity 15 and cognitive complexity 21; 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":"renderer/player.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d35d3a9c6d227875f6d41244813e17cc938120cd7d811c27b6f83e483c9c02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebuild (cyclomatic 15, cognitive 21): rebuild has cyclomatic complexity 15 and cognitive complexity 21; 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":"renderer/rebuild.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f421f829b84d1b5300ee34fb3beae0865b0493e622d8723ac93a2abe9c7e411f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawStance (cyclomatic 15, cognitive 20): drawStance has cyclomatic complexity 15 and cognitive complexity 20; 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":"renderer/game.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf135ef017fe66aadcff5ec8a607c38fea41b58095533f593c5ec201659c214"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeColumn (cyclomatic 15, cognitive 20): makeColumn has cyclomatic complexity 15 and cognitive complexity 20; 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":"renderer/spectro.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"912ec1b4883cfe62e201741f2c6c2415853e128025c76a1e93b505b3c061b7cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 15, cognitive 18): onmessage has cyclomatic complexity 15 and cognitive complexity 18; 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":"renderer/track-worker.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c148df39939cdd7f535ec4f049ab2d2bf0fe6dd3a13b08d5aeda14cde3fc19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hit (cyclomatic 15, cognitive 17): hit has cyclomatic complexity 15 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 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":"renderer/engine.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cc4191013223ac4c8caffede76677876a6fca0669c19c646a4ac0ea56f977e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function idle (cyclomatic 15, cognitive 17): idle has cyclomatic complexity 15 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 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":"renderer/game.js"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbcfd126aafcbe402ae963de175a8431cfcf194db709592a5ded583e8239bbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 15, cognitive 17): draw has cyclomatic complexity 15 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 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":"renderer/rings.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ed33da63581fcd7f2865c4f6a57bdfef541f40a317d0c92e6afbf905d58dd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTheme (cyclomatic 15, cognitive 16): applyTheme has cyclomatic complexity 15 and cognitive complexity 16; 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":"renderer/app.js"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"deafa94ae3cfc45df5ceeb9d007d5fdf4cd2709b7711665bc21c056d3f1bd925"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) has cyclomatic complexity 15 and cognitive complexity 16; 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":"renderer/gameskins.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c83a0cfb689c5cb020d340fd19ded49cda90ccb21aa26c981b55cfc88b18fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controlsFor (cyclomatic 15, cognitive 16): controlsFor has cyclomatic complexity 15 and cognitive complexity 16; 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":"renderer/player.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c4d4b4f79c4951711cef5636318470aa56f51a9523f8d75080763857245e05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function where (cyclomatic 15, cognitive 16): where has cyclomatic complexity 15 and cognitive complexity 16; 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":"renderer/player.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4593bd44f71ff8df72a4f3cfdeaa0e3ccb03c86fc99bed4b2c8f2101f19270f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function program (cyclomatic 15, cognitive 16): program has cyclomatic complexity 15 and cognitive complexity 16; 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":"renderer/rebuild.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4fe18d4aaa44525fb28757585707604e7a5e07715621577f8949f2e0305eaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) has cyclomatic complexity 15 and cognitive complexity 16; 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":"tools/event-ledger-host.cjs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c75a286db6fd0971a798ff1bd0f45902770cfb30d37f884deb568c2123ebdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bassTrack (cyclomatic 15, cognitive 15): bassTrack has cyclomatic complexity 15 and cognitive complexity 15; 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":"renderer/engine.js"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a094bba2c1b14e6e978ba7e385949b3298d73465036d9308db2fc3114c9d3181"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 15, cognitive 15): draw has cyclomatic complexity 15 and cognitive complexity 15; 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":"renderer/visuals.js"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e84ec71a8e7471d8695fe8ac5ac08b01e2368deeb8cc8216c1da21ddb3feaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function playQueue (cyclomatic 15, cognitive 14): playQueue has cyclomatic complexity 15 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 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":"renderer/app.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb39e085be2b61fc942c636175a10b42155042295bc6ce2ca4dac073aab73b30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 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 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":"tools/library-fixture.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"962a47da16a6b5b6a259afec64994fc0dca6640a22fafd3ab1d9954eca3c4fb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLink (cyclomatic 15, cognitive 13): parseLink has cyclomatic complexity 15 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 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":"renderer/library.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5d354b0d6df54922c69cb463a8884c74397846a5b14f19ed3c23420f39ae08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function codeTick (cyclomatic 15, cognitive 12): codeTick has cyclomatic complexity 15 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":"renderer/app.js"},"region":{"startLine":2362}}}],"partialFingerprints":{"codehealthFindingId/v1":"4345ec1bf5bff84eddbce77bf29ca4908ab54bd48709913b7c71e908a0188c11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInside (cyclomatic 15, cognitive 11): resolveInside has cyclomatic complexity 15 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":"helpers/library.cjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1227c28eebccb9e895aafc83664b93a0ae14b66eeb563ed4b6c4a3a50f61655e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 15, cognitive 11): update has cyclomatic complexity 15 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":"renderer/gestures.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"314921dc3c01a201c6afa8362b0de56721a919147b55851e4335255c106a66b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findEyes (cyclomatic 14, cognitive 32): findEyes has cyclomatic complexity 14 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 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":"renderer/visuals.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b3b1c1c4d9ccd61e66435efb0b69702150eb3f2532a5513c109fbb092b9bf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 29): (anonymous) has cyclomatic complexity 14 and cognitive complexity 29; 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":"tools/noodles.test.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b1473151c378bca3eec9ffd436fe46d76df860366a4ea18fde5869740b2789"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fit (cyclomatic 14, cognitive 27): fit has cyclomatic complexity 14 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":"renderer/engine.js"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65d7ac3fd37c3107e7ecf2b09a4c5889777cbf143fcd75efcce1939e4c06eb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function offline (cyclomatic 14, cognitive 21): offline has cyclomatic complexity 14 and cognitive complexity 21; 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":"tools/take-tap-check.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7e6c9cb35c284d387e3fb5fb8ffe85e4e031fad768971bc0fd7f5eea6fcf26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function artistRows (cyclomatic 14, cognitive 19): artistRows has cyclomatic complexity 14 and cognitive complexity 19; 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":"renderer/library-panel.js"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ef49ede6a1e67f22e95ff15ac5557487e9191f6abd1d048f1199dcd24ef1ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step (cyclomatic 14, cognitive 19): step has cyclomatic complexity 14 and cognitive complexity 19; 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":"renderer/orb.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa0bfc2ae9febf5ba8f37ed3ef5bc27bc929551fd89363f30188b0d1c557d82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function track (cyclomatic 14, cognitive 18): track has cyclomatic complexity 14 and cognitive complexity 18; 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":"tools/library-fixture.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb39e7816fc5c75ceb3b103ab71f635002173bc9516046de21664db18dc61b2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listenOpening (cyclomatic 14, cognitive 17): listenOpening has cyclomatic complexity 14 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 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":"renderer/engine.js"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3408e36609d9c9771461ae540f333cf6e92775a1e321607ab5d6565753e0820"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) has cyclomatic complexity 14 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 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":"renderer/gameskins.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"437e3a3075310a8701d9c276608fa6c07858ebd1ba9c7a1e22e29c2dbd4f3204"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendToSystem (cyclomatic 14, cognitive 17): sendToSystem has cyclomatic complexity 14 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 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":"renderer/player.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1e552dad1edf1f78424ba20a9b260b105679e50a6ffd820032b2ba46d4d4f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function line (cyclomatic 14, cognitive 16): line has cyclomatic complexity 14 and cognitive complexity 16; 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":"renderer/cuts.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f191a179ccbd8f63b192c1a292b72326ef52540497d66ba5e9b9eb44cd63820e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function swipeOf (cyclomatic 14, cognitive 15): swipeOf has cyclomatic complexity 14 and cognitive complexity 15; 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":"renderer/portal.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"280f34276c820be98aaa4e0ee2e4a27a0fa535c66c64e2381afd92fa2907fe10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snareRing (cyclomatic 14, cognitive 14): snareRing has cyclomatic complexity 14 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":"renderer/engine.js"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8fa2fe1089d93b0d883e530f85bfed8aba229c33d694de22cbdbfd3e73a4fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawShareCard (cyclomatic 14, cognitive 14): drawShareCard has cyclomatic complexity 14 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":"renderer/share-card.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a1ce8379332be8a19edc30d056d861cd0825c7e42caa35bad454d9de768da6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 14, cognitive 14): onmessage has cyclomatic complexity 14 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":"tools/library-check.mjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"55393927ebdd151c8fa40d93b0409e85497fd98d67185aa75440ed2d5e5ec4e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function head (cyclomatic 14, cognitive 13): head has cyclomatic complexity 14 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 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":"renderer/codeview.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1738f027c5ad9ff232fa653a46e0afed554274aaffd2b39f324e5827058b14ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readScenes (cyclomatic 14, cognitive 13): readScenes has cyclomatic complexity 14 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 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":"renderer/library-core.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e060a67486dbc1fd73e8499926a29f7971e68a7f2ed110445017b552410e1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describe (cyclomatic 14, cognitive 13): describe has cyclomatic complexity 14 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 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":"renderer/misread.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5c8ab95ac1ae3deec2d7319d6a76f6fdc428960239b0ea6179eaf2c0ba46fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function platesNow (cyclomatic 14, cognitive 13): platesNow has cyclomatic complexity 14 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 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":"renderer/post.js"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee05266cb449bfb9edd2d4f8ce604b99d619f92a2da632428354dea0d887f2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uniforms (cyclomatic 14, cognitive 13): uniforms has cyclomatic complexity 14 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 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":"renderer/post.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"b774890801287002a99f8d0e4780a7df637033177954eda5270b02c6cc0b110d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 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 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":"tools/library-check.mjs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6441382dfa98f01aab5965406fe9cf46c5369e4b691573aa1206e2ecec0a98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 14, cognitive 12): load 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":"renderer/library-panel.js"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6167f882d353e9a3fcf2763368d70396d6a541e56b864e47c810a86c1c8cbaf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function catalogue (cyclomatic 14, cognitive 12): catalogue 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":"tools/clock-harness.mjs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a836a56638467d673435e7af20f784026b3dfea2e0c8430dcf3f32b3712cd20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trackRow (cyclomatic 14, cognitive 11): trackRow has cyclomatic complexity 14 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":"renderer/library-panel.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25598cb75c35a1011f6aeb6615120a4023df14274164db87ff44334289e133c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeTrack (cyclomatic 14, cognitive 11): makeTrack has cyclomatic complexity 14 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":"renderer/library.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bce593cd5404439b2944af46b1796a87993ff3f02bea244e6495c4b48f9540b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function swapScript (cyclomatic 14, cognitive 10): swapScript has cyclomatic complexity 14 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":"helpers/mac-update.cjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d9b7d408e43e2e9266b4c9ad047cdc966dc79e0e5f8d0574bd457cf09957ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frameAt (cyclomatic 14, cognitive 9): frameAt has cyclomatic complexity 14 and cognitive complexity 9; 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":"renderer/audio-tags.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3d3bb957d01eb525c3dda554022031650bd25e746eac931d929739b6e80426"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 13, cognitive 26): walk has cyclomatic complexity 13 and cognitive complexity 26; 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":"helpers/library.cjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2fb5ddb699216ed1ddf9a2131c6b4588fa9833d478b6ab72e4682d738a5b96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawCrab (cyclomatic 13, cognitive 26): drawCrab has cyclomatic complexity 13 and cognitive complexity 26; 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":"renderer/scenery.js"},"region":{"startLine":5099}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8c10cb6700b97898518ed396d3e1c5b103f088b9c75b92fdf064f39eee951b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyseBytes (cyclomatic 13, cognitive 24): analyseBytes 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":"renderer/preanalyse.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1894fc956ab92cf3db98406cac8b62332784af9532572714efde8b6fb06b544"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loop (cyclomatic 13, cognitive 24): loop 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":"renderer/preanalyse.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fca7ab8806e52b146f80f6e104133dd00b54c1d45089711020586b8669136e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drumScore (cyclomatic 13, cognitive 23): drumScore has cyclomatic complexity 13 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":"tools/detbench/score.mjs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c17afcef85a35af445e1682c058c897ba30355fdaff60861e5ee1130d40445c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readVoice (cyclomatic 13, cognitive 22): readVoice has cyclomatic complexity 13 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 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":"renderer/rebuild.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da9ceae8e9f93658c66702f96939f7cfb27358ebed28f47549585e469f6aed6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawToast (cyclomatic 13, cognitive 22): drawToast has cyclomatic complexity 13 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 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":"renderer/scenery.js"},"region":{"startLine":5436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f9cc5659c28b240d025b264a34e9c16c7dffbed766bfc294228032e137d31a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listen (cyclomatic 13, cognitive 21): listen has cyclomatic complexity 13 and cognitive complexity 21; 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":"renderer/cuts.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42ae0a5bed1b195b9e9d34b553b5128c80c34affee2586f7ebbdfd5679ca9a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) has cyclomatic complexity 13 and cognitive complexity 21; 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":"renderer/cuts.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"115883e5b0a53758bb4749c54f20a569b46b0f3ee20c031e4b8339cf814591da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modesFor (cyclomatic 13, cognitive 17): modesFor has cyclomatic complexity 13 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 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":"renderer/player.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eaf4c1c717253f4d95c040544cf54a62982a3fb338fe7587f4fcef1253a4bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleMode (cyclomatic 13, cognitive 17): toggleMode has cyclomatic complexity 13 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 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":"renderer/player.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca53827c9005a0ab5b19e2f24a9aa941895b8d650738567d101bbcdc78555dc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sceneProgram (cyclomatic 13, cognitive 17): sceneProgram has cyclomatic complexity 13 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 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":"renderer/scenery.js"},"region":{"startLine":6642}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7a1bb43f213c5d483ab276b4f854a4ea8697b83d82a68e1e65d0d1ca57e9e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lookProg (cyclomatic 13, cognitive 17): lookProg has cyclomatic complexity 13 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 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":"renderer/worlds.js"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9533ca9a45ea7f45bb677384d29c4ff23fc82f0dd7225785d545ca2778e2a502"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 13, cognitive 16): refresh has cyclomatic complexity 13 and cognitive complexity 16; 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":"renderer/controls.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7994e0c1308c520d86f132c2f3fbf473ca8af3ca20a8de55d38c0d648d9c6475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 13, cognitive 16): onmessage has cyclomatic complexity 13 and cognitive complexity 16; 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":"renderer/ear.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"733c1a5340bb776281379032dfd18d1e52a2f3487023630ad225117e7e8fccb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restore (cyclomatic 13, cognitive 16): restore has cyclomatic complexity 13 and cognitive complexity 16; 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":"renderer/engine.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b55ee4743ee650bb498ee99683a21624debc4eaf1da2e7bc591830718f6a388"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function takeFollow (cyclomatic 13, cognitive 15): takeFollow has cyclomatic complexity 13 and cognitive complexity 15; 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":"renderer/app.js"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"db48fa3cb79e343e67e8fce788c2f43e2af516104d685f3d54da626f82100222"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function over (cyclomatic 13, cognitive 15): over has cyclomatic complexity 13 and cognitive complexity 15; 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":"renderer/gamescreen.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"56575300e7185ff783245c0f847723e57eaae506f51b119223fb18a98c3c70ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBass (cyclomatic 13, cognitive 15): readBass has cyclomatic complexity 13 and cognitive complexity 15; 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":"renderer/rebuild.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cfcb0f8f81b29391e883e19fc3a17db4aee1a95b217f78616c831fd64e6871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tempo (cyclomatic 13, cognitive 15): tempo has cyclomatic complexity 13 and cognitive complexity 15; 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":"tools/event-score.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5181732f4b0cec8631ae0f54767a555f73821e9dfcce83b129492f5692fd8d9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function radioTitle (cyclomatic 13, cognitive 14): radioTitle has cyclomatic complexity 13 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":"renderer/app.js"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bce8f74b2cb1f0bdb90914daa3d0b8ae74c8409d2c0f4237e1ec0bb154a833e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extras (cyclomatic 13, cognitive 14): extras has cyclomatic complexity 13 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":"renderer/cover-palette.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1225742cb7a69a1cc5bdc9a762fcf063a1bddb146b7e99ffb84b0971b31efb78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spawnWindow (cyclomatic 13, cognitive 14): spawnWindow has cyclomatic complexity 13 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":"renderer/fx.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"00119d6a686ef035cef32084d3728905d78825a4b232a4bd37f91639e0bc47df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintMeta (cyclomatic 13, cognitive 13): paintMeta has cyclomatic complexity 13 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":"renderer/library-panel.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"595c206282fc8a0e5867ea69c959c1581f6b6fc5951805b17ef507a7ca296a9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function strength (cyclomatic 13, cognitive 12): strength 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":"renderer/app.js"},"region":{"startLine":3222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db71e04adf934a7fdf4b893e0284f3a4c382d2b07916dac2e0ba7b6d68ce451"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function append (cyclomatic 13, cognitive 12): append 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":"renderer/engine.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc450bf1ca07fc274818aef90703ebc7adab07acde9a8e720d0ba5e3035e1dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 13, cognitive 12): open 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":"renderer/library-panel.js"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f386f15fc8aec7689b039b965167cf931d36562176906e960bf86fdb250b19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 13, cognitive 12): onmessage 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":"renderer/tracking.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"be43c9aa1f5869ee140130b757ff8eb4c260849b6b18ad3ea79367a6f6a7ba4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectOnset (cyclomatic 13, cognitive 11): detectOnset has cyclomatic complexity 13 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":"renderer/engine.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54974878a68887364bfb715c06cc5b218cd13285c3e9324e500431fb4efdc16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setData (cyclomatic 13, cognitive 11): setData has cyclomatic complexity 13 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":"renderer/library-panel.js"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2050b69eb3a136daf143b25b78589bbfea3550dc1118d26d14cea5d6605af13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lightsAt (cyclomatic 13, cognitive 10): lightsAt has cyclomatic complexity 13 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":"renderer/backrooms.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27a43e8aa37e49d238236d9f301a8c5a6c00c517b6d564b5a888177df4487a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function present (cyclomatic 13, cognitive 10): present has cyclomatic complexity 13 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":"renderer/engine.js"},"region":{"startLine":3273}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bff009672af1041cf513df599b0c914fabec2508f660b9bff80380fe68ce10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compactFromExact (cyclomatic 12, cognitive 30): compactFromExact has cyclomatic complexity 12 and cognitive complexity 30; 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":"renderer/tape.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d62e23abfac6035bcdab08f9b1d7911f339947f6593de3d0a53404fb49d3347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chord (cyclomatic 12, cognitive 29): chord has cyclomatic complexity 12 and cognitive complexity 29; 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":"tools/checks.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29e2015d3beab3633d59df2a968a52f90aa9ac46d632814f8181953e7c35a28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 12, cognitive 27): update has cyclomatic complexity 12 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":"renderer/pinches.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2374de73af8a56e51ee3a49c9c5b3dd3c516bdb28ffbd26ebc76cb4f5b72889c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromArt (cyclomatic 12, cognitive 26): fromArt has cyclomatic complexity 12 and cognitive complexity 26; 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":"renderer/card.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d646a9c83e7673e305415834c981cc78b0821bbf2dbad7aa5fa09c22728769c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function midiNotes (cyclomatic 12, cognitive 25): midiNotes has cyclomatic complexity 12 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 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":"tools/tune-export-check.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"955b90e99a64538c0b2f088df2204f0bf78c8382867adc132a5b804299cf2187"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeSong (cyclomatic 12, cognitive 24): makeSong has cyclomatic complexity 12 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":"tools/clock-harness-page.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1540d26adb4496603d4cc138d13be67d7d0a8162b2ed369250152b57e6d505"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeSong (cyclomatic 12, cognitive 24): makeSong has cyclomatic complexity 12 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":"tools/take-replay-check.cjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5e361ffd459cf4eef965df465fb8915d1ff1b90224585cabd7303c6a22c658"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function judge (cyclomatic 12, cognitive 22): judge has cyclomatic complexity 12 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 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":"renderer/game.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"678eb344b06235bfaa28ff03fbeba79ce495ce08c02fe428d4c1497a21a10acd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintHead (cyclomatic 12, cognitive 22): paintHead has cyclomatic complexity 12 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 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":"renderer/library-panel.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8536137a3ba33cf57dacae84ecd3da128ff0f119395830abca5c695c5233286a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spSongs (cyclomatic 12, cognitive 21): spSongs has cyclomatic complexity 12 and cognitive complexity 21; 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":"renderer/library-panel.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c978d6aa006c8ce3aa7172c3f23b875bccef12ef86bc894a96620ca673d8628"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seaCells (cyclomatic 12, cognitive 19): seaCells has cyclomatic complexity 12 and cognitive complexity 19; 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":"renderer/scenery.js"},"region":{"startLine":6231}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d6ee50766d295c4cd5ca7a2fda489a89a0335e49ad821d8606e25276605ee1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function intervals (cyclomatic 12, cognitive 18): intervals has cyclomatic complexity 12 and cognitive complexity 18; 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":"tools/event-score.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4385b8c819ba48e8fa1e1323cbd020c0f3e1e5c3739d8c73aac7edee68a724f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drumThreeWays (cyclomatic 12, cognitive 18): drumThreeWays has cyclomatic complexity 12 and cognitive complexity 18; 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":"tools/exportbench.mjs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"475b7f3f3fc69132a5bfd4e55dac925d3aae38ac4334ccfee9f70f0421712da4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLibrary (cyclomatic 12, cognitive 18): buildLibrary has cyclomatic complexity 12 and cognitive complexity 18; 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":"tools/library-fixture.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf1a0aa14b9efe2673a41b9fa76aade06928988924a744582ec59c8ac5a4977"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oldOrigin (cyclomatic 12, cognitive 18): oldOrigin has cyclomatic complexity 12 and cognitive complexity 18; 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":"tools/x-real-compare.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e0f4c8cb5f47f2fc5a66f409a821cf972cef24958c1c0895ed470012dc3b1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 12, cognitive 16): draw has cyclomatic complexity 12 and cognitive complexity 16; 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":"renderer/chrome.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c42819e673a926ce4b7576bddce7305dcd5613f6328e79e12cc8c2d0a01d42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function aRound (cyclomatic 12, cognitive 15): aRound has cyclomatic complexity 12 and cognitive complexity 15; 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":"renderer/app.js"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab4e039b1d7bd24c7f136baa1ef7b9b332d65131cd41333a4af4dbbeef665ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function picture (cyclomatic 12, cognitive 14): picture 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":"renderer/cuts.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b3b68131485c0e87db8217209afc91290618da070fe81f834afea1b6924e7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function barEvents (cyclomatic 12, cognitive 14): barEvents 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":"renderer/tape.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3070911e4e4c48936faa27cc8332fa80f21714150b9e9535667dc2f1127808c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchZip (cyclomatic 12, cognitive 14): fetchZip 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":"update.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5f2a81f940086ecb3944a5937d5b5dda3b55fb68d4e35b3f029b9cf5c9e15a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lowPitch (cyclomatic 12, cognitive 13): lowPitch has cyclomatic complexity 12 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":"renderer/engine.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71cda50ff9f3668c5b965dfb5f9bb4ab7e26a3af23b92f492250c76701d812f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 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":"renderer/gameskins.js"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de7b8caf90154910600f68f2abf7b5d866ae008791b35cd858033ce63189d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placeLead (cyclomatic 12, cognitive 13): placeLead has cyclomatic complexity 12 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":"renderer/melody.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c4fced15a88121d7e406cd3146e35af6f70cb16bc2c86bb48a7cb7ea938bd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 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 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":"helpers/library.cjs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdee84b063406bbbe88edb22b8263ca9ff7d3a3b546a76bf3e8eb7cbdb80132"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findKey (cyclomatic 12, cognitive 12): findKey has cyclomatic complexity 12 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 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":"renderer/library-panel.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"02eaa0cce6afc304b5d0cbd7c2bf159a1311bdf358adadbb3807652cc25bfdb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function playlistId (cyclomatic 12, cognitive 11): playlistId 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":"helpers/youtube.cjs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6596b5d610b1804c78b1945557a5d14067a3d3755c9ae18aeb9ed1c2e4a755c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apiFailure (cyclomatic 12, cognitive 11): apiFailure 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":"helpers/youtube.cjs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85f0f4ae52ed85ea8659dcb03743243e11403204ea88d00e28bb6e2402e1244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 12, cognitive 11): finish 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":"renderer/spaghetti.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f04185fb589dd983371262c24bb0b3616a9ec114395f9aab1b45e982da048a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installWindows (cyclomatic 12, cognitive 11): installWindows 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":"update.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac99453037859e31bf1ef019d9d29ce1bc5fe09515e92c0248b146e2244287b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function offerUpdate (cyclomatic 12, cognitive 10): offerUpdate has cyclomatic complexity 12 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":"renderer/app.js"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"525d45eb84efa79b13bfed201347485fbb1799af2f0fd7ce70fdd4c8e0b3261c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function songSnapshot (cyclomatic 12, cognitive 10): songSnapshot has cyclomatic complexity 12 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":"renderer/engine.js"},"region":{"startLine":3177}}}],"partialFingerprints":{"codehealthFindingId/v1":"836f5eb5103d64fb70990972635549aabdfb23b40181d65bf0d88fda75cbb2fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spOpenColl (cyclomatic 12, cognitive 10): spOpenColl has cyclomatic complexity 12 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":"renderer/library-panel.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fd6e7daef99363e4a1a754d3f69855c2d399d73ec1d5f5c5367c2194b40c92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function voiceTune (cyclomatic 12, cognitive 10): voiceTune has cyclomatic complexity 12 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":"renderer/tune.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dadef6f189796ee0d4a3fecef55e711a171ba7ec6701eaf12e06cded62f73f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; 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":"helpers/youtube.cjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bf3a2b777e2e6759235a024281addc3d72574c7bae16959beba26c684e26bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preanalyseTick (cyclomatic 12, cognitive 9): preanalyseTick has cyclomatic complexity 12 and cognitive complexity 9; 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":"renderer/app.js"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"056bab54af107e27e9c22f2bc7c8137502f2aa228c0b150de3511d1bb8554d69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromCamera (cyclomatic 11, cognitive 22): fromCamera has cyclomatic complexity 11 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 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":"renderer/card.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5450addcda09a8e152d3703ee441a4b15c26fbb57a6819872e7039e0f8e7ed1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockCode (cyclomatic 11, cognitive 22): blockCode has cyclomatic complexity 11 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 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":"renderer/tape.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ae2a0c5cdfc1aacf6ccd17b85764c38fb4f594aa65eeb01e8c0ae0ade0e0d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listWithKey (cyclomatic 11, cognitive 19): listWithKey has cyclomatic complexity 11 and cognitive complexity 19; 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":"helpers/youtube.cjs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"46640bc03d231415d31861dcca6f50b50d06a6900fa49d1465b32cfbc15a1fa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreFile (cyclomatic 11, cognitive 19): scoreFile has cyclomatic complexity 11 and cognitive complexity 19; 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":"tools/detbench/score.mjs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0b08d810a93e82c75887e2edda451526d8298e4d5575d5f8584d3b03685fbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dither (cyclomatic 11, cognitive 18): dither has cyclomatic complexity 11 and cognitive complexity 18; 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":"renderer/card.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9196bfc3788a8210fbb195692fb78095ec3b37e08891726644b80fe5e5e257c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findGrid (cyclomatic 11, cognitive 18): findGrid has cyclomatic complexity 11 and cognitive complexity 18; 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":"renderer/rebuild.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4409f44a47e66f955f9f53c9a4f71fdf0e80bc3d63b9b6500aa42cc8f252d62f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 11, cognitive 16): draw has cyclomatic complexity 11 and cognitive complexity 16; 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":"renderer/rings.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3cadcda06b12513dd09c88209db14a80037f3b1f533d3b7d7f0d12f5c7f020"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probe (cyclomatic 11, cognitive 16): probe has cyclomatic complexity 11 and cognitive complexity 16; 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":"tools/checks.js"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"836ec3eb0fa622d59c3ad6ab939d95823774855f149689322ce1cd88414aeb2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawCam (cyclomatic 11, cognitive 15): drawCam has cyclomatic complexity 11 and cognitive complexity 15; 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":"renderer/fx.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f014cf150c05b867c090f0c0e280bcd061f52fa4b11e3f14c9f0c7ebb9a79577"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findPrey (cyclomatic 11, cognitive 15): findPrey has cyclomatic complexity 11 and cognitive complexity 15; 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":"renderer/scenery.js"},"region":{"startLine":6171}}}],"partialFingerprints":{"codehealthFindingId/v1":"367f5c34ce374a707ca3e5d8a1a0306dce77c386eb6007b7623a6f23430c8b0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function draw (cyclomatic 11, cognitive 15): draw has cyclomatic complexity 11 and cognitive complexity 15; 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":"renderer/visuals.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"090eb4c87760230baf379746274ec658887eaeae70e52d235007f499ee387327"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runReplayTiming (cyclomatic 11, cognitive 15): runReplayTiming has cyclomatic complexity 11 and cognitive complexity 15; 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":"tools/shader-render.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6183cad4a96eebfe689af8d2ca382a22639eb273119eb7d9ac9d3de0cc1f728b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function size (cyclomatic 11, cognitive 14): size has cyclomatic complexity 11 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":"renderer/chrome.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f179b3abecfb40d9b7a4ddc4a269513beeeef3ea112e632ef1d3ed6e88fab5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bassYin (cyclomatic 11, cognitive 14): bassYin has cyclomatic complexity 11 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":"renderer/engine.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a668aaf6acee7fc3fca4eee336da1470ca50d49e473edf354eceebe4271ed0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function place (cyclomatic 11, cognitive 14): place has cyclomatic complexity 11 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":"renderer/worlds.js"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b038ffe714a145d66ed9b7ba527a4b3ec3d532398ea797546b96162a8432ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function correlateEnvelopes (cyclomatic 11, cognitive 14): correlateEnvelopes has cyclomatic complexity 11 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":"tools/exportbench.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"437d5ad493816800cb456a7576e5b302bb3c28931e4d45ed5dfb32cafb782494"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviveAudio (cyclomatic 11, cognitive 13): reviveAudio 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":"renderer/app.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c062a1329b9f7bf4d37d39776365bdce6111263c58a41d5d20885265628533bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apic (cyclomatic 11, cognitive 13): apic 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":"renderer/embedded-cover.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77a74d47c906efbe95f5c46e5e74ff33c0d1d2b1e19821fc19eda77a2bc2ed9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickCodecs (cyclomatic 11, cognitive 13): pickCodecs 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":"renderer/take-encode.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08e296b10a3d4b7cbba576101e6b5cd3970cd70f227f287a893918ad7845beb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readStations (cyclomatic 11, cognitive 12): readStations has cyclomatic complexity 11 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 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":"renderer/library-core.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c5e3ea09d40eaffd8075dd3a70da202654c9658c599f9348345a39c7f5a0ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 11, cognitive 11): finish has cyclomatic complexity 11 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 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":"renderer/chrome.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"440fb8d9de0d298c84b9b9656ae245795e0ab7ca128c495995c77ebf29999962"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frame (cyclomatic 11, cognitive 11): frame has cyclomatic complexity 11 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 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":"tools/checks.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee5de5f182b5534ea73d0b3e5652cc0388b6d4f6d2f57293f9023b2d55c88cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function folder (cyclomatic 11, cognitive 10): folder 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":"helpers/library.cjs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe0a5d7c7bb739f730f88fa69c2ac97344f3c27b3f292addf2c5dda340378e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function micTrouble (cyclomatic 11, cognitive 10): micTrouble 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":"renderer/app.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e22f5e24ced154c11821ddf8dfc8b481ce7d2c6302ec675bee9693006ebca5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function songMemoryTick (cyclomatic 11, cognitive 10): songMemoryTick 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":"renderer/app.js"},"region":{"startLine":2098}}}],"partialFingerprints":{"codehealthFindingId/v1":"529bc774861c993bde8ec79a352a3081a1b70a8f2a9a9829b9dca00515440d96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintKeys (cyclomatic 11, cognitive 10): paintKeys 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":"renderer/library-panel.js"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de05b2228139d655c116e861e38a0a1362a0ec1cd19dbbfa48fe1f3b76b61c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function feedRings (cyclomatic 11, cognitive 10): feedRings 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":"renderer/post.js"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a48242d53a009320ace216e0ecaf14f4d67ea5de5d89d0e33fa2834a6e39e1"}},{"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":"tools/library-check.mjs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe2ae4704514e84c56800831e09fcb6cb84b31df9eae290b9a922284865bc8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hop (cyclomatic 11, cognitive 9): hop has cyclomatic complexity 11 and cognitive complexity 9; 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":"renderer/noodles.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f25a0a543020868ad588433bc735ce2a287cd5e2a4f1e2045f5a7b2fe80152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wantsCut (cyclomatic 11, cognitive 9): wantsCut has cyclomatic complexity 11 and cognitive complexity 9; 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":"renderer/portal.js"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b720c829b28ee1c3bdfce1c9220c3703ac42083a56a4f17515034ba560b6c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; 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":"renderer/visuals.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee21fe0f06398addc20c2b8700c2e9f00e456a281b155567d30acceea53472f"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/scenery.js: 7222 lines of code: renderer/scenery.js has 7222 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":"renderer/scenery.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91959a6680c9fd6febf8c09696d3190be80d841f5cfc1134e4bfdd08a31ce7a"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/app.js: 3341 lines of code: renderer/app.js has 3341 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":"renderer/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"398825a401b4220c98cb6f03e49e7bce6b4ec007efcaccb51f96c13e1a492871"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/engine.js: 3208 lines of code: renderer/engine.js has 3208 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":"renderer/engine.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc11992c38565598f1377701f3824df242b9ecc7c7880a2129850658f09b40a"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/worlds.js: 1855 lines of code: renderer/worlds.js has 1855 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":"renderer/worlds.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f6354367649594f49ae19d26771ecacaf7631f9a9b220013a4faf507d5e264"}},{"ruleId":"R3","level":"warning","message":{"text":"tools/library-check.mjs: 1633 lines of code: tools/library-check.mjs has 1633 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":"tools/library-check.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"071d24eb8ee0541d3e84e07a1cbfa7a04bf97ad3f6e96875aca4b509b3b5a066"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/library-panel.js: 1406 lines of code: renderer/library-panel.js has 1406 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":"renderer/library-panel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d823d64fee88a89301cac6ccb5f732ef8693ddd6183cd845ca752a3653af9339"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/portal.js: 1108 lines of code: renderer/portal.js has 1108 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":"renderer/portal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f60adf4bc3796e3753057e7f7ae0034e89a2494ac4374b1cd433d264b05ca00"}},{"ruleId":"R3","level":"warning","message":{"text":"tools/checks.js: 1031 lines of code: tools/checks.js has 1031 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":"tools/checks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fd44d96371adb66bac3015b15e1494c4eb29f7baac9b19a45afa439bbd1223"}},{"ruleId":"R3","level":"warning","message":{"text":"main.js: 987 lines of code: main.js has 987 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":"main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"911359a324f4b49bb139767713a6c687226d95d18a2c51d479df1c3e427185be"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/visuals.js: 986 lines of code: renderer/visuals.js has 986 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":"renderer/visuals.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd2da36b983827ca4468b6d655346f5871718d178b9893ec57d4596b3f2020e"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/gameskins.js: 979 lines of code: renderer/gameskins.js has 979 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":"renderer/gameskins.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2c2e1bbe2f56ddbff9b2b471d068aad35ca656511b77c462ae602e22493861"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/noodles.js: 915 lines of code: renderer/noodles.js has 915 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":"renderer/noodles.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7c4021eefd523c59fcc491f0f168adee2a1976a1b4850423ca339cda44c764"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/spaghetti-kitchen.js: 888 lines of code: renderer/spaghetti-kitchen.js has 888 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":"renderer/spaghetti-kitchen.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c790e01ac6019ebdb8e432003bd61d848d4aa7d813111349a49a32ce57a9e215"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/game.js: 865 lines of code: renderer/game.js has 865 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":"renderer/game.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e85551a5d3b524125ab857e94ca60fcb499fcc5e389293589e4b077e059bd09"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/post.js: 840 lines of code: renderer/post.js has 840 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":"renderer/post.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee05abfb84570f08af1c9a469539b829440a99664c2d612118e1f3b4651b70f"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/spaghetti.js: 783 lines of code: renderer/spaghetti.js has 783 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":"renderer/spaghetti.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b0ad2ec208ff457c2072750c4ded8fbd065faa5a223f9020fd4ca89e09180e"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/orb.js: 747 lines of code: renderer/orb.js has 747 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":"renderer/orb.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ae5ffce3cea02e1c74458f61da1cc5dccdfb898bf74cc40b816167c69a869e"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/lens.js: 629 lines of code: renderer/lens.js has 629 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":"renderer/lens.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4945c45fabb2adcbe08cbb5e42e8750297f11e0493cc8fc2151e572825c1ce04"}},{"ruleId":"R3","level":"warning","message":{"text":"tools/exportbench.mjs: 550 lines of code: tools/exportbench.mjs has 550 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":"tools/exportbench.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacd09bad4318bdbe96719b4b471ea25111aec6b053bd6914de04b55c66bc1c1"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/worldlooks.js: 530 lines of code: renderer/worldlooks.js has 530 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":"renderer/worldlooks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac43677fa1a638c711ffaa076e297757ff89a88d02afbd059839dbf7247ab8c"}},{"ruleId":"R3","level":"warning","message":{"text":"helpers/spotify.cjs: 516 lines of code: helpers/spotify.cjs has 516 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":"helpers/spotify.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de917a16830d4855845aa0f9924c520e87a4b9d8d31754945f275666847bdc8a"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/tape.js: 475 lines of code: renderer/tape.js has 475 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":"renderer/tape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"611682bec73212e9b389a1f1157dc82912fd43c9eed018d1d17337edd6d0bc6c"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/library.js: 463 lines of code: renderer/library.js has 463 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":"renderer/library.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa55d1800b9792e755a5be552ebc710266ab4e5bc4d60cd260e7e023d2aab125"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/codeview.js: 459 lines of code: renderer/codeview.js has 459 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":"renderer/codeview.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf54515abdfaf43a27a27b8df91bdae43faf1604c3aa2ff3d2c5bd08c9a9b562"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/chrome.js: 455 lines of code: renderer/chrome.js has 455 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":"renderer/chrome.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac008cde72b7de733c6b2169eb6fcb31e1c1d7ec03776d4ce98585b3576e7c2"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/rebuild.js: 454 lines of code: renderer/rebuild.js has 454 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":"renderer/rebuild.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36d4d6dbb12639d79dce2d8bdd1d891d228c3abb33602105fac761a3af8715e"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/player.js: 448 lines of code: renderer/player.js has 448 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":"renderer/player.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b006e1ab82c758189bdb98884cfaf48627091903ac2b5a94809756f214bf58cc"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/glass.js: 424 lines of code: renderer/glass.js has 424 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":"renderer/glass.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a4907b792a2f1520a0ae4a28e5df508a2ca0c8c8f42d03e8559cbc3230fcbe"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/cuts.js: 418 lines of code: renderer/cuts.js has 418 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":"renderer/cuts.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dd2da26b74aa3e6a2e17bf93e0b5635f43003255a87365064f4df38149669d"}},{"ruleId":"R3","level":"warning","message":{"text":"renderer/y2k.js: 402 lines of code: renderer/y2k.js has 402 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":"renderer/y2k.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3072e78b26d9ba20d84eafc8de54b2b07ace741c1ad98304092db7c8b45e05"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/library-worker.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f67a900aeb519a0fae67fbdf1af99313faab0ea5ab2c7ee945ae1f3161647eb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-encoder-preload.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a1b4333dc8528794eb00fc94d346045caca9883e3515ad46c0ff2b2c5c77f7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/boot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b5b44d62b0e0c5338c85245548f886f46ed6c9931b21dc2253f1ac00c55138"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint or typecheck script: test \u2713 \u00B7 lint \u2717 \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":"658a995477a4f3b704a1d0c61d78cffb4c5cc1944c2f896c1bb70ee901a201cf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027POST_LAYERS\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/post.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3f5682ad771827c6ecafd61765d845d8853d0400541432fd91b968b7b40ecc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027between\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/random.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d452fa1c7563db8f2d72683ff6ab87cb855644d47a69ae421106b1f1b85015"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027whole\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/random.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"46171f0a43fcdf76485a65aed9edeae486e5c85fbaeea199b6385c0ebf309cfd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027oneOf\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/random.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91e5e44a5cd8b48703b842ad57cdcce7c18f18d61d40697dd9048030d5c578d"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CAP\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/song-memory.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c46561aea88c1a668460a95fea0dcae3fcde640c46d20fa049615f28891b8b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027SIZE\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/cover-fixtures.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"af21185f5bdfcefe0b0472159a2a55cdb7e09d24e0d120a2eb8b1313314e47e4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027sameKey\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":"tools/exportbench.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d5888f9d5dddc9071ae5e31dbbe1d7ccf065a1b8c0bb4edd36176165cc12ab"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027playing\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":"tools/library-check.mjs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cd253e370674b5a3e79f3c7d19ac2d15c77740269ae7135cc94a59ae393b5b"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/library.cjs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e096fc3cd4a0c36a18423b7dff70fbc300e2718290915f6cc3fddbb711a80da"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-source.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e67607241beb297a7f660e7d0f2f2b888ee984873b2759a0685dd7795e33989"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://unpkg.com/@strudel/repl@1.3.0\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/studio.html"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1273a77ddf98812b27312ef74618348546d251757113a537fcabb880e1a109"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!failed \u0026\u0026 (!!loading || !video || video.readyState \u003C 2)\u0060 appears character-identically in 2 files \u2014 renderer/backrooms.js, renderer/earth.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":"renderer/backrooms.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f301bea62760c1b583adb0f7fb1470db532362e6b7535814a3020227d7a71f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Math.abs(video.currentTime - want) \u003C 0.0005 \u0026\u0026 !video.seeking\u0060 appears character-identically in 2 files \u2014 renderer/backrooms.js, renderer/earth.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":"renderer/backrooms.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a865649a4c6a130056e0b9bbc0ebc0f9197c53ac35145fa2e34c2720a355c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a \u0026\u0026 b \u0026\u0026 a.root === b.root \u0026\u0026 a.minor === b.minor\u0060 appears character-identically in 2 files \u2014 tools/detbench/harmony.mjs, tools/exportbench.mjs. 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":"tools/detbench/harmony.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"129d657697e922e9d806778491fec0411a3d35f556a494f2a4a80442a8fa22e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060broken || !video || video.readyState \u003C 2 || gl?.isContextLost()\u0060 appears character-identically in 2 files \u2014 renderer/dotcam.js, renderer/voxcam.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":"renderer/dotcam.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96892de9692af1bf9bc4592963b420aa78a4b6e2d475eed5aa294b4a6d9da27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canvas.width !== W || canvas.height !== H\u0060 appears character-identically in 9 files \u2014 renderer/backrooms.js, renderer/chrome.js, renderer/earth.js, renderer/fire.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":"renderer/backrooms.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3b9bb6210f19ef4e54561d99435ce654a11c956e3e5406eef475bd03404c43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canvas.width !== w || canvas.height !== h\u0060 appears character-identically in 10 files \u2014 renderer/cuts.js, renderer/gamewarp.js, renderer/glass.js, renderer/handpoints.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":"renderer/cuts.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3bb4d47d63f963b8d8809c9be3951d22fd6225e18f8fbe2e2c273b3843cbfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clock.mode !== \u0027render\u0027 || !active || !video || !(video.duration \u003E 0)\u0060 appears character-identically in 2 files \u2014 renderer/backrooms.js, renderer/earth.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":"renderer/backrooms.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f288acd51302a60cc1aba2802ca3c410631f2e5c7592ecddf5e5e96fc362d8db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060eng.v.bd.shown?.[((g % 16) \u002B 16) % 16] \u0026\u0026 eng.present(\u0027bd\u0027, t)\u0060 appears character-identically in 2 files \u2014 renderer/dotcam.js, renderer/voxcam.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":"renderer/dotcam.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8269a2a25b72434e6af87b48811e8a06b50d0d10afe928f160aae0466ea0650f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getComputedStyle(document.documentElement).getPropertyValue(\u0027--font\u0027) || \u0027monospace\u0027\u0060 appears character-identically in 2 files \u2014 renderer/scenery.js, renderer/wait.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":"renderer/scenery.js"},"region":{"startLine":6715}}}],"partialFingerprints":{"codehealthFindingId/v1":"de191a0feea5a02af3f409d32e50d3068004af138f7361c19d249cbf93488734"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lastStep === null || step \u003C lastStep || step - lastStep \u003E 8\u0060 appears character-identically in 4 files \u2014 renderer/dotcam.js, renderer/orb.js, renderer/storm.js, renderer/voxcam.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":"renderer/dotcam.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef4adfa5286d4d95c4ed617d44a42bdab5dc0748bf3bcaba91f6ffb913e24c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.error?.message || m.result.exceptionDetails.exception?.description || \u0027failed\u0027\u0060 appears character-identically in 2 files \u2014 tools/take-live-check.mjs, tools/tune-export-check.mjs. 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":"tools/take-live-check.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"56901f8304a84f2fc65adfa8ed07063fd1d8e8d93647b1cdf7eef0b032cda997"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o.confirmed_by_neural || o.strength \u003E= 0.8\u0060 appears character-identically in 2 files \u2014 tools/detbench/score.mjs, tools/exportbench.mjs. 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":"tools/detbench/score.mjs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"00850aca2b0f8d96ec048d0ffea541346431267346946e844ea3a2f5a5b097f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.type === \u0027page\u0027 \u0026\u0026 p.url.includes(\u0027index.html\u0027)\u0060 appears character-identically in 3 files \u2014 tools/cdp.mjs, tools/hitch.mjs, tools/take-live-check.mjs. 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":"tools/cdp.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"913f3cf3d2daa9989ab4d27a9f71dd678bec7951290d5395d2563ce6d4620851"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060par \u0026\u0026 jobs.done - jobs.at \u003E QUICK_MS \u0026\u0026 now - jobs.done \u003C SETTLE_MS\u0060 appears character-identically in 2 files \u2014 renderer/chrome.js, renderer/spaghetti.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":"renderer/chrome.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3142a24d92825f2f4bfa18f50283be3444e0b4531699a76084aaa37e1aac369f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parallel \u0026\u0026 !gl.getProgramParameter(prog, parallel.COMPLETION_STATUS_KHR)\u0060 appears character-identically in 2 files \u2014 renderer/glass.js, renderer/orb.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":"renderer/glass.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f783e6d75b67e04fbfe8a9a8586ec8f69412ba5913e05ca4c412944f1c5a36a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url \u0026\u0026 (url.protocol === \u0027https:\u0027 || url.protocol === \u0027http:\u0027) \u0026\u0026 url.hostname === \u0027open.spotify.com\u0027 \u0026\u0026 !url.username \u0026\u0026 !url.password \u0026\u0026 !\u2026\u0060 appears character-identically in 2 files \u2014 helpers/spotify.cjs, renderer/library.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":"helpers/spotify.cjs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a128c3fbec4d5387c720debe58b03ab83ee9383d0c839521c4babea2caec9b65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0027triangle\u0027 || value === \u0027square\u0027\u0060 appears character-identically in 2 files \u2014 tools/event-writers.mjs, tools/exportbench.mjs. 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":"tools/event-writers.mjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d074ce94b7b30b73cd4211768100d54ef3cd4bf1dbf48f943164af41d7cc45d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.nc?.earthClip || window.takeRender?.earthClip\u0060 appears character-identically in 2 files \u2014 renderer/backrooms.js, renderer/earth.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":"renderer/backrooms.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7c5787eaf66c480b71fa90102aafe139a3e4ec5e6156638aee6a9736322faa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x !== null \u0026\u0026 x !== undefined \u0026\u0026 Number.isFinite(x)\u0060 appears character-identically in 3 files \u2014 tools/detbench/harmony.mjs, tools/detbench/score.mjs, tools/exportbench.mjs. 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":"tools/detbench/harmony.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"372ed7be98397f7ae938684142146ee961f106f7ebe599abdeae8039c4b5bd84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ob.type == \u0027LIGHT\u0027 or ob.name.startswith(\u0027sheen\u0027)\u0060 appears character-identically in 2 files \u2014 tools/handheld/concepts/metal.py, tools/handheld/concepts/wide.py. 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":"tools/handheld/concepts/metal.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bc0603a4cda322c92750a2f56deb0ea8ab250938cd86584bc0fae831766aca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ob.type in (\u0027MESH\u0027, \u0027FONT\u0027, \u0027CURVE\u0027) and ob != wall\u0060 appears character-identically in 2 files \u2014 tools/handheld/concepts/metal.py, tools/handheld/concepts/wide.py. 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":"tools/handheld/concepts/metal.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44e200d8063112e488bad4ebf7c14ffa22c36e67bb05e57fb31e18e4fde2bf1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ob.type not in (\u0027MESH\u0027, \u0027FONT\u0027) or ob.hide_render or ob.name == \u0027wall\u0027 or ob.name.startswith(\u0027sheen\u0027)\u0060 appears character-identically in 2 files \u2014 tools/handheld/concepts/metal.py, tools/handheld/concepts/wide.py. 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":"tools/handheld/concepts/metal.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"708f122e82ea0de0b943bdf91895a0ca86c865b6e6d77c917340d1754bdb72be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060peak[sl][part].max() \u003C 48 or part.sum() \u003C 200\u0060 appears character-identically in 2 files \u2014 tools/handheld/assets.py, tools/handheld/assets_stance.py. 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":"tools/handheld/assets.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bef86772c5d852e86f183724ef196ba24352e59f4c8be41d7e91546f7ab0b52"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 2/8 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadLooks: \u0060loadLooks\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f163da63278732434d0c80ddd38c9b39ba0788f8bd832a1955a608f29117673d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: hear: \u0060hear\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/ear.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"14369e582041cff67a3a2a5472efe4a2fff5f8f17af742fbb6a419698f7f1ada"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: onmessage: \u0060onmessage\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/stems-worker.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e90cfa74b5dbac21d0dbdab1a4d7326d6dd314854f9f7dc2e487f232fdfd4e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: openExternal: \u0060openExternal\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/spotify-fake.cjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a308d5ccc48f2ec0acd2ea1aad6a96e29404c430d226c4ae8a5cc2bfb2ed014"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: tokenRequest: \u0060tokenRequest\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/spotify.cjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24f3cf2745bbe3bcddda6f59b15d54add0ebe1d31a71f7df0add01ce5588ef7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: send: \u0060send\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/spotify.cjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a35ad8f04bdae34046f165c65a343954d86f2ce88e69db85ee1688ba774ca3c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060text\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns 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":"helpers/spotify.cjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"438ca5edb6b83637972ae05a85f027f6eb21deb8c2ab99a32d34e37a66ff8f31"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060status\u0060 is text this program did not author, and it is written into the text of an element through markup built here 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":"renderer/app.js"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f98029250ad4d12318804f43ae8e7e21828e3744c403866820ca9bfd182fb0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060chord?\u0027chord \u0027\u002Bchord.name:\u0027listening for chords...\u0027\u0060 is text this program did not author, and it is written into the text of an element through markup built here 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":"renderer/app.js"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2539c7022333c9c04d3cd44b60da04315a0e532ea6b36b3446b4ed7ce339c6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060body\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":"renderer/fx.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d48b755a15bf004f6f2ec892c04189dad41778ff7ed20003dd2f4ff50b4805"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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":"renderer/library-panel.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bac11dc3feee7db23e6dd8d90128075fd15ac536f7c672171b55dfb859dc74"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060left\u0060 is text this program did not author, and it is written into the text of an element through markup built here 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":"renderer/library-panel.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc5dc6d8b080eb5c3dbadbf8f8f85994a1ea558f307a1762571ce47b8fac3f6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060on?\u0027\u25B6\u0027:here?\u0027\u275A\u275A\u0027:half()?\u0027\u0027:two(row.index\u002B1)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns 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":"renderer/library-panel.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd67fec0b754404d46828f4cc5aa1a0e98124fa35ff00d2f1849b59fee619cb2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060SPOTIFY_ICON\u0060 is text this program did not author, and it is written into a quoted attribute value 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":"renderer/player.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e6defaff12e4203a7dfda3d8e5de10b008661e15f2b921a7d30fe796abb940"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060icon\u0060 is text this program did not author, and it is written into a quoted attribute value 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":"renderer/y2k.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c434e9aa64e09355136ef489efcdc319e613bb8b532d42a345f290d7fab8ab6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\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":"renderer/y2k.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b26b3b68e0d4953211e8a81601554f115d5ca307bc0bdca807229886da325f6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060innerWidth\u0060 is text this program did not author, and it is written into a quoted attribute value 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":"renderer/y2k.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"124c26c691c2162682ee493bba5f4f33cd796494b47263693c5c4182ca680e2d"}},{"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":"main.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d635d7d1d37bd5ce9ca1dd189d329f075b1e9d46aadeca8b49f5523719347aa9"}},{"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":"main.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e9458dea5286e5e289d60362fb8664a98a027344d0297eb3f9b6ffcf806870"}},{"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":"main.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"395fd59bf3c08b2d8a2af8ac71b00722a998e358bedcec115fa5de00facaf9eb"}},{"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":"main.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4093349080f1f22714c76b8081e6124d0fabb3dc262e7d0895f3efc382445b52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ff0b533e56569da81ef124598fd3f8a766d39a3348d4f3542cd114d6925315"}},{"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":"main.js"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"75566fe8adfcecc3ce6a818075756bb579cfdfda3af2fa0f43f44fb4e3232d68"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3155741ba1bca23db3aaab7a0c8801808139346d1a4bd1f7f10aa62f0e9fb4"}},{"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":"main.js"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf10c0eb36547e992ab5fc03c6bce541a7a5f2ed5ae42096783ba30f3974a2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09e28111bfbe84eefc79f7bb792388d3566a1e822579f620b6034260e1afbc0"}},{"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":"main.js"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b922d3d49867fafbbda1a007e26dbdf4b168b0f337c43d5a00ca5a07eba8e"}},{"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":"main.js"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"3991d47e99c5731c84b5cf683dba9387f368cfbb296ee8f49ecc7921f160b9a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"update.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f729ed6bc02a545bcfe5bbea8016e4d70c62322e894b93e43e444f0a7bc0a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"update.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd0c41aeef312123dade9d544b5d399a9394948f7aee76b81e3169b88214dbe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"update.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"188e65cf912e40daf4e1ac2d430945b546279bd16ae9cad68c4c32f93c6c4a40"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"update.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8abbc13a2ab06a247ad1f5e7fde3c76399bbb400e940b89236a529c6d7f962e"}},{"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":"renderer/app.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"92356447daf9a850c387e975b34399891b1f75dd8ba5d034df27024010ca2928"}},{"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":"renderer/app.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f486705c3807ad3d7d78b0ccfb025fc7cb49e1a1a7040647e294b303d06a238"}},{"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":"renderer/app.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1bcb4db97a867bc8a6d3989727944d88d02e5ccc015aadeea7ad40c5032c33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed29dce34e88654d8377268c17848cdd640e0c5279377f2ba819e6afce446ed8"}},{"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":"renderer/app.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"0524837bf3100c554456d10259e0c52b00e77ba2c62f0a06a8df991af0453e7a"}},{"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":"renderer/app.js"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fcd794d8124cc6807f512a0d920999deca24812b20621dbb319a4291416996"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"b666902e786fc798fd7ff6dff51a58edd3612d46ec0c553ec89cd3f129be99ae"}},{"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":"renderer/app.js"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b3b8569ae81cd3d50d29854b7a9b52b250a430f00325586df9dd2f009fb828"}},{"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":"renderer/app.js"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9b23de2575caa488c535a58ff9eaef2398152b07d808ee24f1a49b16b53622"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0a9339e6569164f344759802c9fed41477c30a7b5a0af626bc2665b2336f2f"}},{"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":"renderer/app.js"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"70aec999d93502aa8b34d6d19122ab1a69aff3643c22e81b77f4f8a2b1fe655e"}},{"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":"renderer/app.js"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"10907d64d8768e4f02e8c88b8419555c431d04173775e9dd5c765583c1ca53fe"}},{"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":"renderer/app.js"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"db921efab18802dac9923d12f9b9e62ef70e5a7857595c8312190b26f15f5dd1"}},{"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":"renderer/app.js"},"region":{"startLine":2281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3949990eee7d5854912a6eb0d9d86f707bd7b5b55e6fd2652685dbdf848cc1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdede7098d6ca213599563bc5d80854e7d82145fa8128fbe6dc5e37e0e79c629"}},{"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":"renderer/app.js"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a3f40b1e4307f45affb27d9f4fb7af1652388f8e816f40c51bf6b0297b8814"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":2992}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd7bf147818e54da022a97a231d5e6fbcea941059400e11c9467147438a2e38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":3348}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bb61258dbf85939584e85eda14fb548780454f07375ed0c3bc080fb48cb3d5"}},{"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":"renderer/audio-tags.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05a1a7c657d6d2d3ea33667f7cca3e6861adc7909dd500df7ee69af9fdffba8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/backrooms.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"36759b952c106d3b73f10dc313311248942967a943c4a6251823199a42583fd9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/backrooms.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"21db3d70b5501ae28a81f127db8adf51849cf794f4723073500fb3776986284f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/backrooms.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6a82ac4aee5d3c293572b355d877ce81e3c5f6cdc0f4c851c168eb83407fdc"}},{"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":"renderer/clips.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d723c6d7b9cf4f4f7fef91f9757d07d62f634e6489aa14992670c46d5498523"}},{"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":"renderer/clips.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2322f73c8fc945434c32411c4d61cd1307d52f8c342ca4d337fd96e6f425e72"}},{"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":"renderer/clips.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc55c8ec9f50d0e09df2ad2b8730addfd52a8a8af10db765850f5f6ef0653f6"}},{"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":"renderer/clips.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fd5232b8ffbac4621c961a6bc1ad8f2dd60c0a0e25531da824e9196c775945"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/clips.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"66df1b8a0e69bd18c9a9c899cd3da3b03c02a38eec02eb7559eb9b4eafb690ff"}},{"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":"renderer/demo.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6ea42a306c4c2ab0af10a79a0a57f72872444dfe3210444cfec2cc86ea80d1"}},{"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":"renderer/dom-time.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7ec9703030a212e34c4249cfb6f30d2be91a0a0d2faff7db9890b4c0847d82"}},{"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":"renderer/ear.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a241c2175d240434a8b6045541c7177c180458085d5d673fda31b00c441621b"}},{"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":"renderer/ear.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"29efe1643a6469f97004214fecbfa81680bc32f4742ede5c97c7f37b7a7275c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/earth.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"814971149dbf5ee8f211d08a60cb900afffa6ec1541d6c958ce43d0a4c840427"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/earth.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"005fa2d4b023c5103cfe19210473beec177365c09545edc4def0ea69d64563cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/earth.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"779076af1845c268f0ab933750c1a710d1c1550443f9032729ff41456dc1dbb0"}},{"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":"renderer/embedded-cover.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a437b7b78ebaf7f1c1d9d4b42f267ab58ec7e30d71a3a15577e783aaa540393"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/game.js"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd52b2eaae9bd6403773ce9ae5edba4723465eb5e29a3666d51666c5eecc6e84"}},{"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":"renderer/gl-pool.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5295100a3279be26090b68249ca7ce832b6ae2e636e9d616876057c5cd8e301"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b257ed3c8e1cae9e897e1d893f1b4a3e7b6d9e00e5b93f3c79bd816793ceff06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6285dbe825fbbbf66fbf10d2120b5c98ff4a52bfd91fb1ba6266bc845b5ffc00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5989391ad8f0516998ff44003faf81361aebe06f7b31a6326fb5ffbbd0071e96"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c35285cc21e830f6b5286f06517a18fbcdcade2278e12e21e2de8cb60acaca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/library-panel.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf1267aca82f2f4b8d747f5e7cda7fcda61d55883e27beecdc47d9bf4821b4a"}},{"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":"renderer/library-panel.js"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"e178d2b4d6526b0e646d8f71e8ff8e8a4336c5d4a33d3b3ccb2c11f6dbf19424"}},{"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":"renderer/library-source.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf96b9131332a8ae08c4650f28d471d6a045948b40b8b0befde03d20f3d8695d"}},{"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":"renderer/library.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f681a11aa4fe704761b07f6213d07e5e70e9b59091f72b588379469180d5de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/player.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"f852313736468b8c4c913e354a9b0976598c7f653436ec31777cfe0934ee8d7e"}},{"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":"renderer/preanalyse.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9499a0644b19832ae84c9b1483fc3ae63a9642bd4e0d1f8d957bc18c92221c2c"}},{"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":"renderer/preanalyse.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91c4b2dee27636ca702fae76e39b2b7ebffb7c6d0319c1e3a7402863503d781"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":6521}}}],"partialFingerprints":{"codehealthFindingId/v1":"986ab6edfbcac3baf6c46ddd098e768b061fd30cf64e6196efe21b3f344d87f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/scenery.js"},"region":{"startLine":7015}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f81203463f961ba042365f54be94db46fea8ac40c157d0190f757e8ea6d5d0d"}},{"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":"renderer/song-memory.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9399f070f036606efab2b6606c07376520fd326643dea5b1d45aa3fd773dfaad"}},{"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":"renderer/song-memory.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f291bc99cd37d31d22c54aa38428b1a1208a075efe3a2fbaed9ca5fe3a4ff46b"}},{"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":"renderer/song-memory.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46b370d41dedc59bbc7558844060d0d234b2832f43cae1cf03f2bf03b873a41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/spaghetti.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2ed6df213c41eba2a25eb6cd6a6d3158376295935ce22ed8325c1f42f1fee4"}},{"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":"renderer/stars.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b1a07af639891393b09b50f203d71921334f699b3b65e58d99508d90b8ab38"}},{"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":"renderer/stems.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8b30c0e8abe50be35b562df9163fad163265bb5af68702fcf093d402cb89b4"}},{"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":"renderer/take-encode.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1260a9a752f517c011f1b6d3bcaa065be5907f8e0c6c258862043ec0ee35d463"}},{"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":"renderer/take-tap.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9dc1f8264eb372e968d17d95ab4bdf26d908e1c802d9d70763f493ec15ef3b"}},{"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":"renderer/track-worker.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5128f0cd77d4ace2e827721092a7d645f2606e9229f9f69e6e3116b93606c920"}},{"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":"renderer/tune-worker.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2999e65a2ac9d3c2fa457e20c14ca1ad710cf87c74d369161e7e9cc66faecb6b"}},{"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":"renderer/worlds.js"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea004d38765ccadea4b274807f59ae1249371b694d0a2e9b139f9b0380ea602"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/library.cjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5d9ee5c1ec58e051997cc61f850797c3207aa2b834b38c76d95aea86786db0"}},{"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":"helpers/library.cjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb983d2046e86e651848f27e806ea7d066429677fa77175aa31b311e884f159"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/library.cjs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c87208632e0a2295dae569ca53c5f9943fcd2a38c70dd62dc756dae56f2ebeb"}},{"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":"helpers/library.cjs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b0330db81420afd338973bef006b6bc1f262ae80b0299069c081d1945c7b86"}},{"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":"helpers/library.cjs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b2c0f0f7a920fe984a69ea34cc9ba19896ab00bb9d1a9dd893bcb3deec7cbc"}},{"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":"helpers/library.cjs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd677a41cb3b0cea005651ef888b27ad000163710d0dd3d30e0f403b818f1cf"}},{"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":"helpers/mac-update.cjs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64d4e0a7f734a3648cd8dcb6dc4a91866b4d1276769641cc3f278605506067c"}},{"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":"helpers/mac-update.cjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a46e7b501a3156cf285cf27a43cbb042019aa7e13c91cebd8ea7968f11e835"}},{"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":"helpers/save-pair.cjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6caaf360e4b3c9010cc8a9d4f96cd66a34938f243cb2eacafe2bc3f1ab7359"}},{"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":"helpers/save-rebuilt.cjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cd16a835f11078120916ab753d4686a6a30fae6c018d12b1dfdbeea3e4385b"}},{"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":"helpers/sound-server.cjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2add179d38d792cba2407c137c9db77f8d15c0d586de1e286934d757f95aeae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/spotify.cjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a173fbf1f8260262bfb303eeecf2eb23c62b891f0b3297298856e3cab69e4697"}},{"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":"helpers/spotify.cjs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9411d7940dedd8587286c82f43bd75768edcc71b28be54f6277488ccb3e0efd"}},{"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":"helpers/take-render-preload.cjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2def67ba3c32234e08f9714c49e40c86c1728a393ebe998cc426f4174947c44"}},{"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":"helpers/take-render.cjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03b8eecbaf6f94f3e203e0ac0875db05026a5295540361bbe7a5cd194c89e75"}},{"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":"helpers/take-render.cjs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4a1479e58bd4a2ba23f523d8720bc94a7ae83bdc9fea3af0c18e9147d74f7b"}},{"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":"helpers/take-render.cjs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe38d37eb1ad6583e04681acec01b34f76b83185ce3fa854d896d0543d1321db"}},{"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":"helpers/take-render.cjs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc902b1f568deb1c3a9f9c8c6375e96cdf7d5af1a5d958c9c4d3d6d7ce398919"}},{"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":"helpers/take-render.cjs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4765ce9e4e5ceee32de88782a06ff4d8ca7bc657949bc2ec31baf9a2670b12ae"}},{"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":"helpers/youtube.cjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b882f38eab4c5cc83b1cb8f79b08f257d9507cb9626960b95af014dd91ebd39"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060createTakeStore.list\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"helpers/take-store.cjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18a4af6b1bd8f0a8b4981bf51d9e17fa61ccc3cbd2e8464d26a33b96a64012e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060createSongMemory.tried\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/song-memory.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"333845488ed4e8614a4fd186f21e77a3cf917a8855f7e082b5cb10c74e13e161"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060artData\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"renderer/app.js"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51bb08884b15455cdf2c7605f83e86b4435a193012b52767a02f750d62a98be"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060kickSongs\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/detbench/run.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb359ba20743469c1f694dbb3e9966f21842fdb3f2bde309a3e7ee6620a12bc"}}],"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-1188","guid":"90b5d93c-2e8f-7d58-b831-915e7ee4a150","name":"CWE-1188","shortDescription":{"text":"CWE-1188"},"helpUri":"https://cwe.mitre.org/data/definitions/1188.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":"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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":28,"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."]}]}