{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"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":"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":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"play (cyclomatic 54): play has cyclomatic complexity 54 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 22 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 11 methods over the threshold \u2014 including the worst \u2014 and 100 of the 118 points over it (85%), 6.7\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":"e5d349f3a4faf7f651d7f187a4f0903c318f22800dcc8eae16c578959dc27da2"}},{"ruleId":"D1","level":"warning","message":{"text":"init (cyclomatic 40): 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 11 methods over the threshold \u2014 including the worst \u2014 and 100 of the 118 points over it (85%), 6.7\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":"abeedb65e4e9b2d1844046322fb44a2e4dd3e875fb0570fdca451f78a5a10be6"}},{"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":"seek (cyclomatic 25): seek has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 11 methods over the threshold \u2014 including the worst \u2014 and 100 of the 118 points over it (85%), 6.7\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":"9fc905b35d45699f621775cff62df599a236385b683d906d0cdbe6c999a8b244"}},{"ruleId":"D1","level":"warning","message":{"text":"_setupCodecs (cyclomatic 23): _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 11 methods over the threshold \u2014 including the worst \u2014 and 100 of the 118 points over it (85%), 6.7\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":"897b3cfcac1bf98f85128c15cf38440ebb5a1bd80c63fbddfb6ff938fdbda820"}},{"ruleId":"D1","level":"warning","message":{"text":"volume (cyclomatic 23): 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 11 methods over the threshold \u2014 including the worst \u2014 and 100 of the 118 points over it (85%), 6.7\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":"8b8686144dcf37167585980b6e40f3640892c160ec46857e306d5e28eda609f8"}},{"ruleId":"D1","level":"warning","message":{"text":"rate (cyclomatic 20): 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 11 methods over the threshold \u2014 including the worst \u2014 and 100 of the 118 points over it (85%), 6.7\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":"f773b1e52d68db6e67389a4429bd05dee8088a3086bd046bc47e1fe78e14947d"}},{"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":"_unlockAudio (cyclomatic 17): _unlockAudio has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (unlock, unlock::onended). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/howler.core.js holds 9 of the 11 methods over the threshold \u2014 including the worst \u2014 and 100 of the 118 points over it (85%), 6.7\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":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ce01a7501aa4a0ef03364a5fc98a658d966c4cb8f7e5a94d18c189cca158d0"}},{"ruleId":"D1","level":"warning","message":{"text":"_ended (cyclomatic 17): _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 11 methods over the threshold \u2014 including the worst \u2014 and 100 of the 118 points over it (85%), 6.7\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":"eba3cd4303e6c8a1bd1904b1e7f1e7fabd82aacd932ba7e7ed96f57c7c38a78f"}},{"ruleId":"D1","level":"warning","message":{"text":"load (cyclomatic 16): 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 11 methods over the threshold \u2014 including the worst \u2014 and 100 of the 118 points over it (85%), 6.7\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":"0a331b262837074896a0b0bca14ef13b43ed435ca02fd447dddeb3486ebd186e"}},{"ruleId":"D2","level":"warning","message":{"text":"play (cognitive 85): play has cognitive complexity 85 (threshold 15). Drivers by points: if/else 32 (50 pts), boolean chains 17, ternaries 5 (10 pts), error handling 2 (5 pts), loops 1 (3 pts) (nesting depth added 28). Of this number, 46 points are the body\u0027s own statements and 39 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":"4c1d7f04d6e9a4ec4256012539f10148fd2e6888b35e05b1c004a6043b82d96c"}},{"ruleId":"D2","level":"warning","message":{"text":"pannerAttr (cognitive 84): 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":"8c767927e101f58879bfcb4753783a1020ab696bf48d194679ffbf9273632b54"}},{"ruleId":"D2","level":"warning","message":{"text":"seek (cognitive 49): seek has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (36 pts), ternaries 2 (8 pts), boolean chains 5 (nesting depth added 22). Of this number, 41 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":"2326ea3ea4a4cdfa291af82ade89bd7f6bb73ac4d52d958076b09f3f24d42f27"}},{"ruleId":"D2","level":"warning","message":{"text":"rate (cognitive 40): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":"9aba3dc7b76decba24a22a23a6fb1c5604db99bed662120b4da85f74cb979b43"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 38): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":"247e2acaf464240ae0a0cd14815a2e89f60bad6dc247dd36834bc1b73b2823d6"}},{"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":"orientation (cognitive 37): 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":"0e6f3ef51f0890f3023e1b80097857420d6bd22cbcd6bd4f701fc1935027cbe9"}},{"ruleId":"D2","level":"warning","message":{"text":"stop (cognitive 36): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f975cfdb572d3642a226ecbaf130052c5ad25699e091354efba97aea90f310"}},{"ruleId":"D2","level":"warning","message":{"text":"volume (cognitive 36): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":"4ee653d493b3480d110ce2f545ce1785823506191dab473a599e6e0dfbb194fb"}},{"ruleId":"D2","level":"warning","message":{"text":"pause (cognitive 31): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"3723be22549853e454bb68b1e83b209218295a09d3d6d6f01f17aa4a59b9fafe"}},{"ruleId":"D2","level":"warning","message":{"text":"pos (cognitive 31): 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":"a6a2835b443710745c315d7ac55c6f210d8fe9e7f5b93bfc648957b6bf82c40c"}},{"ruleId":"D2","level":"warning","message":{"text":"loop (cognitive 26): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cefa8e45b8da8676e0f7d29c225cf429a6b96525d9def0f50e3680a15530a7e"}},{"ruleId":"D2","level":"warning","message":{"text":"load (cognitive 25): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":"89e5e97a03e5b4f12f2f93611a291779e9fd5d0008347c1e507d986a7a0e48b4"}},{"ruleId":"D2","level":"warning","message":{"text":"mute (cognitive 25): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b38a12125d508c08266ebd626d8618b3f11fe220bbd4274d45d60fd84d6d55"}},{"ruleId":"D2","level":"warning","message":{"text":"volume (cognitive 23): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d5c9f41d4b063d21810d265dce36e327fd4bda05346322d5cfcaad74ae2cd4"}},{"ruleId":"D2","level":"warning","message":{"text":"mute (cognitive 21): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b8a164b8991db2833a1bdd2f079210fbf1a946ddc15b5718e55883891beb20"}},{"ruleId":"D2","level":"warning","message":{"text":"setupAudioContext (cognitive 20): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":"39d3a2af005013c0ed1b8673cfc0b7e74c35a1917385df8988f1c68a9c4b5f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"off (cognitive 19): 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff05a1a0c76a2bc1f7c5b49616fa6da480e8f2a1008571336b1508ef58da5e97"}},{"ruleId":"D2","level":"warning","message":{"text":"_setupCodecs (cognitive 18): _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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":"974f5e7e73c7c9fc61caa28d22581f9b2d89c5dacfa238b0de286dba2f0d92b8"}},{"ruleId":"D2","level":"warning","message":{"text":"_unlockAudio::unlock (cognitive 17): _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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e59fc0e2f8434afd3834eadb05947d853eaa0e4ff29ce74992a6e34436efa3e"}},{"ruleId":"D2","level":"warning","message":{"text":"_setup (cognitive 16): _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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d596a944d64df0c4c0908e4de00ed0f6c0ff43166c3e78ddf0f82a183b28ce6c"}},{"ruleId":"D2","level":"warning","message":{"text":"_autoSuspend (cognitive 16): _autoSuspend has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/howler.core.js holds 18 of the 22 methods over the threshold \u2014 including the worst \u2014 and 271 of the 400 points over it (68%), 2.5\u00D7 the next-largest file (src/plugins/howler.spatial.js at 107). 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":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"60569d5f29d92135a08d1a35abdb8f9341d55083976a4fbe22316016b4082838"}},{"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":"D24","level":"note","message":{"text":"redundant comment: \u0022Web Audio or HTML5 Audio?\u0022 repeats the code it sits on: 3 of its 3 words (web, audio, html) are already in \u0060self._webAudio = Howler.usingWebAudio \u0026\u0026 !self._html5;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6725f7cd375cdadea83231883f1c2af1a07957fdde044bf71c4d55cc3cc4d8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove any event listeners.\u0022 repeats the code it sits on: 3 of its 3 words (remove, event, listeners) are already in \u0060sounds[i]._node.removeEventListener(\u0027error\u0027, sounds[i]._errorFn, false);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"110f0a385809f36342e1f9aa9305cd5ab132a5903f0745832660bb1a5d6da2bc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the duration from the cache.\u0022 repeats the code it sits on: 3 of its 3 words (set, duration, cache) are already in \u0060self._duration = cache[url].duration;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42f0bcd705b14ddd0503ef4b2e62d042042858ffc8d57fdd2987b4ed2bb81e2"}},{"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"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"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":"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":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"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":"R2","level":"warning","message":{"text":"Complex function off (cyclomatic 13, cognitive 19): off has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8d5e2cc924760aeb890e83b676c958103f68aadd2c4a56819a42ca0727ad0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _autoResume (cyclomatic 12, cognitive 11): _autoResume has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a916333f36b6db7bb4e98cbe8b51f5d119ed93fe3e607d133253a898f06b5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mute (cyclomatic 11, cognitive 21): mute has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff081942ae012c69f9a0e7cecc00b70321a72a4179d4a77844c1571b7582e5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unlock (cyclomatic 11, cognitive 17): unlock has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c707b94346a4e14a61e4bcb4201cbd0fdeba25cf83dba4428e93f70f8aad557"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _setup (cyclomatic 11, cognitive 16): _setup has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf281003e20c0bc54d831f2ea51db0749de94f2a945d86dbd9167a65a02578f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/howler.core.js: 2176 lines of code: src/howler.core.js has 2176 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd29ec709eca77f388424d37275633fdf0756310a9793604c15f9e4c668255fd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/plugins/howler.spatial.js: 569 lines of code: src/plugins/howler.spatial.js has 569 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins/howler.spatial.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3717b7806d33e7ebc998a0f3c89f5f0affb2d873bbcd24ae2ca6e7a10789b8d"}},{"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: package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf55d4b8808c2a4872ec89b1baa377052d8613effd32674a9f040d7773c67efc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/howler.core.js"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"691f5d11477586f40b977d057728a16924a19234defeb62571190a4c379cba2a"}}],"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":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":1,"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."]}]}