{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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":"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"]}],"properties":{"cwe":["CWE-506"]}},{"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"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":"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":"(anonymous)::init (cyclomatic 40): (anonymous)::init has cyclomatic complexity 40 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 12 methods over the threshold \u2014 including the worst \u2014 and 77 of the 110 points over it (70%), 5.1\u00D7 the next-largest file (src/plugins/howler.spatial.js at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3de0d6e12c583246744e454166957e278d5cb606ee136468fdc2fd0a9ee330e"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::play (cyclomatic 32): (anonymous)::play 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 12 methods over the threshold \u2014 including the worst \u2014 and 77 of the 110 points over it (70%), 5.1\u00D7 the next-largest file (src/plugins/howler.spatial.js at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b3dae8e319d53adc9a6fe8d89c7d4b9d330c6e844f383fa630906c55473c41"}},{"ruleId":"D1","level":"warning","message":{"text":"howler.spatial.Howl.pannerAttr (cyclomatic 30): howler.spatial.Howl.pannerAttr has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aa59bd2bd921a8b6dbc97b5366acf51e4a32ba90828a9add3cca02a0b4d03c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::pannerAttr (cyclomatic 30): (anonymous)::pannerAttr has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"07900a64d96a9715d2548b9d363ec637409d8cf8c21282137d7c8afbfe15aa55"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::_setupCodecs (cyclomatic 23): (anonymous)::_setupCodecs has cyclomatic complexity 23 (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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 12 methods over the threshold \u2014 including the worst \u2014 and 77 of the 110 points over it (70%), 5.1\u00D7 the next-largest file (src/plugins/howler.spatial.js at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95a375884f0759d566bc4255b5c004eeff316fbcddc1efce9d5962b30f0db9a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::volume (cyclomatic 23): (anonymous)::volume 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 12 methods over the threshold \u2014 including the worst \u2014 and 77 of the 110 points over it (70%), 5.1\u00D7 the next-largest file (src/plugins/howler.spatial.js at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"334df83fe81d35237d24e7549c2515ba019812447804f7850ce75feab2b22744"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::seek (cyclomatic 23): (anonymous)::seek 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 12 methods over the threshold \u2014 including the worst \u2014 and 77 of the 110 points over it (70%), 5.1\u00D7 the next-largest file (src/plugins/howler.spatial.js at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7fbb6737913ff398f2de73064f817a4b6fa28d61779a9ff7dedb16763ffcc4"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::rate (cyclomatic 20): (anonymous)::rate 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 12 methods over the threshold \u2014 including the worst \u2014 and 77 of the 110 points over it (70%), 5.1\u00D7 the next-largest file (src/plugins/howler.spatial.js at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"696094cbfa8e0cfd8ea7dbcf9d27462d8c42d16fd5b6cb104dec4fe5b01b224c"}},{"ruleId":"D1","level":"warning","message":{"text":"howler.core.setupAudioContext (cyclomatic 18): howler.core.setupAudioContext 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":"src/howler.core.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad30398f25d5fed880d33c06e14d2f302ae9b9bdb90e7e3848a59e160331d8f8"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::setupAudioContext (cyclomatic 18): (anonymous)::setupAudioContext 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 12 methods over the threshold \u2014 including the worst \u2014 and 77 of the 110 points over it (70%), 5.1\u00D7 the next-largest file (src/plugins/howler.spatial.js at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"7668cdc118bdbb4c6cef585cfb774309bd9d36a93c1b78c931cac7a7203b48d2"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::_ended (cyclomatic 17): (anonymous)::_ended 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 12 methods over the threshold \u2014 including the worst \u2014 and 77 of the 110 points over it (70%), 5.1\u00D7 the next-largest file (src/plugins/howler.spatial.js at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21d6354f34d45f76260ca8031b59b534fa9e98d091ae04ed897ee6362c09904"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::load (cyclomatic 16): (anonymous)::load 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 file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 12 methods over the threshold \u2014 including the worst \u2014 and 77 of the 110 points over it (70%), 5.1\u00D7 the next-largest file (src/plugins/howler.spatial.js at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"435580853aa51847b0fb4b9edf5237ac348f36c9f34295574e89932d6d6eb90f"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::pannerAttr (cognitive 84): (anonymous)::pannerAttr has cognitive complexity 84 (threshold 15). Drivers by points: ternaries 17 (59 pts), if/else 11 (23 pts), boolean chains 1, loops 1 (nesting depth added 54). 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":"src/plugins/howler.spatial.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b6227b31a926cf9a2085a301136b4b551abda390d291eea22cc9de3236f654"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::play (cognitive 46): (anonymous)::play has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 10, loops 1 (3 pts), ternaries 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ae8cce4da569790c83ac3c14302903b42276d4c02b3e1bbb5473640faf1740"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::seek (cognitive 41): (anonymous)::seek has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (28 pts), ternaries 2 (8 pts), boolean chains 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"218606c6087ddc8f772de518776c9aef75d75bf4a77fd07374efa8e560876ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::rate (cognitive 40): (anonymous)::rate has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (28 pts), ternaries 2 (7 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 20). 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":"src/howler.core.js"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"054e033ae9473aad2dfb1a7c8093487a196d0bab69151e90f3944a40cfd5cd68"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::init (cognitive 38): (anonymous)::init has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 20, boolean chains 14, if/else 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":"src/howler.core.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e82d4c7d84e55402d9c7c80ba22d6ef417928b24209af1c749d114ebb08baff"}},{"ruleId":"D2","level":"warning","message":{"text":"howler.spatial.Howl.stereo (cognitive 37): howler.spatial.Howl.stereo has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 20). 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":"src/plugins/howler.spatial.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af8ef07992b4ff422c9b38e1ae3e10c652c2393daaed5147012624e03eab3fd"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::stereo (cognitive 37): (anonymous)::stereo has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 20). 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":"src/plugins/howler.spatial.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f50d51612e9c9a938940496686a46d4a87e02a467405dc85e6ddb3c3e235ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::orientation (cognitive 37): (anonymous)::orientation has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (33 pts), ternaries 2, boolean chains 1, loops 1 (nesting depth added 20). 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":"src/plugins/howler.spatial.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1929f3f1a3d6e3540903391a163cdbb0b1bf1e2292875d3d2c446ffc45c88c36"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::stop (cognitive 36): (anonymous)::stop has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (31 pts), boolean chains 4, loops 1 (nesting depth added 21). 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":"src/howler.core.js"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b29cca141de58fd3b8eea9466bfa346c09340bdeacc5abed07c115ae506297"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::volume (cognitive 36): (anonymous)::volume has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 6, ternaries 2 (4 pts), 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":"src/howler.core.js"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f446178d305ac6241f06f32f734d93e699270bd9a21edef51264e7a4bd1708b"}},{"ruleId":"D2","level":"warning","message":{"text":"howler.spatial.Howl.orientation (cognitive 35): howler.spatial.Howl.orientation has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (33 pts), boolean chains 1, loops 1 (nesting depth added 20). 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":"src/plugins/howler.spatial.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff69aca5222b27ec15a976916bbceeb2ee5ab2a3a1197d47873227826047df88"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::pause (cognitive 31): (anonymous)::pause has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 17). 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":"src/howler.core.js"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"2177b1f847937143feae0817d15502e25475f403376eb775fdf0bcd290d3334c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::pos (cognitive 31): (anonymous)::pos has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (27 pts), ternaries 2, boolean chains 1, loops 1 (nesting depth added 15). 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":"src/plugins/howler.spatial.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae69228cee6c9ce9115c9b5f6c562aff62ce7be5da3ed37e65feafdf53331bef"}},{"ruleId":"D2","level":"warning","message":{"text":"howler.spatial.Howl.pos (cognitive 29): howler.spatial.Howl.pos has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 1, loops 1 (nesting depth added 15). 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":"src/plugins/howler.spatial.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfb13bb347c6ccd7dea92ce198d584e1a8c86a512c7e755ce0cb74ca010884f"}},{"ruleId":"D2","level":"warning","message":{"text":"howler.spatial.Howl.pannerAttr (cognitive 28): howler.spatial.Howl.pannerAttr has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 14). 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":"src/plugins/howler.spatial.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ae221f5bb8485d03139db20c3e708e0229a6d069f9451a39db59447de91256"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::loop (cognitive 26): (anonymous)::loop has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 13). 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":"src/howler.core.js"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed9f784585aa3a1986ddd22e7c9089ac76b54114f25b2879b70b231c743252a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::load (cognitive 25): (anonymous)::load has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 3, 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":"src/howler.core.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"2041b15a0da269ee46415792ad386eb77614ea95fb18be6a737d0935375d7b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::mute (cognitive 25): (anonymous)::mute has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (8 pts), boolean chains 2, 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":"src/howler.core.js"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"792cc617b19b0580c03908dfa2009068a5968c152a8490b35e83c35a072c770a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::volume (cognitive 23): (anonymous)::volume has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (6 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c576bf33d7f412a758d8e42d66616f14fa41a4c04b0cfb82d56683fbec2ac95c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::mute (cognitive 21): (anonymous)::mute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (7 pts), loops 2 (4 pts), boolean chains 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":"src/howler.core.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1b609fd0501b129d12748ca8ad6bfe86813e40cedffe77e0c532be5612cbf5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::setupAudioContext (cognitive 20): (anonymous)::setupAudioContext has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, ternaries 3 (5 pts), error handling 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":"src/howler.core.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac2a2c4e5a437f96593b57da79a7bed22dcb7ea75f560450c369e575001a701"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::off (cognitive 19): (anonymous)::off has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, loops 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":"src/howler.core.js"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3b647258c8e5e8f176cf5466932f6e1797eb33efc5989f0b2b0e70f2953d7a"}},{"ruleId":"D2","level":"warning","message":{"text":"howler.core.setupAudioContext (cognitive 18): howler.core.setupAudioContext has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, ternaries 2 (3 pts), error handling 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":"src/howler.core.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e9f6f78f4cebcc02b59460590edf1c871ec36c73347a3de9ebb3195430c9eb"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::_setupCodecs (cognitive 18): (anonymous)::_setupCodecs has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 14, ternaries 2, error handling 1, if/else 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":"src/howler.core.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"685df7e4749fdb4680811185131696f4ae99667d7c3e16b335173eeeab5bddac"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::_unlockAudio::unlock (cognitive 17): (anonymous)::_unlockAudio::unlock has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (5 pts), error handling 1 (2 pts), boolean chains 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":"src/howler.core.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6246cd1f539a44b4459c713eb42a304c8ae301c7f872ed9385a1c5ecb6d5e95"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::_setup (cognitive 16): (anonymous)::_setup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (4 pts), boolean chains 2, 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":"src/howler.core.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ff51556e0a8b9f2fff263010f696cee977a1e5e8f7b8c36da8fffcdc32d42b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/howler.core.js: FileTooLong \u2014 1208 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 708 over it, 2.42\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":"src/howler.core.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26773ee9078d660a83af565c7ce28d53a3f94817cb3fc155a8c5f7eed77b39f7"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (Vitest, Jest, Mocha, or the runtime\u0027s built-in runner (\u0060node --test\u0060, \u0060bun test\u0060, \u0060deno test\u0060)), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 no discoverable tests to count. If this repository does test, wiring the suite to a framework a runner can collect (Vitest, Jest, Mocha, or the runtime\u0027s built-in runner (\u0060node --test\u0060, \u0060bun test\u0060, \u0060deno test\u0060)) is what makes it countable here; a pipeline step that invokes a runner is not evidence on its own, because a runner over an empty suite passes. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"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":"d93eb2aad4326299d3b2578f636fc2a9db51dab28c80a8e2e7d5d752ed91d435"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","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":"83624e2a75b102d656da943ab10c203006d969612030d1669428c03d4067940e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6567a2c001a42860dcd1be40682104d1d2da7043cf5a56b066d85a30e06ad055"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbbe975e8a3ed223a62d12399e91e58c9b981ebe301b6b93ffa040be76fdb33"}},{"ruleId":"D43","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":"ca77df8ac0ed56a2e42b0923be81cca477f3174e98a1dc599981adac6a376eef"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises Docker containerisation, but no Dockerfile/compose file exists \u2014 searched for: \u0060dockerfile\u0060, \u0060docker-compose\u0060, \u0060compose.yaml\u0060, \u0060compose.yml\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d116e696b89ee5b5606de54018788ae795afe8387ffcf59a3c5f5c024f4aec80"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises a RAG / ML engine, but no ML/RAG code or dependency exists \u2014 searched for: \u0060rag\u0060, \u0060langchain\u0060, \u0060llamaindex\u0060, \u0060pinecone\u0060, \u0060weaviate\u0060, \u0060qdrant\u0060, \u0060embeddings\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"641c12de6a27c56ae4f356e613243d119d1728768480ea36e3ea12271e12b02c"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/javascript\u0060, or eslint-plugin-security \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 5 plain JS \u2014 the untyped files are src/howler.core.js, src/plugins/howler.spatial.js, tests/js/core.html5audio.js, tests/js/core.webaudio.js, tests/js/spatial.js."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): src/plugins/howler.spatial.js:239 \u00B7 src/plugins/howler.spatial.js:316 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bdc695537108fa852d6494344497fc44e9a05494e67e78ca3f6776a774fdea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/plugins/howler.spatial.js:308 \u00B7 src/plugins/howler.spatial.js:392 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de82d1c81be2253121635176769fe8aa187c6b3cbd9d6a380ded730669ea1ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/howler.core.js:1238 \u00B7 src/howler.core.js:1522 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fd263e79df5c0acb55415bb56a12473cfd5decb5014ee9c091e89846f9d2f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/howler.core.js:1009 \u00B7 src/howler.core.js:1079 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"8931ac4f772aa7e72b47dea5645d0955adf2cafc06f019830a8bc04a97cbd32c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/howler.core.js:1067 \u00B7 src/howler.core.js:1141 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8caace64615552a688dbc2cb137e018d939f0140c315410d48eb863da496170"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/plugins/howler.spatial.js:204 \u00B7 src/plugins/howler.spatial.js:289 \u00B7 src/plugins/howler.spatial.js:368 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e66dd2d691cd7b4bf3c40e348ff8a2e1c832f2e92d3d26cca39e38978d81b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/howler.core.js:1456 \u00B7 src/plugins/howler.spatial.js:491 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"5172f766396ee0f460619c4c0cd4dfc965a7f85a2871955ef3df5720e260aaf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/plugins/howler.spatial.js:176 \u00B7 src/plugins/howler.spatial.js:261 \u00B7 src/plugins/howler.spatial.js:340 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"655f6d3a0f958d4b7422eae5819f28abcba07e6870e3e52834a0b2748a839675"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/howler.core.js:88 \u00B7 src/howler.core.js:130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d791cfdf2e55f250f3fe9fbccfa3a22b898722ff46f17cb2509c21cdf359bdf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/howler.core.js:1171 \u00B7 src/plugins/howler.spatial.js:204 \u00B7 src/plugins/howler.spatial.js:289 \u00B7 src/plugins/howler.spatial.js:368 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdb21b1b0eca2497c2d9576f1bcb65ba2c0169ec1304585deed6e7d10b6e074"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/howler.core.js:1222 \u00B7 src/howler.core.js:1506 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"048befeb627c06aabb07a00957a025ffbecc7a134c828d01ad2c01a453da7a13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/howler.core.js:2214 \u00B7 src/howler.core.js:2288 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3fdeac426c051b18e773417d4382745b9cbb61361760617385344ecfc490fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/plugins/howler.spatial.js:543 \u00B7 src/plugins/howler.spatial.js:574 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"983c79d1af92a49c8402d715f0048120d2f79e783d346acb4dab91e3b974345d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/howler.core.js:2333 \u00B7 src/howler.core.js:2497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dcd89ad3f8f3fbcb08696340c43f5449f46dbf945a5c3701a5cbcec27098f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/howler.core.js:1506 \u00B7 src/howler.core.js:1603 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5706a92213c737e7d413d140916993e6afbaf1d32bfbbda4c5a55d7b3362ffe9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/plugins/howler.spatial.js:565 \u00B7 src/plugins/howler.spatial.js:590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e1a10520d1050772035dc0d107f84376d7bc5ad6b17f8d3e583e44930dd618"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/plugins/howler.spatial.js:633 \u00B7 src/plugins/howler.spatial.js:641 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a666d4a01366db6ffca3161b4bb5170adc0db20265b2ec94fc1cc826817c2706"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 40, cognitive 38): init has cyclomatic complexity 40 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67f01b1aa7ecd3b5a4efffc7974200b2eb7cf52ec8894b46b196742ae759b23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function play (cyclomatic 32, cognitive 46): play has cyclomatic complexity 32 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":"src/howler.core.js"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd249b5e50928c24cf201642c2a8ec90bbad85c85d55a9d2ce30be8035bcc86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pannerAttr (cyclomatic 30, cognitive 84): pannerAttr has cyclomatic complexity 30 and cognitive complexity 84; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9e0d02316659381def19e8d706262bae3bafc1bc086842a4dc592ca3a0bf67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seek (cyclomatic 23, cognitive 41): seek has cyclomatic complexity 23 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":"src/howler.core.js"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d522fef22fab4d8658920fd2d5581dcda2aed1286342936d9919258c4c16d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function volume (cyclomatic 23, cognitive 36): volume has cyclomatic complexity 23 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":"src/howler.core.js"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7102dafa3a23024fa4ca054122bc1c14a2d6993cc261c4e03db543ac4977daa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _setupCodecs (cyclomatic 23, cognitive 18): _setupCodecs has cyclomatic complexity 23 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":"src/howler.core.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"671010819b95252ad82a0dc35e2820d237f70dc4e469688df55f5bf9a88f1942"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rate (cyclomatic 20, cognitive 40): rate has cyclomatic complexity 20 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":"src/howler.core.js"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b09bc5c9224cbc92d07d290a48eaf6369e94f131a6411903824fd0528888e2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupAudioContext (cyclomatic 18, cognitive 20): setupAudioContext 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":"src/howler.core.js"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30ff3f7255138245b0d1fa79c501dbfff469067a65def7a43844731de151e0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _ended (cyclomatic 17, cognitive 13): _ended has cyclomatic complexity 17 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":"src/howler.core.js"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba70d6d103d80250c885ab2ea166e78a524e5131d7d416d0890193acd53731da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 16, cognitive 25): load has cyclomatic complexity 16 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":"src/howler.core.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"863ed60fda2aae6b6590c982106e83cceb43d13c46cf5999e05dd6a28d67e537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function orientation (cyclomatic 15, cognitive 37): orientation has cyclomatic complexity 15 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":"src/plugins/howler.spatial.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c956a280bffdb80d2afb1bc064b914857536f551af698edc701932ebab6e61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stop (cyclomatic 15, cognitive 36): stop has cyclomatic complexity 15 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":"src/howler.core.js"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"f363d154ac4aaa6a2aadf73868fb04b1c7fea06274a1c493bf2fbf628ca0e18d"}},{"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":"src/plugins/howler.spatial.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e861e4872770728672c5e9b3c9c2199205d954169ecf7d927fb718fd0bbc5c90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stereo (cyclomatic 14, cognitive 37): stereo has cyclomatic complexity 14 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":"src/plugins/howler.spatial.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"174ffb970e39c1d939687012afc54f25755bf78617fce76e8f0cfe6c2bb79025"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pause (cyclomatic 14, cognitive 31): pause has cyclomatic complexity 14 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c1f74a70c3d6648402c641274ac70ca27104dd40c234c4190d161ff36ffa72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pos (cyclomatic 14, cognitive 31): pos has cyclomatic complexity 14 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"168f3d3f1d05f9b7f92270e0cb9ba910735dda3c6124a372630bab902ce3af69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loop (cyclomatic 14, cognitive 26): loop has cyclomatic complexity 14 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":"src/howler.core.js"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7af709343eca7c4dfbcb17b6bdace0cf0b625ffedbf12750ab2c14823092ce5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function playHtml5 (cyclomatic 14, cognitive 13): playHtml5 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":"src/howler.core.js"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"45acfb09c3418b12391ec7e760b60135ded64944c2a6d9fc6d727c85a7b41dc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mute (cyclomatic 13, cognitive 25): mute has cyclomatic complexity 13 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":"src/howler.core.js"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e74537391c7d71585d6286fe0d58c466ec3b3bf7330731ccd306b02b2bb5270"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function volume (cyclomatic 13, cognitive 23): volume 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":"src/howler.core.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"050f51d5fd70c97dfb6b510c56c14e62b31f755b499d55f6e3467f9d3d78d809"}},{"ruleId":"R3","level":"warning","message":{"text":"Large Files: 2 file(s) over 400 lines (counted as significant lines \u2014 blank lines excluded \u2014 over production source only, tests excluded), largest first: src/howler.core.js (2176), src/plugins/howler.spatial.js (569)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cecee31b569df4f07e06db732f1ca037af27b5afef9023da51f9673d931a142f"}},{"ruleId":"R6","level":"warning","message":{"text":"No test, lint or typecheck script: test \u2717 \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":"a9372ffc30204d52cc3368af49ceaa995574db973935e30b3946f83785dea15b"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: No package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock \u2014 JS installs aren\u0027t reproducible (SSDF PW.4.4). Commit your package manager\u0027s lockfile and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"40a08798dc9f9c819eaa9f7c084938e1cf2517a9281aed2c31563d6f7d5ba90d"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.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-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":3,"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."]}]}