{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ready (cyclomatic 45): ready has cyclomatic complexity 45 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 28 belong to 27 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/youtube.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e29a7b18d6e448f0db7455965c866f6235a4196f0ae09c036cffc77d2b41167"}},{"ruleId":"D1","level":"warning","message":{"text":"Listeners.handleKey (cyclomatic 41): Listeners.handleKey has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9600d4da1a0d943aeb61bd0a0571559496f8af5f4729f47141391eb30c274f"}},{"ruleId":"D1","level":"warning","message":{"text":"Listeners.controls (cyclomatic 39): Listeners.controls has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 9 of the 39 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 666, 856, 626, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2742eba17d3437e40a2d6cd530f00085b95f96b4e40fcf293f976a1b393e24"}},{"ruleId":"D1","level":"warning","message":{"text":"Plyr.constructor (cyclomatic 39): Plyr.constructor has cyclomatic complexity 39 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/js/plyr.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c9e3272f829c7e95c91dbbd83269c95c6bc9e72a86e8afc3353d2ea122ec4b"}},{"ruleId":"D1","level":"warning","message":{"text":"create (cyclomatic 34): create has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 5 of the 34 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1292, 1527, 1454, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8663f05d690c521594329ea1d65090727fcf62f829ed903792c8d95b1c3c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"ready (cyclomatic 28): ready has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 11 of the 28 points are its own statements and the rest belongs to 49 function items inside it that branch ((anonymous), set, set, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/vimeo.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f503ed3612ba3b1518dae7db28de29c78ed31e81c40bb63132ff90c4fb2bff44"}},{"ruleId":"D1","level":"warning","message":{"text":"setup (cyclomatic 27): setup has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/captions.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb719c45bf80388b8340c1db41ecaf5bf4ec808f44da8fcbb93fc6ee5fe841de"}},{"ruleId":"D1","level":"warning","message":{"text":"change (cyclomatic 24): change has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 41). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/source.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf05ac8cf5eb2fb73e254c0d49f4e9b860c4b8f0b34cb001d85a25771766ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"Listeners.container (cyclomatic 20): Listeners.container has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 271, 243, 312). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7125bbfe351d418ef381258f6237d0967789851d888a26073cedb5c50110f010"}},{"ruleId":"D1","level":"warning","message":{"text":"inject (cyclomatic 19): inject has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d88a1a76a8b17253ddd66fc7f192f28d3930bce61d8f2154cce6893f024fa4"}},{"ruleId":"D1","level":"warning","message":{"text":"Listeners.media (cyclomatic 16): Listeners.media has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 386, 348, 466). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef0183ea4ade0eb45d4be19b8ef6db75b88f3bb3ea227b228826e1bbbcbc8d"}},{"ruleId":"D1","level":"warning","message":{"text":"createButton (cyclomatic 16): createButton has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f326c7753fa9d362939f7ba78f18623110295d2d12f86d55248c3b8d744ddb20"}},{"ruleId":"D1","level":"warning","message":{"text":"toggleMenu (cyclomatic 16): toggleMenu has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"494beb8cbcdb43c1f671499ded62c76f436b5791acf2faafe71a6ff2160d3c43"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 56): constructor has cognitive complexity 56 (threshold 15). Drivers by points: if/else 26 (44 pts), boolean chains 10, error handling 1, match/switch 1 (nesting depth added 18). Of this number, 55 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plyr.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a420dd6ff89c27aebc9ca6777995b51a930baa9111360f596e23e858625f54a"}},{"ruleId":"D2","level":"warning","message":{"text":"ready (cognitive 50): ready has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 10, ternaries 8, error handling 3 (7 pts), match/switch 1 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 30 belong to 27 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/youtube.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08aecf3298db02100f277c0768936741dbb8d85f5889034a67a4fc34a44643d"}},{"ruleId":"D2","level":"warning","message":{"text":"Listeners.controls (cognitive 41): Listeners.controls has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 13, ternaries 4 (nesting depth added 3). Most of this is not in the body itself: 8 of the 41 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 666, 856, 626, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20ba971ab6a42ac302946599c9a9f6d41d8288e097b061b8f4ca61192a7f5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"create (cognitive 39): create has cognitive complexity 39 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 8, ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 4 of the 39 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 1292, 1527, 1454, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"23764503b1d0752970aaf98148a703c3534b7317f173305ef279cc84ec42ed0d"}},{"ruleId":"D2","level":"warning","message":{"text":"Listeners.handleKey (cognitive 35): Listeners.handleKey has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"21855399bab656b3c8a91dc95fbd1e76c22a50db59be930ea0b7478cf3d24116"}},{"ruleId":"D2","level":"warning","message":{"text":"change (cognitive 32): change has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 3, ternaries 2 (nesting depth added 9). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to one function literal inside it that branches (line 41). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/source.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82833f117be3c9e27a668981a9e58fb22c4afa24240b42a1747b04c2faf15ee"}},{"ruleId":"D2","level":"warning","message":{"text":"ready (cognitive 29): ready has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 5, error handling 4 (5 pts), ternaries 4 (nesting depth added 2). Most of this is not in the body itself: 12 of the 29 points are its own statements and the rest belongs to 49 function items inside it that branch ((anonymous), set, set, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/vimeo.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"34419d41ab5f6df78932054386f059b8d92be9f87eeccf47dd1e806d7abcc120"}},{"ruleId":"D2","level":"warning","message":{"text":"setup (cognitive 28): setup has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 12, if/else 9 (11 pts), error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/captions.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"787e6cd7d03b94a5a8823ed8e18cbed2b53f5de23712cd2cd8d4a1f5f6ab359c"}},{"ruleId":"D2","level":"warning","message":{"text":"inject (cognitive 24): inject has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (19 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 6 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bf4aba475bf0dc5c0ca00b74262a81438cae4f0cc37c1a6c3eff5cc61e1e98"}},{"ruleId":"D2","level":"warning","message":{"text":"bindMenuItemShortcuts (cognitive 22): bindMenuItemShortcuts has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 3 (nesting depth added 9). Most of this is not in the body itself: 0 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 406, 453). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d069825e740d9a812607f2b4a11ce12ea0638af952171af43c33a262d72a492"}},{"ruleId":"D2","level":"warning","message":{"text":"loadSprite (cognitive 21): loadSprite has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (5 pts), boolean chains 2 (nesting depth added 9). Of this number, 12 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/load-sprite.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"756d97b120b9d49a099d2238dbf1ee32266fe5f1c07e67b7428bec2d48713d84"}},{"ruleId":"D2","level":"warning","message":{"text":"Listeners.media (cognitive 18): Listeners.media has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5 (nesting depth added 4). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 386, 348, 466). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32cc8119dc67ca348331d97e28bd3c7055940d80b42ddc768f0517d9a36dc5e"}},{"ruleId":"D2","level":"warning","message":{"text":"createButton (cognitive 18): createButton has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a32b1b5f3ebacecfce7f0fc9424179286293a75ca4358489bc33c696939a85"}},{"ruleId":"D2","level":"warning","message":{"text":"Listeners.container (cognitive 17): Listeners.container has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 271, 312, 243). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a536c59e1495f672b652eb480b33561713fa10a959ca705e7bd477db2f05d59"}},{"ruleId":"D2","level":"warning","message":{"text":"Plyr.destroy (cognitive 17): Plyr.destroy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plyr.js"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6bff8ba808a36c17c417ec31742948b31a65c6ed6773234bf3ee08e97975ec"}},{"ruleId":"D2","level":"warning","message":{"text":"container::setGutter (cognitive 16): container::setGutter has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6b95e8b7959373dc2a50445f4227e0659230d0fbf1f0f8b2451b472717f54e"}},{"ruleId":"D2","level":"warning","message":{"text":"updateSetting (cognitive 16): updateSetting has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d679ab279dff1f2b491062f1548e941115ff13bb29d0c9e5819a26940d2b62"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleMenu (cognitive 16): toggleMenu has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53a2362659f87dc5c43951d4ebbd15b43445ae4ba3c3dfc5e2cd778217a9990"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Listeners.controls: MethodTooLong \u2014 controls runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65304c5c904c9961470516524f11c8dcba6e7ebe206b2d18a7057f9aa3ec273"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Plyr.constructor: MethodTooLong \u2014 constructor runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plyr.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"737fe7aaea2404229a9b768bcea4e732b51969b7ecd4b4cb42022cf54eb9130c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Plyr: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 75 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plyr.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e65aa8319f4f76006992ac34dcfc8b28fa11a4fe65a3a635ce24e10962a3f3d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Listeners: ClassTooLong \u2014 443 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 43 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9eb1cb7a6e98ac9841129a6b962be75ec4c03048e0082a3f8a84dd0c6690f96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/plyr.js: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: Plyr (40-1284). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plyr.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef9aa1573603765ded371092f70c633fa34db99e9647a59769f8a72f1bf5331"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (Vitest, Jest, Mocha, or the runtime\u0027s built-in runner (\u0060node --test\u0060, \u0060bun test\u0060, \u0060deno test\u0060)), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 no discoverable tests to count. If this repository does test, wiring the suite to a framework a runner can collect (Vitest, Jest, Mocha, or the runtime\u0027s built-in runner (\u0060node --test\u0060, \u0060bun test\u0060, \u0060deno test\u0060)) is what makes it countable here; a pipeline step that invokes a runner is not evidence on its own, because a runner over an empty suite passes. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @videojs/mux-video: \u0060@videojs/mux-video\u0060 is declared as \u0060https://pkg.pr.new/videojs/v10/@videojs/mux-video@1c629d6\u0060 in site/package.json, which names no releasable version: a remote tarball URL can be replaced in place without the version changing. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dadb1342ab56216e579bd81d42c6ffaf53ba1387e8b5a751e32405c315ade567"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @videojs/react: \u0060@videojs/react\u0060 is declared as \u0060https://pkg.pr.new/videojs/v10/@videojs/react@1c629d6\u0060 in site/package.json, which names no releasable version: a remote tarball URL can be replaced in place without the version changing. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3344df16d44faf77e8710aa9b236d8429004a68964da90be2a44d4a945c46da6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/js/listeners.js: src/js/listeners.js changed 2 times in last 90 days, max cyclomatic complexity 41 in Listeners.handleKey at line 44. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-21..2026-09-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-21 21:50:37 \u002B10:00\u0027 --until=\u00272026-09-19 21:50:37 \u002B10:00\u0027 --full-history --no-merges -- src/js/listeners.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dec0a0e21c3a3316402743206bded676008a48ce318fafc60f2e1bd6646dbd9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/js/plyr.js: src/js/plyr.js changed 2 times in last 90 days, max cyclomatic complexity 39 in Plyr.constructor at line 41. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-21..2026-09-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-21 21:50:37 \u002B10:00\u0027 --until=\u00272026-09-19 21:50:37 \u002B10:00\u0027 --full-history --no-merges -- src/js/plyr.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plyr.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9c3806a3975970fc14ed1e3d160dacb2948536078bfbed9a8edb9dad95c421"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/js/captions.js: src/js/captions.js changed 2 times in last 90 days, max cyclomatic complexity 23 in setup at line 27. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-21..2026-09-19, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-21 21:50:37 \u002B10:00\u0027 --until=\u00272026-09-19 21:50:37 \u002B10:00\u0027 --full-history --no-merges -- src/js/captions.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/captions.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce46fc8db3d90bed547e3ca98154a9627526e7aaec7c4f71862ef7a214de886d"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: There are no setup/build instructions for installing Plyr from source or running it locally. Add a short Quick Setup section covering cloning the repo, installing dependencies (npm/yarn), and starting the server."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no usage examples: The README does not show how to run Plyr from the command line or in an HTML file. Add a Usage section with code that loads Plyr into an HTML document and demonstrates basic playback."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1355eb4e127a4bc9236772ce1c46f09510aa9286e7a06d1e47f308229df19049"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no contributor guidance: There is no guidance for contributors on how to submit pull requests, review changes, or get involved. Add a Contributing section covering PR process, code of conduct, and any required tools."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f29787918fa3406ae55cb63eefa1b50410845435c4e47bda852816aaea084"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f7b9b734b95bea12975553e7974a7790422c4085c37558a6d99e4ca4c13781f"},"properties":{"commitSha":"2150c44036e13073c6f7f07343009b6373846bdf"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e1a8bf8fdcb9ebfd7baa81369483e9e84b0ba4d336177f089186a2c56acfffa"},"properties":{"commitSha":"52be5ae889a56b87f526eed92c7afab985edb729"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25c6d1181579573c652e6fee3eb437a128256fa4f12cd1b3c667e52aac9ef480"},"properties":{"commitSha":"0f8c6e147b384b437e7bc4093577a305026fb936"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"925f5fae6b9dd6ab9db9cc66827f7224a77aa8676c9df523f6a16a195b6f27fe"},"properties":{"commitSha":"d7a1c4428138d2dd5af09e41e998d1e08dafe76e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e7f118f6f180ecd4f37536286757dc305b5207ad98a8409e8511dd6846f8aaa"},"properties":{"commitSha":"d7a1c4428138d2dd5af09e41e998d1e08dafe76e"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"615b5f6dca02fec78e4a5a3bb18674216375aca85af00d6f5ea9b690914ba588"},"properties":{"commitSha":"38a206892b4869782cd0391307c7610cfe580286"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9281836719df3886334e1f06419b307d6cabf60bcfc2c91026c34c4d6e0971d9"},"properties":{"commitSha":"4c17f985208c147294cff0f05c39617d13e61efd"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81f9164cb3e6e9cfd80b67045f30bf7c0478e797104be00fe6e38c3c4d6e93d1"},"properties":{"commitSha":"d7a1c4428138d2dd5af09e41e998d1e08dafe76e"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd89729cc2ba641af3ba3b61b65583d10fe3271e71dc654c4a09c6ca7acbc711"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3c5d3262642571eb86fb6dc739cbea7d01bb98f44e21f0cc3f4e745944454d2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b73f3e96d2ae62faa345ebaf4636fe02546e851a4434f277d06919f8b48d493"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8853b7616a27696111b19a085eeb58fa60711c1f2389627d23eb19e0ab4a1e3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fdace52517967069682f4d541cf1db103d249850b9ff9e28bca1b7ce09cb58b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcfa4da9215284db6a6355a359d46e54ece6d33a8e6548e02570fa88e565fa20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04513b34ce01d2d0fa62aad624d98ff9ee56872df69e50fc8b00979beedc4b02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6a6d49203805cdb679d421a8043ac39e7b032144f8312d45a17e6946daaafca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfd5b7783653e166e17800a934e2ae6026a98d8da97d5d504c10aedbb82a47a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"996375866be20ba0e04568742d2c4f5016457eaeb869e7a05f533d0146725a9e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"693249723480b7d3690fbc9002e4acaa2fd5c4f5277d52948268b51530c89d1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"180262fef604e68ad9a0e1bce72a600b1b78a8c1bdb6d9773cab08556cecc326"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"538b4462a8f944e60a21502f361ca1938d39b9fa1fed0ca1792a30b02d41eef0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"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":"M3","level":"note","message":{"text":"No tests/ separation: No test surface was found \u2014 this check walked the tree for authored source in the languages it models (\u0060.cs\u0060, \u0060.vb\u0060, \u0060.fs\u0060, \u0060.java\u0060, \u0060.kt\u0060, \u0060.scala\u0060, \u0060.py\u0060, \u0060.php\u0060, \u0060.rb\u0060, \u0060.ex\u0060, \u0060.exs\u0060, \u0060.go\u0060, \u0060.erl\u0060, \u0060.hrl\u0060, \u0060.swift\u0060, \u0060.dart\u0060, \u0060.rs\u0060, \u0060.ts\u0060, \u0060.tsx\u0060, \u0060.mts\u0060, \u0060.cts\u0060) and found none of it test-shaped. \u2605 \u0060.js\u0060, \u0060.jsx\u0060, \u0060.mjs\u0060 and \u0060.cjs\u0060 are NOT in that walk, so a Jest or Mocha suite written in plain JavaScript is invisible to it and this row is then wrong. If that is your case, say so rather than moving anything. Otherwise there are no tests here to separate from production code, so the folder question hasn\u0027t been reached yet."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"999e0c784909c76b6346a705ee63961fe363ed1cd6a94e3f80e2ebe7820ccd5d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README advertises Docker containerisation, but no Dockerfile/compose file exists \u2014 searched for: \u0060dockerfile\u0060, \u0060docker-compose\u0060, \u0060compose.yaml\u0060, \u0060compose.yml\u0060. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README\u0027s own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read \u2014 a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"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/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 7147 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 3 typed \u00B7 38 plain JS \u2014 the untyped files are src/js/captions.js, src/js/config/defaults.js, src/js/config/states.js, src/js/config/types.js, src/js/console.js, src/js/controls.js (\u002B32 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/js/plugins/vimeo.js:254 \u00B7 src/js/plugins/vimeo.js:270 \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/js/plugins/vimeo.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fc7d943bfd2758b09a1aaed9cdcc339502b5d2597a4d9472dc98a7cf87788b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/js/controls.js:954 \u00B7 src/js/controls.js:1053 \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/js/controls.js"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b00f1a49f3aa2b3d2ca1ae2b89673db120456153f18aebbb6e21e940451d9f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/js/fullscreen.js:242 \u00B7 src/js/fullscreen.js:262 \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/js/fullscreen.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca328fa2e97be345653bf9c3db4c2e028972ca5ba29dcc39e515c779e0cf2d5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/js/plugins/vimeo.js:49 \u00B7 src/js/plugins/youtube.js:28 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/vimeo.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"789a2dba4158519c0c1d012cbbdd4b5de1fb3c21d3c5e03298843d10677407d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/js/listeners.js:723 \u00B7 src/js/listeners.js:742 \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/js/listeners.js"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e8e2aa57fbe3e8910000b8eb90bab25e5bd521bb3ff4c79426203628c97e2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/js/controls.js:915 \u00B7 src/js/controls.js:1072 \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/js/controls.js"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dce7a9ddddf889419d7676ba5aec05cc35bde48e108bc6a230ada0fffd1bd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/js/listeners.js:340 \u00B7 src/js/listeners.js:365 \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/js/listeners.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5db4052457c4ac2c4740166500281395c2b545b5e5bc5c8c616b2f30352fc9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKey (cyclomatic 41, cognitive 35): handleKey has cyclomatic complexity 41 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/js/listeners.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac517f5de5d19c6aa24a1b41949d51133e49cc97ff2e56e14404c21c8a5ca042"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 38, cognitive 55): constructor has cyclomatic complexity 38 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse 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/js/plyr.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"824ce8adf1a97df2d7c1b3403b00afa99ea9ccd2279ed240ffc447c55ea784bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 33): (anonymous) has cyclomatic complexity 29 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5ff7ebd60942575ad42d8af99466eb62d1a224a9b35b55d00c03b0eb30cad8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 31): (anonymous) has cyclomatic complexity 23 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/js/source.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4830c6d6e9ed8270da96d08404cf58c65c84130b488c785f7d627736503c756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setup (cyclomatic 23, cognitive 22): setup has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/captions.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0e5eb574cae2ad4304445a65e8086812a06997675e300bf1c18d9171c9a17b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ready (cyclomatic 17, cognitive 20): ready has cyclomatic complexity 17 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/js/plugins/youtube.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ff4b9c6cc6781b6c664b8f2e7d46a378ebb60e0b6c3bfae375dc68046bd193"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inject (cyclomatic 16, cognitive 18): inject has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb6d15b3cb2137c08f8fdfc12da53f4ba509087f7b01f464afcf5f0d240d102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleMenu (cyclomatic 16, cognitive 16): toggleMenu has cyclomatic complexity 16 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/js/controls.js"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"03db3c1f416ba7be0adcd04d11fdb307653d66eee95e348b4b0760dbc3aa2aa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createButton (cyclomatic 15, cognitive 17): createButton has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cf2cf4683262c39390366bf4adccdbc386415f8093ca21acd24d338d51b79e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onStateChange (cyclomatic 15, cognitive 15): onStateChange has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/youtube.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d283f2a96f26db541cd21ac34c3f51ed9c8f90cc5c5216bf446b3e86cad4ddc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSeekTooltip (cyclomatic 13, cognitive 13): updateSeekTooltip has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5027d6330ca4c3760e5c091cac01888c6e67a349bddc7638ef6b4ce6092d010"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSetting (cyclomatic 12, cognitive 16): updateSetting has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2f6292b8a346e4833613dc8837af1196c749306dab08923c48edd4e38334b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function volume (cyclomatic 12, cognitive 11): volume 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/js/plyr.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"661201c46b7a04ef445c516e16363314a16628b3d20ddaf6d3435b4ae6df48df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 21): (anonymous) 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/js/controls.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe387f729e707be167ff67831e3efdfb31a2d35063fbfc0b6185b9ecd575260b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleFallback (cyclomatic 11, cognitive 15): toggleFallback has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/fullscreen.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d328ebf660bd62ab80c12508d640f5a8ce067a5f288746dc7ddeee02e6e47d78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exit (cyclomatic 11, cognitive 13): exit has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/fullscreen.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2669935304c70824d30f448f0efd01a540154537c464f6632470e6f60451b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ready (cyclomatic 11, cognitive 12): ready has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/vimeo.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a20e0b81f57e5202cb5cd5686d340bec097311f4c9072e45176b6e2b1c28f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build (cyclomatic 11, cognitive 11): build has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/ui.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a459b74be21b15f65d5e2a7b7a1e3ef475034655a1e50f0f7633313a21a29c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 11, cognitive 10): update has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/captions.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d528dc2949f7ff7fc54116a856d72ebc65eed155361f2ffeb9bf0b3236cb0d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function durationUpdate (cyclomatic 11, cognitive 10): durationUpdate has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"c581a310b9e3990ba19b32840317d3ae68957007577f5025eea56929e70dc8ca"}},{"ruleId":"R3","level":"warning","message":{"text":"Large Files: 6 file(s) over 400 lines (counted as significant lines \u2014 blank lines excluded \u2014 over production source only, tests excluded), largest first: src/js/controls.js (1514), src/js/plyr.js (1073), src/js/listeners.js (733), src/js/plugins/preview-thumbnails.js (573), src/js/plugins/ads.js (530), src/js/config/defaults.js (413)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cecee31b569df4f07e06db732f1ca037af27b5afef9023da51f9673d931a142f"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 39 production file(s) reachable from 0 test file(s) via the import graph \u2014 \u0027production\u0027 here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace\u0027s file count"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64e0e3511eb969fb4720b196e7d3799e1714077217351c3c56a27b50e3e21220"}},{"ruleId":"R6","level":"warning","message":{"text":"No test script: test \u2717 \u00B7 lint \u2713 \u00B7 typecheck \u2713 \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":"7e5e0cc374484b1c72227eba121f79e7e90e5907d71a39d0ffec753e709f7fa6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1852 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 5 in-repo import(s) from 5 other file(s) do name it (src/js/captions.js, src/js/listeners.js, src/js/plugins/vimeo.js and 2 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/controls.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8b4f2a6aa4eb76dd3bd60bbcc327eb1ea47c608d618a38f92127bbd97a2d7b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1288 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/js/plyr.polyfilled.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plyr.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b371ec5029826a81e14028c75c01db46917f8b2ad0b10618edc0a89ce741e39"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~880 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/js/plyr.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/listeners.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a1e1226a48a6beb452696299cfd1757d866c4364cb42430823d1689dae5ada"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~696 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/js/plyr.js, src/js/source.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/preview-thumbnails.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42a712844328b3ebce6bb192a034407c1ac0f7f5788ee5614c4bd0f5d23086a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~645 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/js/plyr.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/ads.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef83a99df263e591565956d8a971fb6657a8d8c4ce797450e6a0ab2bf0e6df9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~459 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/js/listeners.js, src/js/plyr.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/config/defaults.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9343888e19b0498135274c916294f2dffef0d465b339b96f6fa3cd09ae928e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~448 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/js/media.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/youtube.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86e29708a29ad399a1d3aeb3e26f329dbc5ff97df4e116144eea5933e1dd063"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~440 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/js/media.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plugins/vimeo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23805d8890dc619b1e097ff3cbd27c0dc9b2191244ad2e0755703d53ced2569"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~426 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 4 in-repo import(s) from 4 other file(s) do name it (src/js/controls.js, src/js/plugins/vimeo.js, src/js/plyr.js and 1 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/captions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d6a337f81451d8af8ee4ee1fdd91a14db57f6b263ce6698afb9eb5309bf643"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~296 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 5 in-repo import(s) from 5 other file(s) do name it (src/js/listeners.js, src/js/plugins/vimeo.js, src/js/plugins/youtube.js and 2 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/ui.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"858623a8f0241e0dc18b92895b441c355e94f9ae5bcbba71c1428d4849162c1d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~293 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/js/plyr.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/fullscreen.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f1b5196eb94ec28973b759de4b34a7d7cecfdf7a737da3c9e14ef6bf0e6fa8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~261 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 14 in-repo import(s) from 14 other file(s) do name it (src/js/captions.js, src/js/controls.js, src/js/fullscreen.js and 11 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/elements.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b26e8b55d80770cb2c8faaa3acb8696335ed7b5810c3ef6348bbb08d7e05ed"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~154 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/js/plyr.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/source.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da047b97c7d2de90abb58ceb18edf4c1fe187696ce552c7c766ca1b24fe1db14"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~147 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 4 in-repo import(s) from 4 other file(s) do name it (src/js/controls.js, src/js/media.js, src/js/plyr.js and 1 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/html5.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e053d22010622b9805a04f88a66596a3b292a4044c1d550ea1c97b56a62bfc1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~146 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 5 in-repo import(s) from 5 other file(s) do name it (src/js/html5.js, src/js/listeners.js, src/js/plugins/vimeo.js and 2 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/style.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc53b70fe45bc31df71fa7e372d799d9c32f0429fc24dc3869d11c7b4bc2eeaf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~115 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 11 in-repo import(s) from 11 other file(s) do name it (src/js/captions.js, src/js/controls.js, src/js/fullscreen.js and 8 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/events.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb47ae39ee5890a16c08e5e64d13fe8ed81d2cc76fd46c87a7bd5bb143854d67"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~99 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 6 in-repo import(s) from 6 other file(s) do name it (src/js/captions.js, src/js/controls.js, src/js/html5.js and 3 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/support.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5c53c937c3eed319052a6dacb0e919066cbad0ffbbce0c0d6d176f38e2a5c0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~84 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 26 in-repo import(s) from 26 other file(s) do name it (src/js/captions.js, src/js/controls.js, src/js/fullscreen.js and 23 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/is.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b33194669c6d124fbb0d9ffb20fa70a32f40b8854fdc1baac02e498f99a52d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~83 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 5 in-repo import(s) from 5 other file(s) do name it (src/js/captions.js, src/js/controls.js, src/js/plugins/vimeo.js and 2 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/strings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b141b2e3f4c1dc784328ca2be33cb5f5e923f73559abf4228c43b528dd3a6c3a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~76 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/js/controls.js, src/js/plyr.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/load-sprite.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c52c97f105d0a08dc945920b32bbb6ea10c74a4d43fd5ce6bcf521e837d65f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~68 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/js/plyr.js, src/js/utils/load-sprite.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/storage.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cca0d9fc105473eb4cc28dca850fa6d2560329f67a9afd138fe997e64f959d5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~59 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/js/plyr.js, src/js/source.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/media.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b43b795ab469b7ea28f921e028649e03518b8ace4ba7bfe53e4bbd0675a8934"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 4 in-repo import(s) from 4 other file(s) do name it (src/js/captions.js, src/js/controls.js, src/js/plugins/ads.js and 1 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/i18n.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b2531f096804ef84febc69777aff225a8ea3d740e81de711564389339f3e8d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~42 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 5 in-repo import(s) from 5 other file(s) do name it (src/js/captions.js, src/js/plugins/preview-thumbnails.js, src/js/plugins/vimeo.js and 2 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/fetch.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f76d66b61d10b6e0c4a41634e53f66fc32dcafb812d652fcc0701ccd0025cd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~42 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 7 in-repo import(s) from 7 other file(s) do name it (src/js/controls.js, src/js/plugins/youtube.js, src/js/plyr.js and 4 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/objects.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe04684233680d67b5fed555784ffc958fc6d0ebdef7f6b0e79f2485b8c08fb1"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~39 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 4 in-repo import(s) from 4 other file(s) do name it (src/js/captions.js, src/js/plugins/ads.js, src/js/plugins/vimeo.js and 1 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/urls.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c627ff672737a33c2196436d5996d37be10d3961cd7f33692a3f87861f5c2032"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~35 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (src/js/controls.js, src/js/plugins/ads.js, src/js/plugins/preview-thumbnails.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/time.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"729fb181315f7559dc4295cdebbf781efd6d22a77255f339ef50b8be5febb35b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~34 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/js/plyr.js, src/js/source.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/config/types.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad1267914d1ee1a47b8f92c381c12c93223c6b7f0975e1f29354aa4ce4fafa8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~32 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (src/js/controls.js, src/js/listeners.js, src/js/support.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/animation.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ab7d2bb7d8c90a76489b721b3aae06e7fd707bdd39f2d3a53c5215c590aa8e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~28 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/js/plyr.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/console.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1a256afeabdf3a04627945cdec3a2f20bc7837bdb1f309253322ef653e933e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~23 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 4 in-repo import(s) from 4 other file(s) do name it (src/js/captions.js, src/js/controls.js, src/js/plyr.js and 1 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/arrays.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c7698f74a5de5a8e8fe2460b27055ba91ff540b9a1f8dbb3939262c700b855"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~21 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 4 in-repo import(s) from 4 other file(s) do name it (src/js/captions.js, src/js/controls.js, src/js/fullscreen.js and 1 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/browser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e7331141760efa77f3203edabe65fd070ad50526cceab446fb4d466c51c177"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/js/plugins/youtube.js, src/js/ui.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/load-image.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cee1c149e6dd75a9cccd067d072bab5e3779bf0d3c27f939a23fc283366676e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~17 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (src/js/plugins/preview-thumbnails.js, src/js/plyr.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/numbers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31877dbfc4333622e652ccca80b71a27b2cf9c51a62d3bda5f89b62b4af37de"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~14 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (src/js/plugins/ads.js, src/js/plugins/vimeo.js, src/js/plugins/youtube.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/load-script.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14847aa957028ac12a1ff583458249d87adc2e258058ac5e91ab599fb5f43026"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~14 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 5 in-repo import(s) from 5 other file(s) do name it (src/js/fullscreen.js, src/js/html5.js, src/js/listeners.js and 2 more) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/utils/promise.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60527d34b129785a87fc182824fa115dddb7eaaf8038d0dd0b25fc448c0b5b3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~13 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/plyr.polyfilled.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbe35561b35c299432c42b4d32ed315d791aa493657d8796cdc2d82af700250"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~10 LoC): no import path from any entry point (4 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/js/plyr.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/config/states.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"979883f4ced086e9639be228a91660dbaefd782570208f7df49fe6bfc007fef8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027remark-validate-links\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"35bef5298b2b559f514a163b2ad6a5bd4e1d67b5300689000a4e8bd185af8b01"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/js/captions.js \u2192 src/js/controls.js \u2192 src/js/captions.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/js/captions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b54fa356f3561a427898b7916828f09fef210c98d5c115a0bb11f79f79bb05"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060vercel.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/vercel.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd7a020178c397bde564e5a0f776d96b8e56728186a8757790cc9dfd17e2145"}}],"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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":34,"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."]}]}