{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"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":"P9","name":"Domain vs controller coverage","shortDescription":{"text":"Domain vs controller coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/P9"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PlaylistModule.PlaylistModule (cyclomatic 58): PlaylistModule.PlaylistModule has cyclomatic complexity 58 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 38 belong to 9 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/popup/src/modules/Playlist/PlaylistModule.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca04d316874e0408bd1b24d542a8bc195896ea844e3568a408bd2e9fb2daa0ea"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaylistView.PlaylistView (cyclomatic 47): PlaylistView.PlaylistView has cyclomatic complexity 47 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 17 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Playlist/PlaylistView.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4931d7c71e799b73c6e4bb22c328a6fe8f7393ebc969781b21e14e7c818672"}},{"ruleId":"D1","level":"warning","message":{"text":"JobView.JobView (cyclomatic 43): JobView.JobView has cyclomatic complexity 43 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7b7f867e8dd5db849a68b4f7a9e4961dfe1522b7e5c30034d1909d3fd35b11"}},{"ruleId":"D1","level":"warning","message":{"text":"JobView.JobDetailView (cyclomatic 34): JobView.JobDetailView has cyclomatic complexity 34 (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/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c331fd7f1408a60259d8c8d3928f9b5006ed2a2a91fb48a0b451df842a16910"}},{"ruleId":"D1","level":"warning","message":{"text":"BulkDownloadSheet.BulkDownloadSheet (cyclomatic 31): BulkDownloadSheet.BulkDownloadSheet has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 6 of the 31 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 103, 22, 42, \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/popup/src/modules/Sniffer/BulkDownloadSheet.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2092a14d725f83241d8246e54769327f127119b9910da85da01ee441cf3e89"}},{"ruleId":"D1","level":"warning","message":{"text":"SnifferView.SnifferView (cyclomatic 27): SnifferView.SnifferView has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 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/popup/src/modules/Sniffer/SnifferView.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee9e3c5ad14ef115902468ebff2aab4cead42174cdb3940bc09930d0d2b8952"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageSummary.StorageSummary (cyclomatic 26): StorageSummary.StorageSummary has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Storage/StorageSummary.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d34a648ceb6b70d3f5a5d4564948d043a3c2fb7520dba813d2d4abc860fa98"}},{"ruleId":"D1","level":"warning","message":{"text":"SnifferView.PlaylistRow (cyclomatic 24): SnifferView.PlaylistRow has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Sniffer/SnifferView.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89f350ce16618fe2b4568595e1ce72daa6628198f7e286d5ddc53bae9f64a36"}},{"ruleId":"D1","level":"warning","message":{"text":"DownloadsView.DownloadsView (cyclomatic 23): DownloadsView.DownloadsView has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Downloads/DownloadsView.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f016f3adcab0cf2e74f00ed29c64ac037e6e5ce38400ebf9f3638a880b40551d"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaylistPreview.PlaylistPreview (cyclomatic 23): PlaylistPreview.PlaylistPreview has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 22, 50, 76, \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/popup/src/modules/Sniffer/PlaylistPreview.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"18490e1ffce107316ec664943e9d3dcf37160868bb7d87ad41ca59ddd9dc7883"}},{"ruleId":"D1","level":"warning","message":{"text":"JobController.buildJobViewDerived (cyclomatic 18): JobController.buildJobViewDerived has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobController.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f5a1f853682e9dc92569b572f88d8ccb79fed94f6a3fb464d23d55d9396cd6"}},{"ruleId":"D1","level":"warning","message":{"text":"ffmpeg-muxer.buildMuxArgs (cyclomatic 16): ffmpeg-muxer.buildMuxArgs 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/background/src/services/ffmpeg-muxer.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc539246633e19a6c9fabc2e9211ee1d9e169701a8bc66b0b39eb59746a02dfa"}},{"ruleId":"D2","level":"warning","message":{"text":"JobView.JobView (cognitive 58): JobView.JobView has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 17 (34 pts), boolean chains 17, if/else 7 (nesting depth added 17). Of this number, 53 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae63d84a3cf15d94a9dfae32f74280378e8323946e05b35a73fce03a29724f3"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistView.PlaylistView (cognitive 58): PlaylistView.PlaylistView has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 15 (30 pts), boolean chains 19, if/else 7 (9 pts) (nesting depth added 17). Of this number, 31 points are the body\u0027s own statements and 27 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Playlist/PlaylistView.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"641191d54e11b89a37fb58e050e745317aa64b2755da5be0bba6f2ce91f8f920"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistModule.PlaylistModule (cognitive 55): PlaylistModule.PlaylistModule has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 20, ternaries 11 (13 pts) (nesting depth added 6). Most of this is not in the body itself: 14 of the 55 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 84, a function literal at line 116, a function literal at line 74, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Playlist/PlaylistModule.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"860c1035a0994b41374ca0e4d813978e437a5965c895a30f1bffddad7a810adb"}},{"ruleId":"D2","level":"warning","message":{"text":"JobView.JobDetailView (cognitive 35): JobView.JobDetailView has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 20 (23 pts), boolean chains 12 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d31fe1d166c2c8243857481b3e4d7043f8749e6247b870d9c0c0562854f205"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaylistPreview.PlaylistPreview (cognitive 28): PlaylistPreview.PlaylistPreview has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 5). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 22, 50, 76, \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/popup/src/modules/Sniffer/PlaylistPreview.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"271ced95531441e1234f9f2c82e2063a73f3c5a0a818c1f604e72e7dd8fc65d4"}},{"ruleId":"D2","level":"warning","message":{"text":"BulkDownloadSheet.BulkDownloadSheet (cognitive 27): BulkDownloadSheet.BulkDownloadSheet has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 10, if/else 6 (nesting depth added 4). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 103, 22, 42, \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/popup/src/modules/Sniffer/BulkDownloadSheet.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"38177bc91704b501e8ade9b787055900e120f08daede6c21a480556dce630794"}},{"ruleId":"D2","level":"warning","message":{"text":"disk-mux-worker.mux (cognitive 23): disk-mux-worker.mux has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 5 (7 pts), error handling 3 (6 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/workers/disk-mux-worker.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bb82998b9674bb27e5c5f565e24cd33c454454b5a61fbfd3f4d1ae5fa6f3dd"}},{"ruleId":"D2","level":"warning","message":{"text":"JobController.buildJobViewDerived (cognitive 23): JobController.buildJobViewDerived has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 12 (18 pts), boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobController.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8806bade2def5f0040344cec00acb19c80c80ec8af1eb581cc8a42c699948d"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadsView.DownloadsView (cognitive 23): DownloadsView.DownloadsView has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9 (13 pts), boolean chains 8, if/else 2 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 2 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Downloads/DownloadsView.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03db110ab453aab22e0f69e2c156838b058953a0321996f8dc93b0a669b474f"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSummary.StorageSummary (cognitive 21): StorageSummary.StorageSummary has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 17, ternaries 4. 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/popup/src/modules/Storage/StorageSummary.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"75645598a70867ec6c0fd0ef0239e44ca52203f5bbb9791b9cbc9661bbacb487"}},{"ruleId":"D2","level":"warning","message":{"text":"get-subtitle-text.getSubtitleTextFactory.run (cognitive 19): get-subtitle-text.getSubtitleTextFactory.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/use-cases/get-subtitle-text.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"71281dc3e85a9004c43c67c4d24d4de121848543bfa775df3bc49c6d58b6890d"}},{"ruleId":"D2","level":"warning","message":{"text":"ffmpeg-muxer.buildMuxArgs (cognitive 18): ffmpeg-muxer.buildMuxArgs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/ffmpeg-muxer.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d58782a82bbcead6d7ff2433ab944f22738c49f08e715c6b0605b9292823c2"}},{"ruleId":"D2","level":"warning","message":{"text":"SnifferView.PlaylistRow (cognitive 18): SnifferView.PlaylistRow has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, ternaries 4, if/else 3, error handling 1. Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, 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/popup/src/modules/Sniffer/SnifferView.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"8852be4b8f3f0a0007ff9016db6ed4e0ad3fe51b6f59cb0537017984c8a1c0ce"}},{"ruleId":"D2","level":"warning","message":{"text":"fetch-loader.fetchWithRetry (cognitive 17): fetch-loader.fetchWithRetry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 1 (4 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/fetch-loader.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"375e2a9e2ba2d4c91d8c80b0660874210e8848fa10a1905050b079e02cc30cb2"}},{"ruleId":"D2","level":"warning","message":{"text":"SnifferView.SnifferView (cognitive 16): SnifferView.SnifferView has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 3, ternaries 2. Of this number, 12 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/popup/src/modules/Sniffer/SnifferView.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"376280f8a441ae4b576e60ac20b0914d38f75f8357638e58087581b8953e63e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PlaylistView.PlaylistView: FunctionTooLong \u2014 PlaylistView runs 338 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 238 over it, 3.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/popup/src/modules/Playlist/PlaylistView.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e3d1a31378de201538f895345c15049b0900a5b5fa1e7cc7ef11162d6f00cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JobView.JobView: FunctionTooLong \u2014 JobView runs 317 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 217 over it, 3.17\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/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aefaf8d330c60c0c6b7946f6818e6a642cad2d35a0f442f0ff586475bd304e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: JobView.JobDetailView: FunctionTooLong \u2014 JobDetailView runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\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/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c1950368872943d4432a8dbb18e4753471d913d28913b7f486273f9ba20140"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SnifferView.SnifferView: FunctionTooLong \u2014 SnifferView runs 255 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 155 over it, 2.55\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/popup/src/modules/Sniffer/SnifferView.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8906d890821d3af8c14c06ab699c0475c520c55feb258ad9b2d3d219179c3bd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsView.SettingsView: FunctionTooLong \u2014 SettingsView runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\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/popup/src/modules/Settings/SettingsView.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ed76e9399e1e278be81d1adc2d7666aca1b91d331ee0e2ff1dc40d0ebde67f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PlaylistModule.PlaylistModule: FunctionTooLong \u2014 PlaylistModule runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\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/popup/src/modules/Playlist/PlaylistModule.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb943b5aa5c5735499bc92643cd24784489143a3c2c577e403e590f714599061"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DownloadsView.DownloadsView: FunctionTooLong \u2014 DownloadsView runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Downloads/DownloadsView.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a5c90acf1b562facf889615fc8c1cc3cd45b641e353ec828411155fb67c64a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/disk-backed-fs.ts: FileTooLong \u2014 1025 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 525 over it, 2.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/disk-backed-fs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2946b99abfc446987b8baaf16d6a0bdee7481fe416a32432957a1fde5edf1f1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BulkDownloadSheet.BulkDownloadSheet: FunctionTooLong \u2014 BulkDownloadSheet runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\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/popup/src/modules/Sniffer/BulkDownloadSheet.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42b0b0bdc3ec5fd27c1c7de1f1b0ac77ef037536994aa97659142435d6bb2d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PlaylistPreview.PlaylistPreview: FunctionTooLong \u2014 PlaylistPreview runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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/popup/src/modules/Sniffer/PlaylistPreview.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffd62a3fb68896ab902586b4c05b21b0c5adef78c36053f15e757d6426b5d6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Job/JobView.tsx: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 179 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcc908ca7431005a52a8b7ba54e5d831c877cd3efecdf7e9372594c4ea82283"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StorageSummary.StorageSummary: FunctionTooLong \u2014 StorageSummary runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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/popup/src/modules/Storage/StorageSummary.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4c301c869a88b72900da8691eb237b60a6d20564663cf90d352fe66871bf00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SnifferView.PlaylistRow: FunctionTooLong \u2014 PlaylistRow runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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/popup/src/modules/Sniffer/SnifferView.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"12679001e99257361c1123e9b3829d85bce4d9e38078811593ef9b06569b4770"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @hls-downloader/design-system: @hls-downloader/design-system: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f8787b0352dfd964b2f69d13140ea66dbbb82ba77ceea293dc5d8088778348ea"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @hls-downloader/core: @hls-downloader/core: abstractness 0.09, instability 0.00, distance 0.91 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"314163039be6e744069be6674d71529f02183116b0cc25e3e287ece1fe602c96"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/controllers/download-subtitle-epic.ts: 20.0% line coverage (2/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/controllers/download-subtitle-epic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d85de97b46c7d67b40bdd318736c0a28946dda105de8f316d72367ae366fdd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/controllers/inspect-level-epic.ts: 22.2% line coverage (2/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/controllers/inspect-level-epic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace63956453f1bc313c27efb385d142c018d41cae53a6d5090a6f6d2d88f250c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/entities/tab.ts: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/entities/tab.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ece125c1cc1d64a47bb8c471f18496068c68b18c1df84db4bff2f6fbffe3857"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/store/configure-store.ts: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/store/configure-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e2bf5317aef97a31736684557bd4714b1b8f33b87d4a8bd89f44a9de67f14d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/store/root-reducer.ts: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/store/root-reducer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e605331d275e8f15a276eb53d5d80d2c1231d0878932577067b6cae8baef0ee7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/store/slices/level-inspections-slice.ts: 8.7% line coverage (2/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/store/slices/level-inspections-slice.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50eb6263e4daa18e13da5fbe28cf0da0e0ae04133a9f57b6427a8fc827ab1d35"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/store/slices/subtitles-slice.ts: 22.2% line coverage (2/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/store/slices/subtitles-slice.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"488ad95995002fdfda3108fef16affdf95b91bab366cfed8fc63b6d11e5992db"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/use-cases/generate-sequence-iv.ts: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/use-cases/generate-sequence-iv.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afb06b8a8abb5a4994f7204a25758702ace28040e9b83162f1380d525ee689d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/use-cases/generate-track-id.ts: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/use-cases/generate-track-id.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb90778a08a259f4c890ba1b833bdb9ab6c54d7af3b360968eba37152e6655ee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/use-cases/get-subtitle-text.ts: 26.1% line coverage (6/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/use-cases/get-subtitle-text.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6300c1a7599bf467fe81ab485d86ac5749c8cb746b3222a49170d8cdc54960ed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/use-cases/is-hls-response.ts: 14.3% line coverage (1/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/use-cases/is-hls-response.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1f1dc2daa8419f9b86bda5de0f74425cecb3d5591ba82170bc57355b69b53c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/core/src/use-cases/store-subtitle-text.ts: 10.0% line coverage (1/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/use-cases/store-subtitle-text.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d09019da152eaa4f508a10abfc3ed8bcc3f5dc12ddf6647a36a8d0f6fa0882"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/popup/src/components/InlineConfirm.tsx: 42.9% line coverage (3/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/components/InlineConfirm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a095db39378d2c8c25df7ae5bb796bd73dfe2c745d382f38a6c87ed728ceb80"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/popup/src/components/Metadata.tsx: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/components/Metadata.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70900343c4d72dbf3fc8b3ece5e5b39039d46fcc11a2d286323439bf2b09b86"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/popup/src/modules/Job/JobModule.tsx: 16.7% line coverage (1/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3729261899e64c0eecbbcdf4d94c7cd6ac169be7c872355da2934bb782b0ef44"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/popup/src/modules/Job/JobView.tsx: 11.6% line coverage (5/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e3031a463c2cecb360eb6374b90fb0c1e7473f6c5073c4a3706bbd14b79766"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/popup/src/modules/Playlist/PlaylistView.tsx: 30.9% line coverage (17/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Playlist/PlaylistView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e4a7958b839639bebc33117bbec9c572c89d4169ea41d9410fda477dfb218a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/popup/src/modules/Sniffer/PlaylistPreview.tsx: 1.3% line coverage (1/80)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Sniffer/PlaylistPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c1e8f02bc9fe0548c481b39afb28471492d5c6d90fba3810d5b381f75bb450"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes stored mkv output container when creating the save link: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/test/save-as-job-epic.test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba87ee7a060d0199091310d0e95eac8e8fd1ee59079a0d4d06eb84fbed2a80df"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: writes to bucket: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/test/use-cases.test.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62b4a737c7f4126efe74ac90a30c59d24fcf87a48313482f32143601e530b07"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: deep-diff: deep-diff 0.3.8 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":2592}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aab9a35eaf244b1999fb162b0e3b920660ddb4318dfca41f475358b4550705"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: eslint: eslint 9.39.4 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022This version is no longer supported. Please see https://eslint.org/version-support for other options.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c15c4b33fa04ca71c9ea2a9eaa1a5ba0d1b530b01b4dc60684d7f002940933d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: whatwg-encoding: whatwg-encoding 3.1.1 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Use @exodus/bytes instead for a more spec-conformant and faster implementation\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":4319}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e5cb7df63ff21258178b12434d5004ecefac7867185f56a1bb3b907df58d8a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/e2e-local-browser.mjs: scripts/e2e-local-browser.mjs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in e2e-local-browser.main at line 606. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-08-03..2026-11-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-03 17:46:25 \u002B01:00\u0027 --until=\u00272026-11-01 17:46:25 \u002B01:00\u0027 --full-history --no-merges -- scripts/e2e-local-browser.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-local-browser.mjs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffa451a3e6c1e66933965ae387f6e45eb5b201283f94b1bc08ce15989e44625"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/e2e-firefox-local.mjs: scripts/e2e-firefox-local.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in e2e-firefox-local.main at line 32. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-08-03..2026-11-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-03 17:46:25 \u002B01:00\u0027 --until=\u00272026-11-01 17:46:25 \u002B01:00\u0027 --full-history --no-merges -- scripts/e2e-firefox-local.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-firefox-local.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60323d19c0b76c8b5d7c7337063ac4f6a669f2ad9e6a129f017044db89a4418"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/e2e-aes128-local.mjs: scripts/e2e-aes128-local.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in e2e-aes128-local.main at line 448. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-08-03..2026-11-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-03 17:46:25 \u002B01:00\u0027 --until=\u00272026-11-01 17:46:25 \u002B01:00\u0027 --full-history --no-merges -- scripts/e2e-aes128-local.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-aes128-local.mjs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f752df97fb6927385da07c87e4b6adae4a7ec652daacc3296e1c2846405637"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/background/src/services/ffmpeg-muxer.ts: src/background/src/services/ffmpeg-muxer.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ffmpeg-muxer.buildMuxArgs at line 64. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-08-03..2026-11-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-03 17:46:25 \u002B01:00\u0027 --until=\u00272026-11-01 17:46:25 \u002B01:00\u0027 --full-history --no-merges -- src/background/src/services/ffmpeg-muxer.ts\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/background/src/services/ffmpeg-muxer.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2f72506cdb0e3cbe95ef0635812b9ed3e3fca42a8b189ab8a9607e245a58ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/background/src/services/fetch-loader.ts: src/background/src/services/fetch-loader.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is fetch-loader.readRange at line 18), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(playlists): keep redirected streams and expiring captions downloadable\u201D; \u201Cfix(downloads): preserve complete media across track and range errors\u201D; \u201Cfix(downloads): recover stalled jobs without restarting the browser\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-03..2026-11-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-03 17:46:25 \u002B01:00\u0027 --until=\u00272026-11-01 17:46:25 \u002B01:00\u0027 --full-history --no-merges -- src/background/src/services/fetch-loader.ts\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/background/src/services/fetch-loader.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"91399e57de56696451c49b4460fe2fd10740ca3ec9d29097891d90e50a54998a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/background/src/services/m3u8-parser.ts: src/background/src/services/m3u8-parser.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is m3u8-parser.toIvBytes at line 11), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(playlists): keep redirected streams and expiring captions downloadable\u201D; \u201Cfix(decryption): restore complete downloads without explicit IVs\u201D; \u201Cfix(playlists): preserve audio and subtitles across playlists\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-03..2026-11-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-03 17:46:25 \u002B01:00\u0027 --until=\u00272026-11-01 17:46:25 \u002B01:00\u0027 --full-history --no-merges -- src/background/src/services/m3u8-parser.ts\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/background/src/services/m3u8-parser.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab64576d6058c762936f7960e98289ff1f4bd391c304b520814ec3a1f745fb48"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/background/src/services/disk-backed-fs.ts: src/background/src/services/disk-backed-fs.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is OPFSBucket.write at line 736), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(downloads): recover stalled jobs without restarting the browser\u201D; \u201Cfix(downloads): preserve MKV filenames with explicit media types\u201D; \u201Cfix(downloads): allow exports with Unicode titles\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-03..2026-11-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-03 17:46:25 \u002B01:00\u0027 --until=\u00272026-11-01 17:46:25 \u002B01:00\u0027 --full-history --no-merges -- src/background/src/services/disk-backed-fs.ts\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/background/src/services/disk-backed-fs.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e38a0dfc4a474b26844caf00b647268adfb67395dc7a53fcb5a5c7e59ffa29b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Run the build steps\u0022 repeats the code it sits on: 3 of its 3 words (run, build, steps) are already in \u0060const steps = [\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-variant.mjs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1364b273bd36dbdc1003521b727119063a0f42a4f901da74d4a9790996b58071"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up state with playlist\u0022 repeats the code it sits on: 3 of its 3 words (set, state, playlist) are already in \u0060mockState.playlists.playlists[\u00221\u0022] = playlist;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/test/root-epic.test.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"17908a42e80688050cb034702c44a84cbadd2eaf4b304095824cc49b4f415346"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get from local storage by key\u0022 repeats the code it sits on: 4 of its 4 words (get, local, storage, key) are already in \u0060const item = window.localStorage.getItem(key);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/design-system/src/hooks/use-localstorage.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a5c319ecae85f7c6589cd842e6bc39460e31b150184b16659ab0ae36b4c99d"}},{"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":"5f19ee62a31bba465cbf775a0074d8be77951d81b454aa867d454fa5cac0e1df"},"properties":{"commitSha":"3212de3dbb43bd19e4d5feb6ea66f429bb9d68ef"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"cd765361a4632cb768199a8bc0e4d1072a4ec0cc900049e317a4809ffb0ec05b"},"properties":{"commitSha":"4a61c8ad4cdd4e2251f8cdac65bbcb7fc7c740b6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a14ec2dcc7e450f3921bf3c8eb195b5772727e2d56905d6637b5a7a86d246513"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ddcac9d1fdef07d332a0ec80c5db4e6a71336204b72f4c914d8f20e31d4b5048"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"63778fa624412affc09bbae17ed4e235deee47c1e8fbbd49594e08c2f223c987"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa596953be82a98fdd0e9590bc93e4f0ed562bdd60af15c8dc2de3a57c177747"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5ff3be18ad07bda8fbce7e62a57f9bd12e078ea01681ee0314680e82bd5bcdf"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50efe51a135c2cf9f44ad07764a7216bf8ffb0a556f17bbb27caa04b6c01e7f8"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d94d0182425e41fc3be3b93bc22edfc154abf39df2774eeaea26d4ece86b1fb"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41d199000fd3f9151884eca397e60b16f6dbb868cade97bfb490cc4c30128b2b"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdd768b792fcd00fed6bca4d1a2a5c1ca3edc0b8b7e6a1d04af35588c497d6b2"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"6aea613c159bb194c2e97b4c12b3721f031ccf7d42d5054a35fe9f6e860065ef"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32912a36a859d2ed37e1d2720144fa617a637ca8848e7cd0a8844e7dae5fa283"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"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":"a861b1ab2fd6ac5a0cbbd2d1eaeca38914dcada77f7a5d62bbdd015efb9e974e"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f156413d81b665270fe062680f10dcefca299cf201add203b2def9c98fd30ff0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"460b7c692a403088823d6f2ebc51c35299a58fae0672c3ffec55e360a1ba3acb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CInput\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Direct/DirectView.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fc24a75b1f0552daad984432bcf0dae054815a411519f1a390162a2a86659a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Settings/SettingsView.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"510658a2ee02af3bd0976dfcc2dd0570952eb2c286da01a0098e2d4913a5982c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Settings/SettingsView.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ab2445e66c8ec6eb6c426ce7b2ac4383783a081936a6aabbfbe45528f91b74"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/popup.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79e5fc08987714e5478cbda79fb9ddf44604a41df7e4622382e3af3e8197aed"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022root\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/popup.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdafc00077b95c9f2509f2bf03360f75a1147d56b05eeced9ee4f8cbd01627f7"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Csection role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/components/BottomSheet.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fcddf4bfe20ef390f491d4c8f10e797e759c20dd4701ddcf34884c4dd9c714"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/index.css"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dee575d952b9d9bab5e8d4f0eab538102651e3a4e20ad29f65fadee77f70f51"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 45 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 4007 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/test.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-local-browser.mjs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c25072bf191dc8300dfef017cbfeb8c3f498e4d19bcbaaec56398641d7fd87b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (187 matched lines \u00D7 2 locations): scripts/e2e-preparation-local.mjs:95 \u00B7 scripts/e2e-redirects-local.mjs:82 \u2014 the two spans are one implementation copied and then locally edited \u2014 1167 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-preparation-local.mjs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10e3041ff48358f573d927f1f3298f6f9cd196a09429e5fdf62352fe788c31f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (127 matched lines \u00D7 2 locations): src/popup/src/modules/Downloads/DownloadsView.tsx:49 \u00B7 src/popup/src/modules/Sniffer/SnifferView.tsx:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 583 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Downloads/DownloadsView.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0c9bc6b1c8acda95a665a36aa72189c5254a189a4e1e211d9ea0d2d7066b46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 3 locations): scripts/e2e-media-integrity-local.mjs:338 \u00B7 scripts/e2e-preparation-local.mjs:319 \u00B7 scripts/e2e-redirects-local.mjs:314 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8083f132677f651f4938bce9a0c63423a47972c26fb7d993a46e132f924f34ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): src/popup/src/modules/Playlist/PlaylistView.tsx:255 \u00B7 src/popup/src/modules/Playlist/PlaylistView.tsx:302 \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/popup/src/modules/Playlist/PlaylistView.tsx"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3894c4feffdd697fd070d06cb8bdf5c1e2872d7ffaa278808ba2dd285b19ed95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): scripts/e2e-mkv-local.mjs:18 \u00B7 scripts/e2e-network-local.mjs:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 251 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-mkv-local.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b44c1724e5149b2835547047665dcd9912c775ae2e262e4df7b3dabe96d4d8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/popup/src/modules/Settings/SettingsView.tsx:200 \u00B7 src/popup/src/modules/Settings/SettingsView.tsx:234 \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/popup/src/modules/Settings/SettingsView.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d257c4de59b423582e5be022422ac28486fa0f39875d7c44cf1921f68ec15f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): scripts/e2e-aes128-local.mjs:284 \u00B7 scripts/e2e-media-integrity-local.mjs:123 \u2014 the two spans are one implementation copied and then locally edited \u2014 174 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-aes128-local.mjs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54e6730a38c9e67739d6f561a2c5172e66c49dbabc5344bceda8ae753213122"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): scripts/e2e-media-integrity-local.mjs:29 \u00B7 scripts/e2e-preparation-local.mjs:97 \u00B7 scripts/e2e-redirects-local.mjs:84 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa711d128d69f1f6dd4d4094fb9868aec46400f2124bf47978e6ecddc35cec69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): scripts/e2e-media-integrity-local.mjs:388 \u00B7 scripts/e2e-playlists-local.mjs:317 \u00B7 scripts/e2e-preparation-local.mjs:381 \u00B7 scripts/e2e-redirects-local.mjs:368 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0009f3b1342a216b093eddf2c4b649502a6e71346bb04b008cd713253f26919"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4 locations): src/popup/src/modules/Job/JobView.tsx:604 \u00B7 src/popup/src/modules/Job/JobView.tsx:625 \u00B7 src/popup/src/modules/Job/JobView.tsx:646 \u00B7 src/popup/src/modules/Job/JobView.tsx:668 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c5a51dcfbfa3dd31397c2f27898ab461f097d9c542cd2c9132930190a8b1e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): scripts/e2e-firefox-local.mjs:289 \u00B7 scripts/e2e-local-browser.mjs:1028 \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":"scripts/e2e-firefox-local.mjs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bab80621af7a1d3c9fb920bf94eaee01b5b9c3ac2c477bccc9daf71d06a860"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): scripts/e2e-media-integrity-local.mjs:514 \u00B7 scripts/e2e-preparation-local.mjs:493 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f15df18a56062531b8f0e7467613b89a9834699263818de44da7dcd4de7030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): scripts/e2e-aes128-local.mjs:619 \u00B7 scripts/e2e-mkv-local.mjs:73 \u00B7 scripts/e2e-network-local.mjs:38 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-aes128-local.mjs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfda756c8a0725839748ead9feb70da98d3de865c4623db4e718853786b7828"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/popup/src/modules/Settings/SettingsController.ts:53 \u00B7 src/popup/src/modules/Settings/SettingsController.ts:90 \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/popup/src/modules/Settings/SettingsController.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"181406767f5f7455fdb8b17a9a3338c1857c088a94d6edb16e3576fd425dca9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/design-system/src/components/ui/select.tsx:33 \u00B7 src/design-system/src/components/ui/select.tsx:50 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/design-system/src/components/ui/select.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a5c00c3fc4a54e83a5800f80e354bb8504b5b91f2e2701425a93c575c94188"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/popup/src/modules/Navbar/RouterView.tsx:53 \u00B7 src/popup/src/modules/Navbar/RouterView.tsx:71 \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/popup/src/modules/Navbar/RouterView.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1852dd75f31f3ceec084c38792c99c53e40817cd80df072734a4544926ccfc2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/popup/src/modules/Playlist/PlaylistView.tsx:312 \u00B7 src/popup/src/modules/Playlist/PlaylistView.tsx:361 \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/popup/src/modules/Playlist/PlaylistView.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dcf3ebeb31cda58205ed07215557fcd05233d67416bc6e3eb6312668679c73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/e2e-bulk-local.mjs:297 \u00B7 scripts/e2e-preparation-local.mjs:421 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-bulk-local.mjs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1837dd5d34152233efecd7098f4bd8a349adfbf66a7bfeb9183c229662ced0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/e2e-local-browser.mjs:833 \u00B7 scripts/e2e-local-browser.mjs:922 \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":"scripts/e2e-local-browser.mjs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f20d4f8f81b0f703180e1bcc75f30b1c202b2707959c81e1740216cefbde31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): scripts/e2e-aes128-local.mjs:798 \u00B7 scripts/e2e-mkv-local.mjs:417 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-aes128-local.mjs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a352710633fab7913487aaaf81860797f4d2c9004a58417ac89bacbfa462666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/background/src/services/disk-backed-fs.ts:1324 \u00B7 src/background/src/services/disk-backed-fs.ts:1346 \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/background/src/services/disk-backed-fs.ts"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"328aff46f590db81e3bb22d98ebb77f8fe2e7c604a14b81166b4d84d109ec2a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/popup/src/modules/Direct/DirectController.ts:18 \u00B7 src/popup/src/modules/Sniffer/SnifferController.ts:52 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Direct/DirectController.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab6cae9e293c275e218f707156c349f358cfac39055f4d53e59735583731f1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/e2e-aes128-local.mjs:823 \u00B7 scripts/e2e-mkv-local.mjs:429 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-aes128-local.mjs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"535405e0c412c47ce1d61b6aa0a2abc6e98bce5b8a6dd18dcd65866bb19a6be6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/e2e-media-integrity-local.mjs:147 \u00B7 scripts/e2e-playlists-local.mjs:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1885bff1db3eaf318b67532c9eb748d82eaf2a9defc7f3d820c7d8c0a88095e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): scripts/e2e-network-local.mjs:126 \u00B7 scripts/e2e-playlists-local.mjs:169 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-network-local.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad755de8de5dd3fe296fa0955033975e80ae6edc0e5efc59076d515a99ecb06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): src/background/src/offscreen.ts:33 \u00B7 src/background/src/offscreen.ts:46 \u00B7 src/background/src/offscreen.ts:59 \u00B7 src/background/src/offscreen.ts:72 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/offscreen.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d1661b8b6f88332595db37ef665a3c49f46e4e04e4a576718fc1bd2ae41c02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/background/src/services/m3u8-parser.ts:139 \u00B7 src/background/src/services/m3u8-parser.ts:154 \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/background/src/services/m3u8-parser.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a13d79083fa41b4a4e3f07c4fde848067524193dfc6c5c03e1ffc2bdd6f0934"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/popup/src/modules/Downloads/DownloadsController.ts:13 \u00B7 src/popup/src/modules/Sniffer/SnifferController.ts:23 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Downloads/DownloadsController.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee6b5a0f69d3cde0ded28b974cf5b72bf5ad98bf8117452294b252058ff802b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/popup/src/modules/Settings/SettingsView.tsx:267 \u00B7 src/popup/src/modules/Settings/SettingsView.tsx:281 \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/popup/src/modules/Settings/SettingsView.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91a201c23d1b802cb607b739b7112d72644c4f93921be360a4f7e003c8a057d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/e2e-playlists-local.mjs:18 \u00B7 scripts/e2e-redirects-local.mjs:17 \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":"scripts/e2e-playlists-local.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"30239aaaa98679f077827f86fd42ce99e63626d157f1cd30eecde71e5e86aad6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/core/src/controllers/add-playlist-epic.ts:5 \u00B7 src/core/src/controllers/inc-download-status-epic.ts:5 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/controllers/add-playlist-epic.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba9719321a1581702f7075d90e3e176356c2540dde74925fc0187a74d0e9026"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/popup/src/modules/Settings/SettingsView.tsx:174 \u00B7 src/popup/src/modules/Settings/SettingsView.tsx:199 \u00B7 src/popup/src/modules/Settings/SettingsView.tsx:233 \u00B7 src/popup/src/modules/Settings/SettingsView.tsx:295 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Settings/SettingsView.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bfdef38f942d9be3c8c7a43e62a003c571d1191abdba428648036b5629e2ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/background/src/services/disk-backed-fs.ts:1364 \u00B7 src/background/src/services/disk-backed-fs.ts:1378 \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/background/src/services/disk-backed-fs.ts"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75afb990101df6f9af0e453994ab4654eca8e1b9f1754d27e6a554816ded494"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/background/src/services/opfs-storage.ts:126 \u00B7 src/background/src/services/opfs-storage.ts:162 \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/background/src/services/opfs-storage.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bdcd063a7b2e27baccc694bd8d9dda1ceda9a28d8126ad204b28362c500301"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/core/src/controllers/delete-job-epic.ts:9 \u00B7 src/core/src/controllers/save-as-job-epic.ts:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/controllers/delete-job-epic.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbb1134fba4af7f4d3f8f6254048fb6063f594b3b6037638ca2207729d14deb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/popup/src/modules/Playlist/PlaylistView.tsx:161 \u00B7 src/popup/src/modules/Playlist/PlaylistView.tsx:176 \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/popup/src/modules/Playlist/PlaylistView.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c71e4f63bcc05d2ecba6ac0ebf5e02963f40e9e7ee11d31776bdc9f5ccadf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/e2e-media-integrity-local.mjs:286 \u00B7 scripts/e2e-playlists-local.mjs:208 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6869aa846d8dbfda6d69d6200625656e738a70f8f30c0b5a39c903815bb8658"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/background/src/services/seekable-opfs-output.ts:16 \u00B7 src/background/src/services/seekable-opfs-output.ts:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/seekable-opfs-output.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"030e2d0c0139e1022234172f5fd24a45c609f6250426197ab559862d1ecf1f2c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): scripts/e2e-local-browser.mjs:718 \u00B7 scripts/e2e-local-browser.mjs:764 \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":"scripts/e2e-local-browser.mjs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5eafe0b29ecf8ad8f600648ef77ecb8716a74fc2c5cebae6d84af08b28c42e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/background/src/services/disk-backed-fs.ts:124 \u00B7 src/background/src/services/disk-mux-client.ts:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/disk-backed-fs.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e92515b73a6d5c40c13a9aab6ac1c0728539524c60eca6ffb6973029b104b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/core/src/store/slices/jobs-slice.ts:122 \u00B7 src/core/src/store/slices/jobs-slice.ts:136 \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/core/src/store/slices/jobs-slice.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"87caab3078b1fcc13d2db9fae16c10a5a516c61890a3cf65b3cccc8da98e21ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/design-system/src/components/ui/progress.tsx:4 \u00B7 src/design-system/src/components/ui/scroll-area.tsx:4 \u00B7 src/design-system/src/components/ui/select.tsx:11 \u00B7 src/design-system/src/components/ui/select.tsx:118 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/design-system/src/components/ui/progress.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eed1532450abb5a05b557715acec1018441d3e61911b21e13da917147c1247f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): scripts/e2e-firefox-local.mjs:24 \u00B7 scripts/e2e-mkv-local.mjs:36 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-firefox-local.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"710d8ebac7b6c48805b71d25e9548ebfd8ce2ce207899268f748c4ff2f0bfc48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): scripts/e2e-media-integrity-local.mjs:420 \u00B7 scripts/e2e-preparation-local.mjs:449 \u00B7 scripts/e2e-redirects-local.mjs:422 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"82016c67f4433add19bf9b9ffe8701c6c9af9bfc72fd63dd66e884e2d2077215"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 53, cognitive 125): main has cyclomatic complexity 53 and cognitive complexity 125; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-aes128-local.mjs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0d5f2360e044eb164b438b44b6c9907e16e10250e7632c1b5dcb20939c300b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serve (cyclomatic 47, cognitive 61): serve has cyclomatic complexity 47 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-redirects-local.mjs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f2b2d307e3ebb6c203c590477a91396610aa073d9fd63174dc9b069ff87064"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 46, cognitive 141): main has cyclomatic complexity 46 and cognitive complexity 141; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-playlists-local.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e23c4eb2609802d6be813bf5646d53f352cf452503b85478bdf8f29f37b96e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 41, cognitive 113): main has cyclomatic complexity 41 and cognitive complexity 113; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75829673ce849eab6d88fd7c65133e850fce3011a8b64c93b996f60648c478a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 40, cognitive 124): main has cyclomatic complexity 40 and cognitive complexity 124; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-preparation-local.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"178932c9a2224dfda2b571ee776cf37c1145e9e9fbe0008162d2595610508c38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JobView (cyclomatic 40, cognitive 39): JobView has cyclomatic complexity 40 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceabc3b7fd5f541d499ce6e17e250e2a957df0494e456b9e03af21b8f60669b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 39, cognitive 53): main has cyclomatic complexity 39 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-local-browser.mjs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c5b567e2d507e48bda6e240fabef0f2ce347cf2ee7460e8954b16ac618ad60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function JobDetailView (cyclomatic 38, cognitive 36): JobDetailView has cyclomatic complexity 38 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cf7ec1219b71e0b80b01a16e29c56185660083517c6676329a39ae551e2eb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 37, cognitive 101): main has cyclomatic complexity 37 and cognitive complexity 101; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-redirects-local.mjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8d460211efe97b63473281f3f2b4b094af3564dcbdd0edbcfa3f2e558e50fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 34, cognitive 75): main has cyclomatic complexity 34 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-network-local.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab84c250efb48bf08e132c3b80f1d0d54446a7f3c1c4b5c113b21ca854284d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 34, cognitive 53): main has cyclomatic complexity 34 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-mkv-local.mjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ee8b3f0428a21f79d5dc5553b177538f8f637a7d014627c7d13d5dfe52b2b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PlaylistModule (cyclomatic 32, cognitive 28): PlaylistModule has cyclomatic complexity 32 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Playlist/PlaylistModule.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cd1087750749d8a3a85a5463dc8947741f1c8e1ccb9adb5d0314eea47961ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 30, cognitive 51): main has cyclomatic complexity 30 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-firefox-local.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"235069e08fe953acdb4168a8c8c449a6236b96ddad4e8c6ec9deec47a3167f46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PlaylistView (cyclomatic 30, cognitive 37): PlaylistView has cyclomatic complexity 30 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Playlist/PlaylistView.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3c238b4ab5b651f7839b2f5b5f80842a25ec97e1431c9b3d8152aee0c0849c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildJobViewDerived (cyclomatic 28, cognitive 25): buildJobViewDerived has cyclomatic complexity 28 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobController.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"22694b6a23286c4b0109881ca0d932ba12714065d07f2f14745af5df30ecdc2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StorageSummary (cyclomatic 26, cognitive 23): StorageSummary has cyclomatic complexity 26 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Storage/StorageSummary.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8171d3f5fbcab389230a6ff75d37a403dbcbad3c1d395015c49968835512876a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 28): (anonymous) has cyclomatic complexity 24 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-preparation-local.mjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eeb5bb35c55b412838e5fc45ef1285899d3671c1996968b27faee6582bea63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 25): (anonymous) has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-network-local.mjs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"93df81fe24e691850591376b67e6b2a38d744520b447bc1fda0532fb2d9d6aa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SnifferView (cyclomatic 21, cognitive 16): SnifferView has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Sniffer/SnifferView.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3c87f8af3cc15af37f0e8881293b87729503eb13a26c8fa3cd36d8cd26a1b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PlaylistRow (cyclomatic 20, cognitive 19): PlaylistRow has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Sniffer/SnifferView.tsx"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2c6d501993844b6d14b888f2bc42c35a517136846e8b0fb6c716edc8cbcddf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/background/src/services/disk-backed-fs.ts: 1302 lines of code: src/background/src/services/disk-backed-fs.ts has 1302 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/disk-backed-fs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40314af4c4431758048a8de6ac82a73061992500d21c32f89fbece67ecc8c23e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/popup/src/modules/Job/JobView.tsx: 739 lines of code: src/popup/src/modules/Job/JobView.tsx has 739 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Job/JobView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ddf20c845693c4ee325d6b8295fff35f0aa11b6103bbf7b625ba09949700b9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/popup/src/modules/Playlist/PlaylistView.tsx: 457 lines of code: src/popup/src/modules/Playlist/PlaylistView.tsx has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Playlist/PlaylistView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ba1bcc581afaff018499238027c0819978ed15bea1aa6c8f22dc2a8920220e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/popup/src/modules/Sniffer/SnifferView.tsx: 438 lines of code: src/popup/src/modules/Sniffer/SnifferView.tsx has 438 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Sniffer/SnifferView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d16472ee03d6a6f676d5d00ab2c1b6fdb1ab5e751354832418802867d28cf3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-local-browser.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a247475dc5a889375dedca90334d4fda2978fd87532c966c22dcb6f6f496ab"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-aes128-local.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dcfe68b4b74cdec79f921537c626b46dc80806657c5ee4cd9c10d89c0b0764"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"599dbb42d8ac89df3a7f458993fb6239e638616877303bbf15b8ba38a5933e44"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-bulk-local.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f80d2d1a5fad3a18503e7651959ec01bcf5bc6537400ede289832f105e1bde2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-preparation-local.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ddfdd8eecc88de1366578d4b302d9d600a11942c6f6c68d492af54741d296d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-redirects-local.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb0780585a901081222a46b3d04a101be1ffda527dc220bd50420646801a09b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-network-local.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deae87be4597f0f57855c5fa1ba75d1bbd8dbe9cd4615abe2abb5b50f1abb18d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-playlists-local.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f124993386f19e93eb319a1400d4f75782c19915432222476845727f74a8aa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-mkv-local.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5768a0d173a3aba0a10dcf6353cab1997b574c6819654806d932280993bb821b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-firefox-local.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"265176a72ab678cfd78b75e524fc86d987e78417c961773ce1e6d3e343eb0801"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/publish-firefox.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a15eaec091ecc57532eb72e6adfa7e099bb67421636f5d134e381cceb36348e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Direct/DirectController.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfa2e7dd4d531c9260210668fa6183fc3e4f11c83f110c534c6d1fcc1b448aa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/build-variant.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7108b5ee5996497f58b5dabfa93b832aca2ae5ac292a1fde03728c253323fd13"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/copy-assets.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6a2a060468c6fb395d3f7c4ad42696f273c4eac848af95586eafa929864286"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed18a18203b3523c17158e4eb3f1655e7ac300e0e490e5c17a4cb3b1edf6855"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-job-faults.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15de4abb951519833dfa50f9c404a8c558ab6bad9de9820352dda12a6db428c0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdefac68cb62298cf31410db870ae2eccbf8fc6ed52c0c3e462d33a6326d6f2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2864cc141785234d7097ac728f378ec5bad84e19f3e0dcde07b9f453220909d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/coverage-report.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a37dbae04f7523ea5cf4983681784d9aa4c02000acfa85483e45499baa5dd5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/listeners/setTabListener.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"797545d53d87ba59e86992048616d18aa339ef83d898cf06de00aabaced7cd00"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/src/modules/Navbar/RouterModule.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe446fd7d2c8579ef71dd948991f1361ee70479e0540edf96b7221b7e8a5e4b5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/coverage-badge.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81392a6f2f393b9e4b86f0220f3882d3f595be083417f485d68ea18d35d6583d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/listeners/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7217376918c41c56e1fe6f26a8f7243185603b9bf337389c740c49449ff81dbc"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \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":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~63 LoC): no import path from any entry point (22 application, 27 tooling, 87 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/popup/src/modules/Direct/DirectController.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"830eab72d34fb57f8da94a580c12542e0b7548cbe8054c6f3b82344664fd36b5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027LevelStatus\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in src/core/src/entities/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in src/core/src/entities/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/entities/level-status.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2a32e70dcc8ce12d2205fce27dd3832832dc4a1c62dabf61a9c0a58e30110d"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@typescript/native\u0027: Declared in src/background/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":"ff1fd10356d2c576469e9e63a3037dedffbc3d6bab590f26873912235f9539b8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@typescript/native\u0027: Declared in src/core/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":"953bac8cb205137c137e177de230b2f535de69fcb1104e379cd6e68f3004b024"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@typescript/native\u0027: Declared in src/popup/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":"532feed4428bc3678834f8db2f5231fb0d632b58edeecff92a70fe1a558a8480"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/core/src/services/dependencies.ts \u2192 src/core/src/services/index.ts \u2192 src/core/src/services/dependencies.ts"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/services/dependencies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e795170f2772c9f82ff3cc7d1eef94276bc6fea03aa9b977eda8e1e4ba2990b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!baselineOnly \u0026\u0026 process.env.E2E_SKIP_BUILD !== \u00221\u0022\u0060 appears character-identically in 5 files \u2014 scripts/e2e-media-integrity-local.mjs, scripts/e2e-network-local.mjs, scripts/e2e-playlists-local.mjs, scripts/e2e-preparation-local.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de0423fd42dfd0d5b93c35e74f7c4b73a6533eba5bf7ad5aac68eb59b009918"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!selected || selected.includes(test.name)) \u0026\u0026 (build !== \u0022baseline\u0022 || (test.baseline \u0026\u0026 process.env.E2E_SKIP_BASELINE !== \u00221\u0022))\u0060 appears character-identically in 3 files \u2014 scripts/e2e-media-integrity-local.mjs, scripts/e2e-preparation-local.mjs, scripts/e2e-redirects-local.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03230a712475ca44d6c39706c8c29ab801958b0b47cfcdec1466b77dcda16e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status?.status === \u0022downloading\u0022 || status?.status === \u0022preparing\u0022\u0060 appears character-identically in 2 files \u2014 src/core/src/controllers/download-queue-epic.ts, src/popup/src/modules/Job/JobController.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core/src/controllers/download-queue-epic.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"226e19bc3d6b8474310589afba7527e470e5b95eb74f74f7573fdbcf6bdd36d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060test.subtitles || test.container === \u0022mkv\u0022\u0060 appears character-identically in 3 files \u2014 scripts/e2e-media-integrity-local.mjs, scripts/e2e-preparation-local.mjs, scripts/e2e-redirects-local.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/e2e-media-integrity-local.mjs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f8200fc399527159c6aa0597b6dccf7770757dc75d6268146769c3e0581d0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/workers/disk-mux-worker.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f90a513527a222b956a99a885d1e1af6b282b0cd8ad229932d3f5ccbb9922d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/workers/disk-mux-worker.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d627abdfed3fb3ba70d11c897219e45fed0b2717c34d8e90fffdf3b59c92853c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/disk-backed-fs.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"31db4b1539302a9eb79d0dc6af8bf6382bfb7b6c32821f1921e56f9ce198fa41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/disk-backed-fs.ts"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dc722543c7d3f18c5676272fb48bd998241eed199a82c8fc5279ac6baa13c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/ffmpeg-muxer.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2049e3d366781f5aadd92e79874b45f4f0a95d98bb503cf74991b46d3e26e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/opfs-storage.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"92339a8506b3f1d1375f9c42a906ad23234bb3510a037a91ab04d4adacdde355"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 3/4 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) reduce the strict null checking score: ~2.1 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 27 assertion(s) across the 12895 source line(s) of the 160 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: src/popup/src/modules/Job/JobView.tsx (4), src/background/src/services/disk-backed-fs.ts (3), src/core/src/store/slices/playlists-slice.ts (3). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"edb251d0f8dd1deb75ff6fa12d145c3d5c948a70b0aaf8da052107c857335979"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060estimateSubtitlesBytes\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/src/services/disk-backed-fs.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8995a6c430c1dff2b865f6c9be56fa50e3355af3ab5544dc8d035b5f04bd08a"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":26,"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."]}]}