{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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":"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"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":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","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-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"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":"DreamSkinCopy.text (cyclomatic 259): DreamSkinCopy.text has cyclomatic complexity 259 (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":"macos/menubar-app/Sources/DreamSkinCore/Localization.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c013651395938cb400162d3810a4f9124cbc0409aa796baee7c6b3c7d2bd0a0"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.runWatch (cyclomatic 71): injector.runWatch has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (injector.runWatch::refreshPayload) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b903c2f876a7c9fbcd61f4e6873e016803852e37db1b841ecb5caaf2177646"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.runWatch (cyclomatic 60): injector.runWatch has cyclomatic complexity 60 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"54939e7da93d80d8cd5fb71a086cb1452e25ebd5c5993964c80030d2c5d5de6a"}},{"ruleId":"D1","level":"warning","message":{"text":"applyTheme (cyclomatic 60): applyTheme has cyclomatic complexity 60 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70264db4c1afca8c18fecb0b70b1c9ef8d2ce192185cb5e767be61d1bd2d84"}},{"ruleId":"D1","level":"warning","message":{"text":"applyTheme (cyclomatic 60): applyTheme has cyclomatic complexity 60 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aecfde2492fb61ba7dccc2eec1e90eabc354d69693df38247d9cdc7d5a0ea7e"}},{"ruleId":"D1","level":"warning","message":{"text":"applyTheme (cyclomatic 60): applyTheme has cyclomatic complexity 60 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1f6564f505645e8b1bfe39ef4ab96cae2b5894a403d5e4ee2defb084a47826"}},{"ruleId":"D1","level":"warning","message":{"text":"publish-theme-import.main (cyclomatic 59): publish-theme-import.main has cyclomatic complexity 59 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 5 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":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"306abd4872256a1d6fc803510b22e346b45aaf8cd98274a870849f67780c3e9a"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.loadTheme (cyclomatic 48): injector.loadTheme has cyclomatic complexity 48 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 8 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":"macos/scripts/injector.mjs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf78d11e83490fdebdf66cbca6b138add78999a7369b76fe41b64693bb919ca"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.assessRendererVerification (cyclomatic 43): injector.assessRendererVerification has cyclomatic complexity 43 (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":"macos/scripts/injector.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db3603334778abf3a4c7d90ea508b5aa4eca9e83135e5654c3cd1249d3dfbef"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.parseArgs (cyclomatic 43): injector.parseArgs has cyclomatic complexity 43 (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":"windows/scripts/injector.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e00a7c3ecd28c45d69e137357e0f9e5b11e6158e28a961f1ddb71bbac749c4"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.runOneShot (cyclomatic 42): injector.runOneShot has cyclomatic complexity 42 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"e702b3b6c117e150deca11151167474d41494782e03b7ec89510da510768ec15"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 41): (anonymous) has cyclomatic complexity 41 (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":"runtime/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b61316605983efcbaa680fcba8211a3e2ebe4e815ac28ceb83ae763b6194d4"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 41): (anonymous) has cyclomatic complexity 41 (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":"macos/assets/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8551a7ed69d9b6a6c7bfdb1037c8863ca77e01fc63e7475819827834dfd45852"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 41): (anonymous) has cyclomatic complexity 41 (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":"windows/assets/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"113411e5d6cd65ffd69e18a2080c165f6bebf8573cf09aa9da5ec51ddae12192"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.runOneShot (cyclomatic 37): injector.runOneShot has cyclomatic complexity 37 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"186bb734ad4cfb9687fc2a87dab31cb49b6afab49eaf6806e0bc70259ed4d28b"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.parseDeclarations (cyclomatic 36): Parser.parseDeclarations has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"952155c5311e17bde62fe1dfbb71e0f8de9d53599f194e4c80b11502ccc64316"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.parseArgs (cyclomatic 36): injector.parseArgs has cyclomatic complexity 36 (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":"macos/scripts/injector.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b982bd0025f7082e6bcc9c8651887949a22a36cf49e9ea6977cdb60cca89c322"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.parseDeclarations (cyclomatic 36): Parser.parseDeclarations has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca05c49f472240e14e2406281f621e6413e048e263ae3c31eaeb3e99d1651dca"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.parseDeclarations (cyclomatic 36): Parser.parseDeclarations has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec537d3245b02922a981cb9e2671d11014632da1e50b8aaa47ba64de80e7f235"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzeArt::(anonymous)::onload (cyclomatic 34): analyzeArt::(anonymous)::onload has cyclomatic complexity 34 (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":"runtime/renderer-inject.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"005efb47226ee6df19f93dc3d3de23e45e2714111685d6e22ea31d2015e7b67d"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzeArt::(anonymous)::onload (cyclomatic 34): analyzeArt::(anonymous)::onload has cyclomatic complexity 34 (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":"macos/assets/renderer-inject.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b95a3ef9e3a120835d61a0cf287707c54d8a02f494d87c339c59f3f85fa6bf"}},{"ruleId":"D1","level":"warning","message":{"text":"analyzeArt::(anonymous)::onload (cyclomatic 34): analyzeArt::(anonymous)::onload has cyclomatic complexity 34 (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":"windows/assets/renderer-inject.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd2fdc6191adc06d94fc9e9cdbc06da17bb072ba2101c188b1e4da292837e19"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.Main (cyclomatic 29): Program.Main has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/theme-manager/NativeTests/Program.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dc5f164a93db99346e2c2d404cbc331eaa4e9233a21c809e9a5783acc1e3d4"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.loadTheme (cyclomatic 28): injector.loadTheme has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c95999e853079157557cb3091453cfafbf9213465c11ed946f595da7f2815c7"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer-inject.cleanup (cyclomatic 27): renderer-inject.cleanup has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: renderer-inject.analyzeArt (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"e137417f311e41c98a097095a27af610f79d71538b8169b5d4d3ac2df085ca2e"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer-inject.cleanup (cyclomatic 27): renderer-inject.cleanup has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: renderer-inject.analyzeArt (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"e148a8805a08ee6791d1313092ff49f78094e04b79ddc92572e39bfde63dcdf4"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer-inject.cleanup (cyclomatic 27): renderer-inject.cleanup has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: renderer-inject.analyzeArt (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fc61437c15eeeb4a29742679eeb0f8f265a9cf3363d6c80beea682c61bae09"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.performThemeImport (cyclomatic 26): AppDelegate.performThemeImport has cyclomatic complexity 26 (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":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca5ad2666585c54f753176e4d2bac37b82a2e06cb1979631f900772aab02df5"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.captureActiveThemeThenApplyImported (cyclomatic 25): AppDelegate.captureActiveThemeThenApplyImported has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa88c5272533fd3179188e1341ceb803fadee4fc1ef7ef88d4d0e1c4f2c2f20"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-package-validator.validateManifest (cyclomatic 24): theme-package-validator.validateManifest has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"360baf61c934fc091fc996086c56eec7aed93fe180134d8ef7a1b5d018415f53"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-package-validator.validateManifest (cyclomatic 24): theme-package-validator.validateManifest has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-package-validator.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"802bd350ee2d1a1788e5eb7b5f7ac6cf4f43e8bf70b82d1eb01c0532801f4ba8"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-package-validator.validateManifest (cyclomatic 24): theme-package-validator.validateManifest has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"590dfe28009ba1662e216d7c35b33037ce354c0d5474744c5c31d78e288e2b79"}},{"ruleId":"D1","level":"warning","message":{"text":"SavedThemeDeletion.moveToTrash (cyclomatic 22): SavedThemeDeletion.moveToTrash has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/DreamSkinCore/SavedThemeDeletion.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc212e74c1969bfb987c1b02e5ec16a817b64f6ff61b3b67f9343e2436474a96"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-package-validator.validateOfficialTheme (cyclomatic 21): theme-package-validator.validateOfficialTheme has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"47758d5c3481eee0cb896c44d816479469546babfbe30d8715b3b58d5ab9872a"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-package-validator.validateOfficialTheme (cyclomatic 21): theme-package-validator.validateOfficialTheme has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-package-validator.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"442bba15275468e667d476166318db2481853d75a5f5d1ec25d1f872428b0e78"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-package-validator.validateOfficialTheme (cyclomatic 21): theme-package-validator.validateOfficialTheme has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e2cee02411d5b33a5b553b764ddfb9ef835a3c96b674c32a7d65eba06538a8"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.compileRuntimeCss (cyclomatic 20): safe-css-validator.compileRuntimeCss has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca621fabf035365f78a2f442e8da998794050fe53dd8c1c954a4f04ee886f29"}},{"ruleId":"D1","level":"warning","message":{"text":"image-metadata.jpegDimensions (cyclomatic 20): image-metadata.jpegDimensions has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/image-metadata.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68fc9902de1bed961c1f4d12e723a81b2b78f55b7c19c109247b43152e2763a"}},{"ruleId":"D1","level":"warning","message":{"text":"image-metadata.jpegDimensions (cyclomatic 20): image-metadata.jpegDimensions has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/image-metadata.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ca8f31cf3324f6b6481867217735a3ed89b6d7bf4b51a075937699bca723df"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.compileRuntimeCss (cyclomatic 20): safe-css-validator.compileRuntimeCss has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"8512c68c10651ea934d36a3500078f36a28ae32eb92deb69580117c9f5452c9b"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.compileRuntimeCss (cyclomatic 20): safe-css-validator.compileRuntimeCss has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b6f23665e36070c3dc505e6349e69a1331294030259c25dd90f2c1b09105a5"}},{"ruleId":"D1","level":"warning","message":{"text":"image-metadata.jpegDimensions (cyclomatic 20): image-metadata.jpegDimensions has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/image-metadata.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3ad4720bddb1d9373a44744107b69a4c0c98fb999908e770d1edbbebed4ded"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.rebuildMenu (cyclomatic 20): AppDelegate.rebuildMenu has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb8eb626c6e77db57a4f995719c0ecc29a7263883efc9a66831a059cf5bdb08"}},{"ruleId":"D1","level":"warning","message":{"text":"applyArtMetadata (cyclomatic 20): applyArtMetadata has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b854091278a59abfddac10426a99f23a3f8c8f6e1bbfc58f7066d8fc266a0b2"}},{"ruleId":"D1","level":"warning","message":{"text":"applyArtMetadata (cyclomatic 20): applyArtMetadata has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7141e4ef792e75f9265ca0ba1145a51b2c6032b9ca9cea34e42fb5a0619fb95e"}},{"ruleId":"D1","level":"warning","message":{"text":"applyArtMetadata (cyclomatic 20): applyArtMetadata has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b187a4805f8deaf6364488ce573a34e928332d5084b9e90a3e2a4a125945ac"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.validatePropertyValue (cyclomatic 19): safe-css-validator.validatePropertyValue has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"165b59fc8f59c5ee52d40c7b3f0f6486e3ef3e053883653ca5da40001db129e6"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-config.main (cyclomatic 19): theme-config.main has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb1338c6bef0a7c1abffc2422b5c96145f7c5b4c2b21afa81e5f240d410ecda"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.validatePropertyValue (cyclomatic 19): safe-css-validator.validatePropertyValue has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c31ed8632e83319027de5ac1bb532efc848d6b335c339b148343144d85c4d0"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.validatePropertyValue (cyclomatic 19): safe-css-validator.validatePropertyValue has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4b956c9ba0d5b5b352cfd0f0e86e28efa8a021f97e12e40da57a08f11c0825"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.deleteSavedTheme (cyclomatic 19): AppDelegate.deleteSavedTheme has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5795a5d1262965a10662567ee05cb28c1c4d9878cbf1613327902fe3a68675"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-preferences.readThemeTransparency (cyclomatic 18): theme-preferences.readThemeTransparency has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7171dbc2a2fd7434a53af32181674ac5a96729b2fa280d2175baa8b5f6a71dd7"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.runWatch::refreshPayload (cyclomatic 18): injector.runWatch::refreshPayload 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. This shape REPEATS in the file: one other method here (injector.runWatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edee98f566d744657f78d03f8667b9cbb656c6dee7b6fbbf29d614399b5937f"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-preferences.readThemeTransparency (cyclomatic 18): theme-preferences.readThemeTransparency has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"259231ff86228c2568de9c8175af5fbbe37483de7d4e02ff26fefb7ac8fc9ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-preferences.readThemeTransparency (cyclomatic 18): theme-preferences.readThemeTransparency has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8ef201f905e69720398d2d12873b68ec568fb3aa2b804e268e9edeef84d861"}},{"ruleId":"D1","level":"warning","message":{"text":"validateTimestamp (cyclomatic 18): validateTimestamp has cyclomatic complexity 18 (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":"runtime/theme-package-validator.mjs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7481505bbdd26e50fcd2e4eb439e8f64fae9e4bcb5c5d206c1f37291631c92"}},{"ruleId":"D1","level":"warning","message":{"text":"validateTimestamp (cyclomatic 18): validateTimestamp has cyclomatic complexity 18 (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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"429bef3aad4182b396c99684f4a31591702edbe7a38c7ebba299c9a14c8d2ca9"}},{"ruleId":"D1","level":"warning","message":{"text":"validateTimestamp (cyclomatic 18): validateTimestamp has cyclomatic complexity 18 (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":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c92765370906fe2ba276506dca1db61bfab0a88f055bc53efbcda87db614338"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer-inject.fallbackComposerNodes (cyclomatic 17): renderer-inject.fallbackComposerNodes has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 753). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: renderer-inject.analyzeArt (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6129729c98b20fb99aef086fa534011e18f91469bc7c04bd544ee2b275fb5a"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.shadowValue (cyclomatic 17): safe-css-validator.shadowValue has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 224). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d7fa48583630a670b411edd7b99e19eac9a2bdfb787d68c1930eb328f255a2"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.backdropFilterValue (cyclomatic 17): safe-css-validator.backdropFilterValue has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c2bb097ce0950a990fa8eff4cab2dcfe4a98406628de496f48e65facab5428"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer-inject.fallbackComposerNodes (cyclomatic 17): renderer-inject.fallbackComposerNodes has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 753). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: renderer-inject.analyzeArt (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a6af5d0b77cba6bbcccb0499d01fe830b6f188de44f92cbc86e2d7734a21de"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.shadowValue (cyclomatic 17): safe-css-validator.shadowValue has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 224). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8401635fc00cb0e0b1433274c9d3b0b7165d0d870bfdd847454bedbf4455867c"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.backdropFilterValue (cyclomatic 17): safe-css-validator.backdropFilterValue has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c38c128638a6eab5b783ad841efa92a9e61e6579d8bacbb7a864ff4a86147ef"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer-inject.fallbackComposerNodes (cyclomatic 17): renderer-inject.fallbackComposerNodes has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 753). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: renderer-inject.analyzeArt (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9d8a44620f52d1b876ab726f9e3e83ca7157e8122cb535c17b65a73642556a"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.shadowValue (cyclomatic 17): safe-css-validator.shadowValue has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 224). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"954f65cf6558015f4b9bbebe2eb692c144517373615bd67cc7af6321c82251f7"}},{"ruleId":"D1","level":"warning","message":{"text":"safe-css-validator.backdropFilterValue (cyclomatic 17): safe-css-validator.backdropFilterValue has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d830b37a25d43bf883829f6a65210abb16ec172874b53a33aee4c648dcec0778"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.installBundledEngineIfNeeded (cyclomatic 17): AppDelegate.installBundledEngineIfNeeded has cyclomatic complexity 17 (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":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"07508b8bc0d5bf72c51d24f7f63234dc846f269b7b94d9330471bf45720ead9f"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer-inject.detectScope (cyclomatic 16): renderer-inject.detectScope has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: renderer-inject.analyzeArt (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6862dcfefe06763dae3fd5ed8429e22478e9f9049968d40774d48462a17ad5"}},{"ruleId":"D1","level":"warning","message":{"text":"image-metadata.webpDimensions (cyclomatic 16): image-metadata.webpDimensions has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/image-metadata.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86ad0c66d76e5eca268ecb073a881735b656f27c29a1c919c86ed416cd28db7"}},{"ruleId":"D1","level":"warning","message":{"text":"theme-config.acquireConfigLock (cyclomatic 16): theme-config.acquireConfigLock has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d470d4d20d702e87d000bdf4ad2803342d2b16df5bd6220d8da1eefc07b909e"}},{"ruleId":"D1","level":"warning","message":{"text":"image-metadata.webpDimensions (cyclomatic 16): image-metadata.webpDimensions has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/image-metadata.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49e440c70118f2c8077e188c1e44446234036106bbad3bc3bc0d4404142220e"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer-inject.detectScope (cyclomatic 16): renderer-inject.detectScope has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: renderer-inject.analyzeArt (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bd1a7ab3d7cc28aab642d55559de211a6104973baf02d1581069a7a477d46b"}},{"ruleId":"D1","level":"warning","message":{"text":"renderer-inject.detectScope (cyclomatic 16): renderer-inject.detectScope has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: renderer-inject.analyzeArt (cyclomatic 49) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e117f9ba44c612a3cc6430db03545401978159f75c2e70226f19e0fc1d6326"}},{"ruleId":"D1","level":"warning","message":{"text":"image-metadata.webpDimensions (cyclomatic 16): image-metadata.webpDimensions has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/image-metadata.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cae51dc30e6fca98b2846f474a83d40194439536dbdd84d6df0e950dde2623"}},{"ruleId":"D1","level":"warning","message":{"text":"injector.inspectTargetWindow (cyclomatic 16): injector.inspectTargetWindow 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":"windows/scripts/injector.mjs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dab30f114373ca4b1cc7e006d6333cb4f69c55bb250e701276af0ab2c55d9f4"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeTransparency.swift.authoredThemeTransparency (cyclomatic 16): ThemeTransparency.swift.authoredThemeTransparency has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/DreamSkinCore/ThemeTransparency.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd11e6afcf02cde6cc23d61b36b8c031aaffdb6af6336aad72b6abfba093884"}},{"ruleId":"D2","level":"warning","message":{"text":"DreamSkinCopy.text (cognitive 257): DreamSkinCopy.text has cognitive complexity 257 (threshold 15). Drivers by points: ternaries 128 (256 pts), match/switch 1 (nesting depth added 128). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/DreamSkinCore/Localization.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"02936516c779faa589bfeb7a6ef9e548aa303aeeedb16abc8f2c45c42ae98936"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.runWatch (cognitive 150): injector.runWatch has cognitive complexity 150 (threshold 15). Drivers by points: if/else 36 (99 pts), error handling 7 (25 pts), boolean chains 11, loops 6 (11 pts), ternaries 2 (4 pts) (nesting depth added 88). Of this number, 143 points are the body\u0027s own statements and 7 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"572085ceca370526ce2083406dfba0d3d0270e6a39b38405015553875c93cf1a"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.runWatch (cognitive 145): injector.runWatch has cognitive complexity 145 (threshold 15). Drivers by points: if/else 62 (145 pts), boolean chains 35, ternaries 11 (26 pts), error handling 6 (13 pts), loops 7 (9 pts) (nesting depth added 107). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (injector.runWatch::refreshPayload) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8613a428aa12e3ca5d92791f29985a855e1e9ed16ba794d1e2105ad279a89da"}},{"ruleId":"D2","level":"warning","message":{"text":"publish-theme-import.main (cognitive 91): publish-theme-import.main has cognitive complexity 91 (threshold 15). Drivers by points: if/else 34 (60 pts), error handling 6 (14 pts), boolean chains 9, loops 3 (4 pts), ternaries 3 (4 pts) (nesting depth added 36). Of this number, 88 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb939e521e251a8aa637a946bf0bc8626ed5060ea4db06960d8904de75fd612d"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.runOneShot (cognitive 78): injector.runOneShot has cognitive complexity 78 (threshold 15). Drivers by points: ternaries 12 (34 pts), if/else 14 (31 pts), boolean chains 6, loops 3 (4 pts), error handling 2 (3 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"99182bcaef37e20e0c60f0e4a44b2dee4cfe19d64bfd7d875a4976b69ebe8b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.runOneShot (cognitive 70): injector.runOneShot has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 11 (31 pts), if/else 13 (28 pts), boolean chains 5, error handling 2 (3 pts), loops 2 (3 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea8860014a30dc0b43ce81d8bb79ea34c73b96e37e183da25c56199914a7e53"}},{"ruleId":"D2","level":"warning","message":{"text":"applyTheme (cognitive 61): applyTheme has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 21, if/else 14 (19 pts), ternaries 10, loops 5 (6 pts), other 5 (nesting depth added 6). Of this number, 53 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1342c1c2e2b58f3bcf8e56c0eff05c0e4f2f7e71c6e25866e2ce3fe0239c2be"}},{"ruleId":"D2","level":"warning","message":{"text":"applyTheme (cognitive 61): applyTheme has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 21, if/else 14 (19 pts), ternaries 10, loops 5 (6 pts), other 5 (nesting depth added 6). Of this number, 53 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"367e36780341f07ee11fc64274625453e2d128eb2facee4a3d96e6c542a02bf2"}},{"ruleId":"D2","level":"warning","message":{"text":"applyTheme (cognitive 61): applyTheme has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 21, if/else 14 (19 pts), ternaries 10, loops 5 (6 pts), other 5 (nesting depth added 6). Of this number, 53 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72998be7a600caf9794b437fd11cc20aa6ba71fa8cae385178b8658faa66f15"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseDeclarations (cognitive 52): Parser.parseDeclarations has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de3f8bf7c86d3121ea92ce0d4999fff48ad7fc96885c4f7c3d0abf6314c00cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseDeclarations (cognitive 52): Parser.parseDeclarations has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed207917d43506c290f03d52c6dfdeb19bd8cd32d4f4a2f4d29007c38ef07cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseDeclarations (cognitive 52): Parser.parseDeclarations has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80a087dac528178773dfd7968923f9673ed274db6b6c1c57452fd85c52e4d45"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzeArt::(anonymous)::onload (cognitive 48): analyzeArt::(anonymous)::onload has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 15 (23 pts), if/else 10 (16 pts), loops 4 (6 pts), boolean chains 2, error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5465abd58be106d3d1440b5d00f651defd3ff8d8a671582ec3cf5d7a70910b8"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzeArt::(anonymous)::onload (cognitive 48): analyzeArt::(anonymous)::onload has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 15 (23 pts), if/else 10 (16 pts), loops 4 (6 pts), boolean chains 2, error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bb1b91e5fd397c6ea9178bc30678463d004b5dcd6f0bcaa5bd8d55993c0dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzeArt::(anonymous)::onload (cognitive 48): analyzeArt::(anonymous)::onload has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 15 (23 pts), if/else 10 (16 pts), loops 4 (6 pts), boolean chains 2, error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a5350e4df416fb17e50e579b1ee8d3f6e2c5c055025affec9cabfee329a2c0"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.parseArgs (cognitive 47): injector.parseArgs has cognitive complexity 47 (threshold 15). Drivers by points: if/else 33 (40 pts), boolean chains 6, loops 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f331f0644b8be5eccf8ac43e470fb7c577e90435d8afb2f2c6b906d63f796d4a"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.loadTheme (cognitive 42): injector.loadTheme has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 12, error handling 4, ternaries 4 (nesting depth added 4). Of this number, 36 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"9162501c28823fdd073ad3bf3eae58d59ddd6a6818dd16ebf1c35919c822f353"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-css-validator.compileRuntimeCss (cognitive 40): safe-css-validator.compileRuntimeCss has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 5 (9 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb5457ab074de5e78a5a8ff05707504bf30cc79cb39617e35f27e0ef7e8648d"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-css-validator.compileRuntimeCss (cognitive 40): safe-css-validator.compileRuntimeCss has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 5 (9 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e36330cf9109bc29033d12c0efbe092941599176f2920c794fd55c10addaa4a"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-css-validator.compileRuntimeCss (cognitive 40): safe-css-validator.compileRuntimeCss has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 5 (9 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f212cd00e1b3cb22a9a1bd3ade02fa52fb7f52de18b8b1ad68ca726bf3a1aa38"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-config.acquireConfigLock (cognitive 39): theme-config.acquireConfigLock has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (23 pts), error handling 3 (11 pts), boolean chains 4, loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfbfbc02e1ca19d9ff538dcdcdd58c3ca9cfe0638f72d5eece4253153238c68"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 38): (anonymous) has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (10 pts), ternaries 10, error handling 2, loops 1, other 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f770f98ac3996d5d17014ba8cbf543bc8108047c0fdc0c8fed0746c9e0b60d05"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 38): (anonymous) has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (10 pts), ternaries 10, error handling 2, loops 1, other 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fccbac8c6c88ec627050756682d77f086109b3d2304b96cf69c5429e8ff24e3"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 38): (anonymous) has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (10 pts), ternaries 10, error handling 2, loops 1, other 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"952f4480757d7bf4678a2bfef846ee1f3c9002211d3d8d7da476cd1752edacca"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.parseArgs (cognitive 37): injector.parseArgs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 27 (31 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c020cc5c7743f50b00e638d6320db4719ee47ffcbb35b8b2d0432f333abcab6"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.captureActiveThemeThenApplyImported (cognitive 37): AppDelegate.captureActiveThemeThenApplyImported has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 10 (22 pts), if/else 6 (7 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd8c6bdf9b3ae0ced624e89645326c825c14a224b3242052345c4985f5a186c"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer-inject.cleanup (cognitive 31): renderer-inject.cleanup has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6, error handling 3 (6 pts), loops 4 (nesting depth added 5). 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":"macos/assets/renderer-inject.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf62c04007b411d0327a1295b1ec5174b05b8592fe0dde28efdd92383bd9e82"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer-inject.cleanup (cognitive 31): renderer-inject.cleanup has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6, error handling 3 (6 pts), loops 4 (nesting depth added 5). 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":"runtime/renderer-inject.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d4812629b61bc8984adbf15a378278433aca27a0aa4d7e38841ca5b2b4b1bc"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer-inject.cleanup (cognitive 31): renderer-inject.cleanup has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6, error handling 3 (6 pts), loops 4 (nesting depth added 5). 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":"windows/assets/renderer-inject.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"e571dc0e27dce368dadb5dcceda4a638fdc5f025e66a4af31db90b62f6d07daa"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer-inject.fallbackComposerNodes (cognitive 30): renderer-inject.fallbackComposerNodes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 8, loops 2 (5 pts), ternaries 1 (nesting depth added 14). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to one function literal inside it that branches (line 753). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc59fefe2eb62de71df0d3a7e51870bc7b14f9c40bf5af5b64fff83b82f9583"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer-inject.fallbackComposerNodes (cognitive 30): renderer-inject.fallbackComposerNodes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 8, loops 2 (5 pts), ternaries 1 (nesting depth added 14). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to one function literal inside it that branches (line 753). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac8242bd237c19f8f20f67e0e62e8c22e96a078b0ce710a1b31df114aa73b2b"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer-inject.fallbackComposerNodes (cognitive 30): renderer-inject.fallbackComposerNodes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 8, loops 2 (5 pts), ternaries 1 (nesting depth added 14). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to one function literal inside it that branches (line 753). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eb9eb077def30d1138aa920e164b510545805a2856280c0dbbacbca3109651"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer-inject.refreshPredicates (cognitive 29): renderer-inject.refreshPredicates has cognitive complexity 29 (threshold 15). Drivers by points: loops 7 (18 pts), if/else 5 (9 pts), boolean chains 2 (nesting depth added 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 874, 893). 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":"macos/assets/renderer-inject.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0156ae1f1a788d9a35c924559db30fa88fa6e2a71c0d02abf6b3c6bddb32d1"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer-inject.refreshPredicates (cognitive 29): renderer-inject.refreshPredicates has cognitive complexity 29 (threshold 15). Drivers by points: loops 7 (18 pts), if/else 5 (9 pts), boolean chains 2 (nesting depth added 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 874, 893). 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":"runtime/renderer-inject.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f59c99940a74641d4fe1e77e1c88b5a9bc3ab0b3b865ec824005656b1f2a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer-inject.refreshPredicates (cognitive 29): renderer-inject.refreshPredicates has cognitive complexity 29 (threshold 15). Drivers by points: loops 7 (18 pts), if/else 5 (9 pts), boolean chains 2 (nesting depth added 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 874, 893). 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":"windows/assets/renderer-inject.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe47c80ea04b9fe2e02e03571ac52e17746b192af10796989fad2efa6904679"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.assessRendererVerification (cognitive 28): injector.assessRendererVerification has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 26, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e7e4b25a93ed30de0962eee3fd4d03c37151d1100775793cd80211e66264b1"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-config.main (cognitive 28): theme-config.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 3 (4 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f68bdc4e7a678ea3c42930e6f728146b9e61c4fc9d5c1258416f0b5000fe392"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.performThemeImport (cognitive 28): AppDelegate.performThemeImport has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 10, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"512163ae44f2f271a32cf3360892bbf53ba7394387e74a963985eb9596ba2264"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Main (cognitive 27): Program.Main has cognitive complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"windows/theme-manager/NativeTests/Program.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55ddba7120da31ad6d07f85bead629b40e276923db6d1a9e73474b3dd0c6d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"image-metadata.jpegDimensions (cognitive 27): image-metadata.jpegDimensions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 8, loops 2 (3 pts), ternaries 1 (3 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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"197821421aeec81269dd10383eaf5c8128a69c45e889a179e3ebabfea303ff1c"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.runWatch::refreshPayload (cognitive 27): injector.runWatch::refreshPayload has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (injector.runWatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a4f7f23430c2a9f7e3a5272833180d07ca3e9fd3c8ffea025a5004f919718e"}},{"ruleId":"D2","level":"warning","message":{"text":"image-metadata.jpegDimensions (cognitive 27): image-metadata.jpegDimensions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 8, loops 2 (3 pts), ternaries 1 (3 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":"runtime/image-metadata.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f959c9d5ea1aec08c2cd8ce4354fc7782a1afcd8488be8e57ae92c88a4cbbc6a"}},{"ruleId":"D2","level":"warning","message":{"text":"image-metadata.jpegDimensions (cognitive 27): image-metadata.jpegDimensions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 8, loops 2 (3 pts), ternaries 1 (3 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":"windows/scripts/image-metadata.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5ec8b2bc2cbac6a540746bedf6ac95b34a882e04a87c9fd43196a875cc4cc6"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-package-validator.validateManifest (cognitive 26): theme-package-validator.validateManifest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e75b78f41c8347afccf7a532f6acc7b58a7a3df0d6115813996268592d947e"}},{"ruleId":"D2","level":"warning","message":{"text":"publish-theme-import.acquireLock (cognitive 26): publish-theme-import.acquireLock has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (16 pts), error handling 3 (6 pts), boolean chains 3, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"742d88beb01bd0571de98300f966f27c397640fa041efbe6d9c47c23a5ccc53b"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-package-validator.validateManifest (cognitive 26): theme-package-validator.validateManifest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-package-validator.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"04600fb6da7ff42429eded02884ca66962a548c655cd6e0245ba14492960d966"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-package-validator.validateManifest (cognitive 26): theme-package-validator.validateManifest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91241769fe682df2710da48bf7c252b7392dbeb945d8d47d3265f1589ce62c7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.deleteSavedTheme (cognitive 26): AppDelegate.deleteSavedTheme has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 5, if/else 3, match/switch 1 (2 pts), error handling 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":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3e6f81d526d5c9abfe945b17c271529e1b253f0d36abc02ea9d313f00354d4"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-css-validator.backdropFilterValue (cognitive 25): safe-css-validator.backdropFilterValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9188695515aab4484dc9799311a9b59d3ac89ea670b507d714d41c8df463daed"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-package-validator.validateOfficialTheme (cognitive 25): theme-package-validator.validateOfficialTheme has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff63d70b0c31716b4ddc76b853e4e249137e2177ef5086ea377a16af49d032a"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-css-validator.backdropFilterValue (cognitive 25): safe-css-validator.backdropFilterValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f4f025693b07912422b072159a2aed94683c569845d8cd92fe235d35010ecb"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-package-validator.validateOfficialTheme (cognitive 25): theme-package-validator.validateOfficialTheme has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-package-validator.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"804e3c1cd29882f7bd5c60a63958bd4d2130a9f2660f8e3b565b436dd44111fa"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-css-validator.backdropFilterValue (cognitive 25): safe-css-validator.backdropFilterValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29f1696e63493fab56e97af59ec1b379ca4284aece4770fb5966391ecd225c0"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-package-validator.validateOfficialTheme (cognitive 25): theme-package-validator.validateOfficialTheme has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f080637c492206a5fcba83b6ee4898d285fc1225f20ce37c56216b039a9b6c"}},{"ruleId":"D2","level":"warning","message":{"text":"SavedThemeDeletion.moveToTrash (cognitive 24): SavedThemeDeletion.moveToTrash has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 8, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/DreamSkinCore/SavedThemeDeletion.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dc07b231135261c5585573bd5f77833e962a059e62324c224e8488df2d408e"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.loadTheme (cognitive 23): injector.loadTheme has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 6, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"5251404b3404dd6d2f71ae9d873758ce2028735847644d5725d8351ca4d7f425"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.installBundledEngineIfNeeded (cognitive 23): AppDelegate.installBundledEngineIfNeeded has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b7b9a7ac71d47fa55f43a765f0ad869180e95d5d285818d9a9a2d226d857c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeTransparency.swift.authoredThemeTransparency (cognitive 23): ThemeTransparency.swift.authoredThemeTransparency has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 6 (8 pts), boolean chains 5 (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":"macos/menubar-app/Sources/DreamSkinCore/ThemeTransparency.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7d5b65dfca87bc832d95fb47074b3b9eb8dcb656a835f1085f2289250f8d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.connectCodexTargets (cognitive 22): injector.connectCodexTargets has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb5074256283cb09f5e14c09734eb32afa02d602e89c8416b6a2b0c3b300e77"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzeArt::(anonymous)::onload::information (cognitive 21): analyzeArt::(anonymous)::onload::information has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 5 (9 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"799510c1453bc2ec587ec58ebe8a45f0b5940635de4cf1741625979e8a36ea8b"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzeArt::(anonymous)::onload::information (cognitive 21): analyzeArt::(anonymous)::onload::information has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 5 (9 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f9b7faf81cbd779c323a31dcce64a220ec6dbf705b3db49ce81280c11be56b"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzeArt::(anonymous)::onload::information (cognitive 21): analyzeArt::(anonymous)::onload::information has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 5 (9 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d936cdddfcb1e2529ede45239392be7aac3d5e1ecbd5e0dbba41dc8ea25a77"}},{"ruleId":"D2","level":"warning","message":{"text":"publish-theme-import.recoverJournaledReplacement (cognitive 20): publish-theme-import.recoverJournaledReplacement has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59c9c3b4c54c957a86a124fb6db33a08062f50f493dfb9b808f24d7b6244c01"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-config.tomlTableHeaders (cognitive 20): theme-config.tomlTableHeaders has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"270299703d994f2e94a7417d7cb98a00c94e17123bedbb1b05f994a18b89b960"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-css-validator.validatePropertyValue (cognitive 19): safe-css-validator.validatePropertyValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"553a83b7af45fdf920872c78f60aedee2b97b8f9d45b8e95438e16cc8ecd317d"}},{"ruleId":"D2","level":"warning","message":{"text":"injector.connectCodexTargets (cognitive 19): injector.connectCodexTargets has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"077b025c3075cbb38fde8d240ba7d8dc00b1fd74fad2ad9a25cafbdab968b955"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshot-theme-zip.main (cognitive 19): snapshot-theme-zip.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/snapshot-theme-zip.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0146d3a890edd2f2914a25a990e8062d96565b744c922492090242de300419eb"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-css-validator.validatePropertyValue (cognitive 19): safe-css-validator.validatePropertyValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5ff496c51a52adb7de41e69e537cf00134cd748b91e8ca5f09b4dbdb22bffb"}},{"ruleId":"D2","level":"warning","message":{"text":"safe-css-validator.validatePropertyValue (cognitive 19): safe-css-validator.validatePropertyValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef54534b544ebdbfc3e351017e822d6ddc3260fa59a197d52051dd7e32cb903"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.rebuildMenu (cognitive 19): AppDelegate.rebuildMenu has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, boolean chains 7, ternaries 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"54652cb6b80d8600915f900fe4c1a1ce7b4a83af9696558dc201a04c8379977c"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-config.tomlStructureForLine (cognitive 18): theme-config.tomlStructureForLine has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"992f621d56aed552f55a9a57a74c906802f16585cbcdff96b605941025521ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.downloadCommunityTheme (cognitive 18): AppDelegate.downloadCommunityTheme has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"500bf48fb81b1865d1f5ab21df665f6f9f409d49391c7be41d56d635adf53522"}},{"ruleId":"D2","level":"warning","message":{"text":"applyArtMetadata (cognitive 18): applyArtMetadata has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9, boolean chains 7, other 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"6015c0be50e4a62ac5829db2b95446882a8c5187ee7fc27dd6dbd5c587f158d6"}},{"ruleId":"D2","level":"warning","message":{"text":"applyArtMetadata (cognitive 18): applyArtMetadata has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9, boolean chains 7, other 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b96497bdcfc4961db2f76b39cb8de3da7a2ed602ff00260233e64a130a2b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"applyArtMetadata (cognitive 18): applyArtMetadata has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9, boolean chains 7, other 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"df75dcbf16f3e61c014d2c4f4327c1fcbc3b450bc87e6e91cf83f4aa84a3fccc"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-package-validator.validateOfficial (cognitive 17): theme-package-validator.validateOfficial has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3, boolean chains 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d914b6faa99f296917cee1ec699fe23ca422aab2442b29181c881de38fbb4614"}},{"ruleId":"D2","level":"warning","message":{"text":"publish-theme-import.recoverReplacementTransactions (cognitive 17): publish-theme-import.recoverReplacementTransactions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91b57d8850da5bd233f1b35d758a27ec09366e0955072b1a03d05d0376705b2"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-package-validator.validateOfficial (cognitive 17): theme-package-validator.validateOfficial has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3, boolean chains 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-package-validator.mjs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3439f1a1bb9fe15317b60ef8b2567f8bf0892c7c35c39a362584751fd519a692"}},{"ruleId":"D2","level":"warning","message":{"text":"theme-package-validator.validateOfficial (cognitive 17): theme-package-validator.validateOfficial has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3, boolean chains 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebe70099cfcd4b9f116d689a5681ea1f31a2192e0dc391345c6a8c0ec8f6d98"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.cleanupStalePrivateOperationDirectories (cognitive 16): AppDelegate.cleanupStalePrivateOperationDirectories has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (5 pts), error handling 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca74d24d4aaaeda75715ba1d78de04a0273c664652c5265f89def5119f8232d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.checkForUpdates (cognitive 16): AppDelegate.checkForUpdates has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4841c35bb5fe6ebca780dcb12cc32393259b7ca4c8d48db0e3dc8debb26f513"}},{"ruleId":"D2","level":"warning","message":{"text":"readThemeTransparency (cognitive 16): readThemeTransparency has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4282cb006ab9b0585d74cf60c43a8cac0ffba3e7175a23e6e79e27a31fb09d"}},{"ruleId":"D2","level":"warning","message":{"text":"readThemeTransparency (cognitive 16): readThemeTransparency has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c17cf736552ff2e9d5e28418ba2bca902488037beca6477abac75e0a742ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"readThemeTransparency (cognitive 16): readThemeTransparency has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad925cf2380f8c8364c69856590504ec79eb600a2955370a4bf47351d4d0b2a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: injector.runWatch: FunctionTooLong \u2014 runWatch runs 426 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 326 over it, 4.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cb483477d13a4fbda5999a5512f46b4815679036f7b9a196f36c17400c18a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/injector.mjs: FileTooLong \u2014 1766 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1266 over it, 3.53\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":"macos/scripts/injector.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f992acc7c166d4d872e70d52f75245a13b9dc91b18113843e4783e209c9fec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppDelegate: ClassTooLong \u2014 1360 significant lines (blank, comment-only and punctuation-only lines excluded), 81 methods. The bar is 400 significant lines; this is 960 over it, 3.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c11e00868191d2a368f146ea55947f24c83d66e1df11767dd412542243ad84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/injector.mjs: FileTooLong \u2014 1472 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 972 over it, 2.94\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":"windows/scripts/injector.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a405e25869462a5db96240391da89236c202c65fe466c5bfe8855bd32687706"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CodexDreamSkinMenuBar/AppDelegate.swift: FileTooLong \u2014 1366 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: AppDelegate (8-1820). The bar is 500 significant lines; this is 866 over it, 2.73\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e8c669ee2d9282079ec0ba3adf07f546fd1131217597cdca5f9b7f4f7a9626"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppDelegate: TooManyMethods \u2014 81 methods. The bar is 30 methods; this is 51 over it, 2.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea486a9c92bc37f6f94e73e856da047ee11dca87e9295d1012406f9a9ba26d22"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: publish-theme-import.main: FunctionTooLong \u2014 main runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\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":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d2efa9c28df8473f3ac09c7b64afbb25f7f95a1ee4d6256c872b4f41bce786"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: injector.runWatch: FunctionTooLong \u2014 runWatch runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\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":"windows/scripts/injector.mjs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7f89878c793adbbb530a94d1f8642ccc47305366b08ffc5e643c7e5c42bc32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/renderer-inject.js: FileTooLong \u2014 952 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 452 over it, 1.90\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":"macos/assets/renderer-inject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e70d50079041224898528b26bc40a735ed892ae9dd2c987c7a098c40939179"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/renderer-inject.js: FileTooLong \u2014 952 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 452 over it, 1.90\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":"runtime/renderer-inject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4e7da8222db26e14fcf846e211a6fdf367c811a6e0cb49bbbacfba13bdb286"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/renderer-inject.js: FileTooLong \u2014 952 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 452 over it, 1.90\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":"windows/assets/renderer-inject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cf87b3ae66e2489c065d954e16275aec843c1b78322bdfc884fc9ff5f38860"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/publish-theme-import.mjs: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 272 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67c710b717218d916fa565bbf0d10410b1a1aa1d7ceb8b9cc10740bcc64baac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: injector.verifySession: FunctionTooLong \u2014 verifySession runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d09b8a5bc4dbe6123313e612c915cec0cc6816234979b7514f6e2c1d3fd418"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DreamSkinCopy.text: MethodTooLong \u2014 text runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"macos/menubar-app/Sources/DreamSkinCore/Localization.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cc9e82e3adb575d19c95458c36b2aa8a600f35f7320dc9b096a33a04d15cb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: renderer-inject.analyzeArt: FunctionTooLong \u2014 analyzeArt runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"macos/assets/renderer-inject.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"200ff3635d52ea7d08d20d735ec32ba37369d81620141127ff7587d53bb6fd8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: renderer-inject.analyzeArt: FunctionTooLong \u2014 analyzeArt runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"runtime/renderer-inject.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4300c3f0f637f4839b431010c604cc4abc45daa12473757b8087b2f2ffa283e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: renderer-inject.analyzeArt: FunctionTooLong \u2014 analyzeArt runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"windows/assets/renderer-inject.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dc9380ffa0b0c1c776f48127735eed24bd12f7ab9b108a9f87fab6dcb2835b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: injector.loadTheme: FunctionTooLong \u2014 loadTheme runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"macos/scripts/injector.mjs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"91af0150453de94a2e144a8f55adf16b16aad70982cc9b1e111058b0cbc3a840"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: injector.operationUiExpression: FunctionTooLong \u2014 operationUiExpression runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc57ccd34b66bd60e20dc9d7434f57a7184cb366abe5987fdd46ff7fefecaad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: injector.operationUiExpression: FunctionTooLong \u2014 operationUiExpression runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"macos/scripts/injector.mjs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66a9ea3738dfc0d09a7dd046e20ab31c8b165669d96dea3b3705b45e22ea737"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: injector.verifySession: FunctionTooLong \u2014 verifySession runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.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":"macos/scripts/injector.mjs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"315760674eca9457a3337804e8cbffb81b7a48705b75ae5b7dfe45c04e1a817c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: renderer-inject.applyTheme: FunctionTooLong \u2014 applyTheme runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"macos/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45582181da7fe4650c5a9b6680a8757f4c120f6fd9997d442bcbae3430f3aaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: renderer-inject.applyTheme: FunctionTooLong \u2014 applyTheme runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"runtime/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dee0ef7c3434e7d7ba4da9e154801bf66235e71013ad28c33257e3a6e4e2c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: renderer-inject.applyTheme: FunctionTooLong \u2014 applyTheme runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"windows/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db097e72ffe1ce098e614fbe8d7ddd7f4053dd3590e0f0117cc240c28483350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:1008-1012 | macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:1329-1333 | macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:1375-1379 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:1015\u0060 calls \u0060finishThemeOperation\u0060 and \u0060macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:1336\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"30577cfd8f5b42d4aa7ae5002b71f1f994db6a22361ff0e4ade076923ba1c20f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: bounded community HTTP client: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/tests/bounded-community-http.test.mjs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a656f0d5bb7190bca6b719f5c7c556fa3e617836013901bc046dba96b51a33c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/scripts/injector.mjs: macos/scripts/injector.mjs changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 149 in injector.runWatch at line 1676. 16 of those changes were fix/bug commits, and the other 26 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- macos/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1375851a7b267d3e912579b139b9f01329f5d009a95fb84684a633317c7ed68"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: windows/scripts/injector.mjs: windows/scripts/injector.mjs changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in injector.runWatch at line 1540. 15 of those changes were fix/bug commits, and the other 26 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- windows/scripts/injector.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":"windows/scripts/injector.mjs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"a390b05b79d97e1af7e9a41ae21171678662abe4bb2076d53520c5871e778557"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/assets/renderer-inject.js: macos/assets/renderer-inject.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in renderer-inject.applyTheme at line 339. 8 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-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- macos/assets/renderer-inject.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a5eccc02c0a37163f642f0ecfbb21e9ce3d88570ea3c6c3da8070ce57fc04e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: windows/assets/renderer-inject.js: windows/assets/renderer-inject.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in renderer-inject.applyTheme at line 339. 7 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-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- windows/assets/renderer-inject.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11a2b580983051a512b9fa293e6fa185b4fbfe372cd009b15c528efe0f53342"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/renderer-inject.js: runtime/renderer-inject.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in renderer-inject.applyTheme at line 339. 4 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-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- runtime/renderer-inject.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a887008a0708267c0bbd8211ec26fc0d3fb514a7f1411f5e9e46206bf90c06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift: macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AppDelegate.performThemeImport at line 988. 7 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-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift\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":"macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ceb5aeb4da2d15d14056ea98d50bd49ce2d8545346cca651f0eac1dd3d821b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/scripts/publish-theme-import.mjs: macos/scripts/publish-theme-import.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in publish-theme-import.main at line 711. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- macos/scripts/publish-theme-import.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":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3ac741248d157edd61a00d436c6f0be4e4830a07afcc797cc170c129598eeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/assets/safe-css-validator.mjs: macos/assets/safe-css-validator.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in safe-css-validator.compileRuntimeCss at line 527. 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-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- macos/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f7917866a1f70aabb5539419142205da50e699a7dbc9c8337ff2f9731ab1ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: runtime/safe-css-validator.mjs: runtime/safe-css-validator.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in safe-css-validator.compileRuntimeCss at line 527. 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-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- runtime/safe-css-validator.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":"runtime/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae4822d2b2a581b8f2dbf2f3e67d3044560fec5c0dfe4d2116f93810527b288"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: windows/assets/safe-css-validator.mjs: windows/assets/safe-css-validator.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in safe-css-validator.compileRuntimeCss at line 527. 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-07-17..2026-10-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-17 11:44:36 \u002B08:00\u0027 --until=\u00272026-10-15 11:44:36 \u002B08:00\u0027 --full-history --no-merges -- windows/assets/safe-css-validator.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":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ac486ee90a8514bf90a27679e6443bf2c337477e1ddf7a3abba46a7a7cc197"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/theme-manager/App/SingleInstance.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd2e2c47c8adcd6e8eafa8e976d0362407fff5276aa178e15f565d44c17b4e7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/theme-manager/Core/ThemeStore.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1688215331c76698bf760aba22f4abcfb5315dd9e3c60cdec56ef12f0fc5063"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/theme-manager/Core/ThemeStore.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cb565541fd1298ef65c9aca665fb8c1afa8a28260949fa9f781d0fa9a5e3d2"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/theme-manager/Core/ThemeStore.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1816e4ee66bdde1069a0b9774bd76c79efa2c09c7e007a5515993ce835d15dc"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060windows/theme-manager/App/DreamSkin.ThemeManager.csproj\u0060 makes this repository a deployable product (line 3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/theme-manager/App/DreamSkin.ThemeManager.csproj"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f6dbb3ab408d7e36307e4b2690b842a51a2cb34e632a992211a269079b1c9e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060themeId\u0060 spells \u0060Id\u0060 where 15 names in the project spell it \u0060ID\u0060: 15 of 16 names in project repository spell the token \u0060ID\u0060 (15 of 16; unit: names in project repository containing \u0060ID\u0060). Peers: AppDelegate.transparencyThemeID (macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:25); AppDelegate.pendingCommunityVersionID (macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:33); AppDelegate.communityBaselineThemeID (macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:34); AppDelegate.beginCommunityThemeApply(versionID) (macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:769); AppDelegate.fetchCommunityThemeMetadata(versionID) (macos/menubar-app/Sources/CodexDreamSkinMenuBar/AppDelegate.swift:813). Rename to \u0060themeID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/menubar-app/Sources/DreamSkinCore/CommunityThemeLink.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ae00b14033fca06b6b10119fc0d0a6fda92099020fea14b081c0b36be1e8f7"}},{"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":"716358478b5672d75c57474dec46fa0ff9e08dd851d488330048b70a5b53791b"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"1e1c6c44a04270527258e7ab5727f34c6733f44fdbfabcd8337fe68803f9d328"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"c3c652fc5b5206c0068ad3765a116028b765537ba58b9a287e9b21303d5bd110"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"79bcbec51aeb2a5e283ba5e05327a4aa4123b384ab05fe8277f08d562638a23a"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"3518f60a9a39329040b18c94598d9f82cefa429eb3facf4761015f27329012e8"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbdd4e1912f8225157ad5385cd4153682143786e682bd105b4b1c18b9955b1ad"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a32f3f7b6be6325ed97df7233216e60e61cb2336c7ec5ee42eab8496211e96a3"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"a7231491bd623c5d90cc290f2dccd326c16448ca9924904d64fa154c9931ee64"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"f0a9b5a91140effd6895384a1b36c8e5757b524652a956451eb19f5fed43cd68"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"10281508d0b37575f0044d96d5b60e0ea2699a21a027ad269fc4dc63c1638e69"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"d847a13540cdd64830eebd659bcac337bb40b420b1d3b546e88be6bf440c183a"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"9711e56f097bbd780a6759af124a4eca5c40b75717aca10919400d535029695e"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"cc6b772145c8d971a1267e7f82a85f4c3a346e0f9fafca6af202002a5f9fab19"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"d8de5689a68171ec911cf40fa3d367e18ce86f43515b6051ec5e399f61de5d6a"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"cb1d61c53396ac3415c047e62aa19b30850b17dfc983fb29880eade5376eba5a"},"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":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D37","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":"2e96dfd6d93fe913fb2e9028610c982dbd322c76ecf26cfdd7734b74da991d0f"}},{"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 Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 77 plain JS \u2014 the untyped files are macos/assets/renderer-inject.js, macos/assets/safe-css-validator.mjs, macos/assets/theme-package-validator.mjs, macos/assets/theme-preferences.mjs, macos/scripts/check-image-dimensions.mjs, macos/scripts/image-metadata.mjs (\u002B71 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (32 clone groups): 32 of the duplicated blocks reported below have copies in at least two of the sibling directories macos, runtime, tools, windows under the repository root. That concentration is one structural fact, not 32 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 32 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ee8ca3a19a9a696be86e04ddc9a3c2f7c49d4811bbde5c7940d07974dd0678"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (910 identical lines \u00D7 3 files): macos/assets/renderer-inject.js:2 \u00B7 runtime/renderer-inject.js:2 \u00B7 windows/assets/renderer-inject.js:2 \u2014 these 3 files are line-for-line copies of one another \u2014 910 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e625d243342ef72b6911f9287fd51827a470deff9853f5ffa5733d99ded11539"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (415 identical lines \u00D7 3 files): macos/assets/safe-css-validator.mjs:1 \u00B7 runtime/safe-css-validator.mjs:1 \u00B7 windows/assets/safe-css-validator.mjs:1 \u2014 these 3 files are line-for-line copies of one another \u2014 415 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8551bb24257bbb39d7f844abbd14a512b6e5b829b0aef44e1b0dc38eb85e7a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (394 identical lines \u00D7 3 files): macos/assets/theme-package-validator.mjs:3 \u00B7 runtime/theme-package-validator.mjs:3 \u00B7 windows/assets/theme-package-validator.mjs:3 \u2014 these 3 files are line-for-line copies of one another \u2014 394 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbdf192fd4f11ab4c3bb621a22e984f16536704f94289f004a8b81300792d2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (93 identical lines \u00D7 3 files): macos/scripts/image-metadata.mjs:1 \u00B7 runtime/image-metadata.mjs:1 \u00B7 windows/scripts/image-metadata.mjs:5 \u2014 these 3 files are line-for-line copies of one another \u2014 93 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/image-metadata.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35361a3e74ea04791bcae1331e1975fe8875903a8d13bfaae2ac420b861379ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (90 matched lines \u00D7 2 locations): tools/capture-dom-fixture.mjs:313 \u00B7 tools/doctor-selectors.mjs:123 \u2014 the two spans are one implementation copied and then locally edited \u2014 925 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b744c941783f56822b80696a01da0c0f47a995ffd3cdd1e00fba4dc5827b25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2 locations): macos/scripts/injector.mjs:1305 \u00B7 windows/scripts/injector.mjs:1386 \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":"macos/scripts/injector.mjs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae06117d69c73ff9ce600b7ea5945f690269ec21795a8c517796b07dc8c81c0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): macos/scripts/injector.mjs:613 \u00B7 windows/scripts/injector.mjs:495 \u2014 the two spans are one implementation copied and then locally edited \u2014 446 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":"macos/scripts/injector.mjs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e563719facddec745b1863ceb9873876341b423e3f09ffca0b5384d07eeaaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): tools/capture-dom-fixture.mjs:476 \u00B7 windows/scripts/injector.mjs:327 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e82d7ad1568d298077ad03a93d14f4be57f281a40604c914b217b3ad443e044"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3 locations): macos/assets/theme-preferences.mjs:14 \u00B7 runtime/theme-preferences.mjs:14 \u00B7 windows/assets/theme-preferences.mjs:14 \u2014 the 3 copies are spread across 3 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. 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":"macos/assets/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a948c68a3853ebe4528f527441788084d0b83d771fc66f13ba815476b7e5b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): macos/scripts/injector.mjs:1023 \u00B7 windows/scripts/injector.mjs:1078 \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":"macos/scripts/injector.mjs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a2b32fdc4b0856b62da4742d4b48b2e2cd5c3ba626aa612b174f3c50905e80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): macos/scripts/injector.mjs:512 \u00B7 windows/scripts/injector.mjs:712 \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":"macos/scripts/injector.mjs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e955a77beab852266e8e95c2bbf02f16747cebdeed7b8765c20d2a0e3047896"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): macos/scripts/injector.mjs:361 \u00B7 windows/scripts/injector.mjs:249 \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":"macos/scripts/injector.mjs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"012ae9c869b8b2b0bd579a8bcd1b76acf29794fd384f333e887cbdda625c730b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): macos/scripts/injector.mjs:17 \u00B7 windows/scripts/injector.mjs:14 \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":"macos/scripts/injector.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ccff58ffdf97f53b853a765a06ad6e7b353263578a0d0a4c283b55d922bcb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): macos/scripts/validate-safe-css-file.mjs:9 \u00B7 runtime/validate-safe-css-file.mjs:9 \u00B7 windows/scripts/validate-safe-css-file.mjs:9 \u2014 the 3 copies are spread across 3 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. 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":"macos/scripts/validate-safe-css-file.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"576145fa017df9cf41e87a942464078c75a7cdfacf1c99d5d18375ccd7925340"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): macos/scripts/injector.mjs:1412 \u00B7 windows/scripts/injector.mjs:1498 \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":"macos/scripts/injector.mjs"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6277e724915b3a4afbed5a729f24fd75979b0330c1124222f7ea3cdf34b865b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): macos/scripts/injector.mjs:1380 \u00B7 windows/scripts/injector.mjs:1464 \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":"macos/scripts/injector.mjs"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cb0279472601e468ad351c946b941a0517c4a8267ca221b1b915a61fc4b0ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): macos/scripts/injector.mjs:569 \u00B7 windows/scripts/injector.mjs:842 \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":"macos/scripts/injector.mjs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e291773d5b05adf89c3cfdc395d63b3dd8d49fbddb71e10962b38432e93e91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): macos/scripts/injector.mjs:298 \u00B7 windows/scripts/injector.mjs:158 \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":"macos/scripts/injector.mjs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0df9843924987e398698a4ce7b99450c4e27d781bfdfd73ba353d34c227488"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): macos/scripts/injector.mjs:449 \u00B7 windows/scripts/injector.mjs:327 \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":"macos/scripts/injector.mjs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5c1af9109fdb5e4692037ac13f193811b72847e497b7800bca7169882929e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): macos/scripts/injector.mjs:420 \u00B7 windows/scripts/injector.mjs:299 \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":"macos/scripts/injector.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"270150f4b454098b95cfe8228bec8b5720222f45a848631e2260451dbfe82da6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): macos/scripts/publish-theme-import.mjs:786 \u00B7 macos/scripts/publish-theme-import.mjs:806 \u2014 all 2 copies are in the same file, 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":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f791b498cc6ae5347bb13124dc2cfd5c41092a4b610dda70ea64d30e372b13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): macos/scripts/injector.mjs:321 \u00B7 windows/scripts/injector.mjs:180 \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":"macos/scripts/injector.mjs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"139ef66dc61e01dc052969d4e95561c98a6cadf2e8f7d0919e01ff3143704627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): macos/scripts/publish-theme-import.mjs:99 \u00B7 macos/scripts/stage-theme.mjs:32 \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":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f16af378c553b5d51eac74a488ac2642e9bb401959ee9df160d5b477282e2b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): macos/scripts/injector.mjs:336 \u00B7 windows/scripts/injector.mjs:197 \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":"macos/scripts/injector.mjs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c51fb71a51e9affed6689e3a55eb8f7692772630907deb8a91da8cc8e1b40d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): macos/scripts/injector.mjs:721 \u00B7 windows/scripts/injector.mjs:559 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"9209d7c882308f3e9079d0ea969a3aae477585165b2037e037d14245e9ad7c81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): macos/scripts/injector.mjs:1503 \u00B7 windows/scripts/injector.mjs:873 \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":"macos/scripts/injector.mjs"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b70d9a1e4d82bebc68999fab1f7a0f3b8b95a331ce3953babaffe798b5c0c02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): macos/scripts/injector.mjs:482 \u00B7 windows/scripts/injector.mjs:360 \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":"macos/scripts/injector.mjs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d39dfe1f6d1bad94f2bb8d0d4e657e12c1c726b63e8e37404de52e1897b3e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): macos/assets/theme-package-validator.mjs:210 \u00B7 macos/scripts/injector.mjs:604 \u00B7 macos/scripts/snapshot-theme-zip.mjs:12 \u00B7 macos/scripts/stage-theme.mjs:23 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 7 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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfff877f676b01ea82d2d03b867b0653d68fd58157168372b0632230b8860b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): macos/scripts/injector.mjs:202 \u00B7 windows/scripts/injector.mjs:769 \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":"macos/scripts/injector.mjs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cb3fd988a78b194cdf4ec2687235e0a8d4941f74fbbabf932be43923756da7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): macos/scripts/injector.mjs:754 \u00B7 macos/scripts/validate-safe-css-file.mjs:13 \u00B7 runtime/validate-safe-css-file.mjs:13 \u00B7 windows/scripts/validate-safe-css-file.mjs:13 \u2014 the 4 copies are spread across 3 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. There is one copy in each of 4 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":"macos/scripts/injector.mjs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"714626bc20bfeae43e0df6b1c39cf6203fecc843fe253cff8a1382d48d84f7af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): macos/scripts/injector.mjs:892 \u00B7 windows/scripts/injector.mjs:946 \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":"macos/scripts/injector.mjs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3658978b178a4295adbf81ac63f06fa892409497db065dd0c1d3f3497fca021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): macos/scripts/injector.mjs:1288 \u00B7 windows/scripts/injector.mjs:1375 \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":"macos/scripts/injector.mjs"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec4b262ecb8aa2068f310c3d3d644a8211d06de6ac53e61dfc20f9e094c332b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): tools/css-predicate-cache.mjs:7 \u00B7 tools/css-predicate-cache.mjs:33 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/css-predicate-cache.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"164b0f1a61219c1ee10f6c9f2dd53e100cf61d1d3c1edbed9a2ad158828f03a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): macos/scripts/publish-theme-import.mjs:33 \u00B7 macos/scripts/write-theme.mjs:53 \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":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dbea794b900a2036df35f32bfd448c1d29fed54d4c888d04869156500bcafb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): macos/scripts/write-theme.mjs:38 \u00B7 windows/scripts/injector.mjs:461 \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":"macos/scripts/write-theme.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1194fe267ea4f64b85a1bffed18f0b5085f1ebc0a6d9b0f77d2e8344017a2d52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): tools/capture-dom-fixture.mjs:633 \u00B7 tools/capture-dom-fixture.mjs:740 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4372c86197290821af71c25bb8a68bfec77fd6f83d28827fca0a7260227dd7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): macos/scripts/injector.mjs:837 \u00B7 windows/scripts/injector.mjs:656 \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":"macos/scripts/injector.mjs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"128156df87ac42a3236d689cdada2249bf8466d18169d3cda988c65fd379e87a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): macos/scripts/injector.mjs:23 \u00B7 tools/sync-runtime-assets.mjs:18 \u00B7 windows/scripts/injector.mjs:19 \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":"macos/scripts/injector.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfeca0699a71624a80c29fb75a2fe11af59cea5847f1393e647b3c2e3ea95b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): tools/doctor-selectors.mjs:13 \u00B7 tools/doctor-selectors.mjs:103 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/doctor-selectors.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca07e6796b0e333f4b5376a13fee1e588b1314e5e3256ecae0dedc45121a9d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWatch (cyclomatic 75, cognitive 148): runWatch has cyclomatic complexity 75 and cognitive complexity 148; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6ee63535d2847298d619578154e2361ac5e8877a54645330817adadb35f878"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 58, cognitive 94): main has cyclomatic complexity 58 and cognitive complexity 94; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1f1b63b88f744c377e9850389062ea63831bf02b8a7e97295d61242512dcb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWatch (cyclomatic 55, cognitive 148): runWatch has cyclomatic complexity 55 and cognitive complexity 148; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e9a9064d6877cb8cc627383fdc08e6b7157ed030181b4d2590e716a23bf11e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTheme (cyclomatic 51, cognitive 53): applyTheme has cyclomatic complexity 51 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":"macos/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"335e80d431c9bf33a6628092794b92d3af54d25407a709e8008fbf002428ed70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTheme (cyclomatic 51, cognitive 53): applyTheme has cyclomatic complexity 51 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":"runtime/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32e6247ac15c36ef26ff6b437994501e690a92f5f359c29882689cec0172487"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTheme (cyclomatic 51, cognitive 53): applyTheme has cyclomatic complexity 51 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":"windows/assets/renderer-inject.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"731871b77c8cebe9d466ea39c3690117998d3d231d11de536068ca13f319c057"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRendererRuntimeTest (cyclomatic 46, cognitive 49): runRendererRuntimeTest has cyclomatic complexity 46 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/renderer-runtime.test.mjs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"033cdc965b7ba89cbb9eafc67bb31097a5df6b74b45fddbe5ff6af86ce88caef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadTheme (cyclomatic 45, cognitive 44): loadTheme has cyclomatic complexity 45 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"macos/scripts/injector.mjs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea14004f588a0ccae38af29f0c35a9d2c3094347b36e724b6520bbdeb0f4ff89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOneShot (cyclomatic 44, cognitive 79): runOneShot has cyclomatic complexity 44 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"92665636b91b0443ec20363f7d30e12254b340a196978c275caf728e64b691b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 43, cognitive 47): parseArgs has cyclomatic complexity 43 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd425b587d795da4b95ce70e9eeacf3371c8190c040df669ea9b2f9fe4a74a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assessRendererVerification (cyclomatic 43, cognitive 27): assessRendererVerification has cyclomatic complexity 43 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b3179b5076d4febd2e82fd187e362e3d9834da50c81a6082c4d1b3e7413ef6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 38): (anonymous) has cyclomatic complexity 41 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a9c70ecff1d4fefefb84f69f7febc81e22160a9b62bee091211cf7463d5fbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 38): (anonymous) has cyclomatic complexity 41 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"85778016770cf8d15481ebae5e7ec9d4bb875beab2d44cda0dd55211cddeb7fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 38): (anonymous) has cyclomatic complexity 41 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3977506d30055a07fe3339f8f70163461a0abdc46112fd520955192d3c637c22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOneShot (cyclomatic 39, cognitive 72): runOneShot has cyclomatic complexity 39 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2affc75678cb631851d4e55063f5f67a8a2d7f2f24df241ba79bf2c15fa5a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cssPredicateManifest (cyclomatic 37, cognitive 77): cssPredicateManifest has cyclomatic complexity 37 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/css-predicate-cache.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dea174a3b7de39baa35101cdb84f2591e8b8fae6d3b675ba1e314b79b4bc70b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serialize (cyclomatic 37, cognitive 57): serialize has cyclomatic complexity 37 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"055ebbca087349b9203153352d44530dd3d0ee047415ceeb4a705a92deb73e24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDeclarations (cyclomatic 36, cognitive 52): parseDeclarations has cyclomatic complexity 36 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea6eff7e1890957cc21c4100fd0487813b12a999f8ce4541ab1b80425e2f2d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDeclarations (cyclomatic 36, cognitive 52): parseDeclarations has cyclomatic complexity 36 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b8d00cd23cd55988311656a26767805f448678aa6695e1488b65217ee77432"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDeclarations (cyclomatic 36, cognitive 52): parseDeclarations has cyclomatic complexity 36 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"661339ee71d33f3af89e2c341b3aacdac9a7611df96bd5e061f675bb6f7f97dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 36, cognitive 37): parseArgs has cyclomatic complexity 36 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":"macos/scripts/injector.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"396be7b59d7059920f1f1fae0cc8933fd47f3e99168dd7b3a2914999698ef0ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onload (cyclomatic 34, cognitive 48): onload has cyclomatic complexity 34 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b1a1fb1c46c0e73b9cca9e55fbb596b5141711655adbdd3a402a4408608a5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onload (cyclomatic 34, cognitive 48): onload has cyclomatic complexity 34 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f00bc1fbbd9d7a872c970140e1a21813079343e69cd289801b10381f58b15d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onload (cyclomatic 34, cognitive 48): onload has cyclomatic complexity 34 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"993539573bbc4fa3b5a8190896f7b8bd7ae6e221c3ac5111af5c822019b63d68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadTheme (cyclomatic 32, cognitive 31): loadTheme has cyclomatic complexity 32 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"windows/scripts/injector.mjs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d94e0fa27527a333edd7c80f6eab4feca6c0270602cd9a971e239b07777ad4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeFixture (cyclomatic 27, cognitive 46): makeFixture has cyclomatic complexity 27 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/renderer-runtime.test.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab0a6674b99d88dc1eb8d290a85d9d4ee5e1be2b911f3d0d40ededfb757de1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 27, cognitive 31): cleanup has cyclomatic complexity 27 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9136ceac228f7e0740cf5dc178cdbbd418bad5769cb43d7444fa5ea9db6025e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 27, cognitive 31): cleanup has cyclomatic complexity 27 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5114dd58a3981addd946bdc613290bfaa3f42d6a19ed7051701867c66169d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 27, cognitive 31): cleanup has cyclomatic complexity 27 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02b860ca68cdd51b7bfad0acfe6288cf9d1af187856ca431653a1dfada91ac7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pageCapture (cyclomatic 25, cognitive 22): pageCapture has cyclomatic complexity 25 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"699cc7f0f043a5163a8c3add2b8b2c0d892e12d066afaa512ee6f1176c884342"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManifest (cyclomatic 24, cognitive 26): validateManifest has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"13faddec9c511e0139237bb0234c1049860efe7b79438380aa5a62ca796d025f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManifest (cyclomatic 24, cognitive 26): validateManifest has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-package-validator.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a239c0ed7f9269512f2100faa39b2ac1d7068453b5154769d2ee9733640a5b2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManifest (cyclomatic 24, cognitive 26): validateManifest has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d44c219911d318106ec7dd1cfcfe2df92f4f18264d061f88ba8491abf3155ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function watchMode (cyclomatic 23, cognitive 34): watchMode has cyclomatic complexity 23 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7684d7063e596a961a9ffc07417b27c405c08868531f082dbff38980c03417"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 22, cognitive 31): main has cyclomatic complexity 22 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebd784e53aaa992642bf9d641c1cdb42f0a8e65f6279ab2c3222ca5f67f8410"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOfficialTheme (cyclomatic 21, cognitive 25): validateOfficialTheme 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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6b469a2f6124aa31e8be251946ab237fc841248765b1e174106ada6a4709c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOfficialTheme (cyclomatic 21, cognitive 25): validateOfficialTheme 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":"runtime/theme-package-validator.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2169975a2dbd9906fb934b6ef962506e463316ab594b16c74156f98cfc2996"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOfficialTheme (cyclomatic 21, cognitive 25): validateOfficialTheme 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":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e0cae994ae408e2dd38a97b23263d8532c4867092d8833c91a5550e698a42b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 24): (anonymous) has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed98665362fbc2a3dd80a63f25bcb75724b73e5646a839deddfc608e7b2b4141"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compileRuntimeCss (cyclomatic 20, cognitive 40): compileRuntimeCss has cyclomatic complexity 20 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"9598be0ac0c6f60e526df32e366ace16628624b9b873840479651caa161b5d8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compileRuntimeCss (cyclomatic 20, cognitive 40): compileRuntimeCss has cyclomatic complexity 20 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6c9ee93220501a253f961fa439ca8995887bd3e44df38b59424891e07a3234"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compileRuntimeCss (cyclomatic 20, cognitive 40): compileRuntimeCss has cyclomatic complexity 20 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfa55dc711c8dab0ee4c82713d9b0b71d25c9cc56008579e0ea4a7f0e08ed15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jpegDimensions (cyclomatic 20, cognitive 27): jpegDimensions has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/image-metadata.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb92d9142d47f60e25c6019f74a1170180d9b1277a30f01f1329d6d018ca12ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jpegDimensions (cyclomatic 20, cognitive 27): jpegDimensions has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/image-metadata.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6734bbd1312eff80c5995430bc82937ca1676598ea800a4978bed979a0596ddb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jpegDimensions (cyclomatic 20, cognitive 27): jpegDimensions has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/image-metadata.mjs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d0d31b35f99bc0543e9b2936207c43959fead5ff732a3df5b4fb5508cdb9c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function querySelector (cyclomatic 20, cognitive 26): querySelector has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/tests/injector-bootstrap.test.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"788f2ddd339edc63f67d304699900c528a5741ce01db50033229d6547a55e0ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function querySelector (cyclomatic 20, cognitive 26): querySelector has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/tests/injector-bootstrap.test.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c0fbf0f339504677f3853466bacb7a274d41d2ba602e495f5a2fc474e94d75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyArtMetadata (cyclomatic 20, cognitive 18): applyArtMetadata has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"731a463b12c094a88d04801b8c38be5c2ce6149bf71fc5105c64fca0125081c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyArtMetadata (cyclomatic 20, cognitive 18): applyArtMetadata has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb87e765d1b352f787c61be271c927550ec9d377580b497753976b127340044"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyArtMetadata (cyclomatic 20, cognitive 18): applyArtMetadata has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"82937381068d2f52daa1f7ca4863aaabf86f728e6cc5f063d10f61e8b1c60117"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshPayload (cyclomatic 19, cognitive 28): refreshPayload has cyclomatic complexity 19 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":"macos/scripts/injector.mjs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fb707e40444e6fbe9350225585edcf7e58938ad7efd487c4ab5442b9a0e7e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 23): main has cyclomatic complexity 19 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"28110b198269c8e59e97ef108c317f7d8e41e7ec022352109081ae84f8f37e50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePropertyValue (cyclomatic 19, cognitive 19): validatePropertyValue has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"10855c26c2a45f35cb75bc7be00ae4d885270c5069756fc8aa25d9c4a82079d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePropertyValue (cyclomatic 19, cognitive 19): validatePropertyValue has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63957934172fc810ff905f6c5c125cf40a5d3eb74e7605f7ed4914283473ba6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePropertyValue (cyclomatic 19, cognitive 19): validatePropertyValue has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cde2ec80d0e08060195e9761fb2c72f8d007aff72204b224050ff09dce29fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireConfigLock (cyclomatic 18, cognitive 46): acquireConfigLock has cyclomatic complexity 18 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45a42f94c2130296c60dcb6ac6fc40c8d60575e42b85a96d0d66cfce1f4c2e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeOfficial (cyclomatic 18, cognitive 17): makeOfficial has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/tests/theme-package-validator.test.mjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e1cfb3fb48a0f4ff36b25cc7b185f97b67e4de694dc1f4d173f5aae96efa1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readThemeTransparency (cyclomatic 18, cognitive 16): readThemeTransparency has cyclomatic complexity 18 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":"macos/assets/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8232d787e2b5b65d508573e98254879a39662252dc0af4f2dc9ac549649812"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readThemeTransparency (cyclomatic 18, cognitive 16): readThemeTransparency has cyclomatic complexity 18 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":"runtime/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0ae1bcf51b095e92fad0bfafa13670f4c198e477cec59444c275d3fa9425c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readThemeTransparency (cyclomatic 18, cognitive 16): readThemeTransparency has cyclomatic complexity 18 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":"windows/assets/theme-preferences.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c734c0f7c108ea0f94e49b0d21129ee673dbb95c67b8b0efe8660b88bc2e5314"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectTargetWindow (cyclomatic 18, cognitive 16): inspectTargetWindow has cyclomatic complexity 18 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":"windows/scripts/injector.mjs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"478daffc01062d11472a5204ac80f7a45de55c6df3b6ea4aa4f7636c4dad95d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTimestamp (cyclomatic 18, cognitive 11): validateTimestamp has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b95764fbaa1719b5ac1a50ade5c3b89416c7dbd28612d0beec660891fa5d25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTimestamp (cyclomatic 18, cognitive 11): validateTimestamp has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-package-validator.mjs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8b047eb279b26678be89e4a78452f58bb5714131f7b4e3f79f63743618e52d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTimestamp (cyclomatic 18, cognitive 11): validateTimestamp has cyclomatic complexity 18 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7164212f58600c2daf5fbf559dcc592ce43a32f8bc9095bf9244db190884911"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backdropFilterValue (cyclomatic 17, cognitive 25): backdropFilterValue has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d714625f03d37000d6564b0bc6fe896aef683a75d809d7dd83deab39a5ef9f8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backdropFilterValue (cyclomatic 17, cognitive 25): backdropFilterValue has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a49feba8b0c0216066b24f527d4681a66403b8d39d072640a07a5eadb0d7e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backdropFilterValue (cyclomatic 17, cognitive 25): backdropFilterValue has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedac5f4bcea8e0bb409447e811bfd022a6a4a08b1412e2e483336969bbf7baf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 17, cognitive 23): main has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/snapshot-theme-zip.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"648408e9ffb01bf13bc77a2b18603ed804dcc0b047c7892cfb8d6d9a48cdc914"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pageDoctor (cyclomatic 17, cognitive 17): pageDoctor has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/doctor-selectors.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fead1be65f39101950750b32220ea50b075555fab30f72110b21531365ed4c55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unscopedCssRules (cyclomatic 16, cognitive 27): unscopedCssRules has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/renderer-runtime.test.mjs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8961dafc51b9ceeb48a9b0686abcede352305b38c79d9134093e531a4e3a6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22ce738d31eab01a042a05845a20789ef46cd6c0651a3798fa48212631e14bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30a71190a9470b4346d32d5e7574925137cbdbf6311f125f6b4e38219b33b97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"efea2b5c63a012d1e07920b2c178abd6c4cec4c1155ba98b7fd6146cab9f5418"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function webpDimensions (cyclomatic 16, cognitive 15): webpDimensions has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/image-metadata.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8e2da4cd67c79067128a4a37c9e8a5b281ef725ac33021f2683bc610ee9390"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function webpDimensions (cyclomatic 16, cognitive 15): webpDimensions has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/image-metadata.mjs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6add14bd0109e0e96293b508482aaea29745d2c40a6d105b631ec5e8c51acb17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function webpDimensions (cyclomatic 16, cognitive 15): webpDimensions has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/image-metadata.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea46b8c8b2a8c66f9f1326fcc8d17a54118e796babd4d8835e9393a9fe25b96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireLock (cyclomatic 15, cognitive 31): acquireLock has cyclomatic complexity 15 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"990a885f3e6a88bc3fd2913806f9e07e44e78e9fe8468dfa5598009b2e33a05d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printTargetSummary (cyclomatic 15, cognitive 15): printTargetSummary has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c1286ef6edf238e87be74e0b4eaf0cf1ddc170559e49e2cc657bf4d7c4b269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 15, cognitive 14): parseArgs has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a590805c0c9842616562aa29204c2c314052f110e2002eaf10721a615dc2b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateBackup (cyclomatic 15, cognitive 11): validateBackup has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eb203df5afb078c0f9a2ccacb2e51775e69975e21f3b5c9a262d15d404cba7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 15, cognitive 9): (top-level) has cyclomatic complexity 15 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/validate-safe-css-file.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bff3284ca733a94dcc81b1c0920b980427ef57909ddcb61875c315c4b0524d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 15, cognitive 9): (top-level) has cyclomatic complexity 15 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/validate-safe-css-file.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc3581a846685b30b3f5bcc6aa29075e42d94d1076f7aeef4064b75c4facb3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 15, cognitive 9): (top-level) has cyclomatic complexity 15 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/validate-safe-css-file.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8173886bcd9cb100b378ce2303cd7dee440d6005dba027db884a7e06c062db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stateFilePorts (cyclomatic 14, cognitive 21): stateFilePorts has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a572d594ad76dd57998c6352d1aef088d0de85bd91331e82a7be9af5f7c34f70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverJournaledReplacement (cyclomatic 14, cognitive 20): recoverJournaledReplacement has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"c310d335576e1e4992de87f654538a3713ff23a11719f9e78008468d4cabe0bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProvenance (cyclomatic 14, cognitive 17): readProvenance has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/check-selector-provenance.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ffe6753084ffee1361fee2a38215441d6c6972d7fde86451e0bfef938aac70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 14, cognitive 13): parseArgs has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/doctor-selectors.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"029913b3dd1541a84180651803144437af4575ba15ace0f1151a8e94d8cbe279"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSimple (cyclomatic 14, cognitive 10): validateSimple has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"40356bafe091a61a383cc60fd7109ae3ffa9804d3b9cf8a367a7196448a05450"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSimple (cyclomatic 14, cognitive 10): validateSimple has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-package-validator.mjs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a2b619bad447fd4b321a2c0e8d96e74c4848eb9f22fe7c4b34474cbf9aed92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSimple (cyclomatic 14, cognitive 10): validateSimple has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f8ce1fd0c1acc86c3b2dfde5c831c0610b2d855ddff67a548831f8ee568436"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gradeDoctorResult (cyclomatic 13, cognitive 17): gradeDoctorResult has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/doctor-selectors.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"654d12c8287574586cc36e7dbbb463d86b6e7bee1947425ff740c8cc60477b73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOfficial (cyclomatic 13, cognitive 16): validateOfficial has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7b64157b8a1ad2aea6920f147d60722eba08aace7cdf6c6627f222c5c853de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOfficial (cyclomatic 13, cognitive 16): validateOfficial has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/theme-package-validator.mjs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca8c32f0fc6f9c9ddb917a8aba8526f96f454577884121e043e97d2a39f1a75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateOfficial (cyclomatic 13, cognitive 16): validateOfficial has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7b0522cabd940e03747a55614b9ab8c0d0d11421ffdbd2ed16ba3328256752"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f586fd861f0e988c03a2db5fdfdcffe92a78ab359480daf4b100b9237c8b57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 12): main has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/stage-theme.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfbba2424908acaa428bb4f76044a4306a3eafe4f945a01dfb6de910bf1dfbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1249045d32afbed7daa0fc7bd6da5c1f396356a96aab6c6ac500463006c65e8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f997b43de18e649e17e2b5ea316049fb48042626b13d7ce781ba62be8f1f8372"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function querySelector (cyclomatic 13, cognitive 12): querySelector has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/tests/injector-window-readiness.test.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff4fab58dae4404eb9108d335ab2a6ca4463f729480f039b418854c78c0cdb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectScope (cyclomatic 13, cognitive 10): detectScope has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"5454ad067d20991df125dfdfa160d0c78ecd7b1afe7cd9fe6717124693bded84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectScope (cyclomatic 13, cognitive 10): detectScope has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2c630d9901d28409b949c1a9345b5598345a54e5dd5f6dcf5a0c4849015ac8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectScope (cyclomatic 13, cognitive 10): detectScope has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb585b94851e6688f18d15256c4a642b2a7d0240f7a5fdbe93725e6f3b7d9ded"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 27): (anonymous) has cyclomatic complexity 12 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4e69df1ac2e97962af0e196e5db4f8c13786c45452fc179af21a0c53130259"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 27): (anonymous) has cyclomatic complexity 12 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2efdc9aba1500e1b79453a2429a2d0187beb6bfe1936f475788ec22df9ee1d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 27): (anonymous) has cyclomatic complexity 12 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1103e40a087864737d4644ca00ab13f00a5d86d93e5ccd23d67cbc024af2e516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCanonicalJsonValue (cyclomatic 12, cognitive 15): updateCanonicalJsonValue has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c7db33e9aa8ea586f264978fdfecb8a6de2f813ee2c35fd8351ef84b6efb8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitWhitespace (cyclomatic 12, cognitive 14): splitWhitespace has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fab76ec1b6555186ca9ade8db1ac1f920f880846ef893734a1fc71195ed5b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitWhitespace (cyclomatic 12, cognitive 14): splitWhitespace has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88b5a3eb7b0e3cdf412445ecd9b80cf8163e5727e520ddf41748685cb29c064"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitWhitespace (cyclomatic 12, cognitive 14): splitWhitespace has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab19475956e5396aa8dc45fb3c08b71f08ebe9e7cf93615760446c2c9ebd38ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24313d7750f92e077e35f4ea3bfd6bff3333a3e0df606e9c59423501d5e9703"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyNativeWindowResponse (cyclomatic 12, cognitive 9): classifyNativeWindowResponse has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b68a96b7c8ae0451e965984e363907d558ca23db44117c8eb89b4b49222271"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectCodexTargets (cyclomatic 11, cognitive 23): connectCodexTargets has cyclomatic complexity 11 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/scripts/injector.mjs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"229d37a04546a9ddbdeab84d99bd4e991dd668c5b38413a84c3b2a5d78af0b93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function information (cyclomatic 11, cognitive 21): information has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"d740972472a56581b807791e2639613db8851207b6686a3c015f629ee0f370f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tomlTableHeaders (cyclomatic 11, cognitive 21): tomlTableHeaders has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"175525f1c461fbbed45b10519a5f952247ec0b3b5b952365709cc899c039131e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function information (cyclomatic 11, cognitive 21): information has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"d955163b4dfb653b9870a919406bbeef74ed7ba792539768133caa7d6655cc3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function information (cyclomatic 11, cognitive 21): information has cyclomatic complexity 11 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"6607407ae5e9ad460992b9d8dbcf05715812018ed74dc3eb792caf68c739a23b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverReplacementTransactions (cyclomatic 11, cognitive 18): recoverReplacementTransactions has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/publish-theme-import.mjs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"300aab5862a3c71afaa97169a396fb002fa67a264ca8cc0ee9f604078e547318"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tomlStructureForLine (cyclomatic 11, cognitive 18): tomlStructureForLine has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/theme-config.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a3986f5effeb64e140e72a6394e3a2ce9097c84fcf86edf29bf275204264c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMessage (cyclomatic 11, cognitive 14): onMessage has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/scripts/injector.mjs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"0daacc0b15a1a4259202a1252428ac7a89bb4ddd86c3b9b0672a851412128767"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function colorValue (cyclomatic 11, cognitive 10): colorValue has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e95bd08358c211edd854fcb7b39d2768b7fc11f87f05cee46af104b280470da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function colorValue (cyclomatic 11, cognitive 10): colorValue has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/safe-css-validator.mjs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7147d2f6eecc4466406d7006803653dddbd5140be36aa3b2fbec45b6f9e5b499"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function colorValue (cyclomatic 11, cognitive 10): colorValue has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e982d9b66fc8dd91ec7ad5cb33d07883081fef750fa352b34d9d07e9909cbcb4"}},{"ruleId":"R3","level":"warning","message":{"text":"macos/assets/renderer-inject.js: 1132 lines of code: macos/assets/renderer-inject.js has 1132 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":"macos/assets/renderer-inject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a3190f10f2fc1cea11c01af11d54d7ba215953da8a5c6fd5500aaf5a6231c9"}},{"ruleId":"R3","level":"warning","message":{"text":"runtime/renderer-inject.js: 1132 lines of code: runtime/renderer-inject.js has 1132 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":"runtime/renderer-inject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"800bae021a9abdc6f0b04ff550c60165ce180c9a48249bc0eb327d23989aac75"}},{"ruleId":"R3","level":"warning","message":{"text":"windows/assets/renderer-inject.js: 1132 lines of code: windows/assets/renderer-inject.js has 1132 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":"windows/assets/renderer-inject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f27be9a6fdaf1623a499509216e86aee0b9a08ce20a763739f02c28bff73a5e"}},{"ruleId":"R3","level":"warning","message":{"text":"tools/capture-dom-fixture.mjs: 714 lines of code: tools/capture-dom-fixture.mjs has 714 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf61c5c0032e87f2fd6f90682c55592d426693a53bcd1dafe496978b413ccedf"}},{"ruleId":"R3","level":"warning","message":{"text":"macos/assets/safe-css-validator.mjs: 598 lines of code: macos/assets/safe-css-validator.mjs has 598 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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"698604cbb2aeff8bbd7b52a9efa1f83aced471da54007f7b6ce867b22ff3041b"}},{"ruleId":"R3","level":"warning","message":{"text":"runtime/safe-css-validator.mjs: 598 lines of code: runtime/safe-css-validator.mjs has 598 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":"runtime/safe-css-validator.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc8099ce00f00a282dd6a95a74f6313e7b273883e80652f7fb48372795e32cb"}},{"ruleId":"R3","level":"warning","message":{"text":"windows/assets/safe-css-validator.mjs: 598 lines of code: windows/assets/safe-css-validator.mjs has 598 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":"windows/assets/safe-css-validator.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"696c0ec6965d935fd61582df9ad3d92475dcc669e867a5f199712fc21a14c843"}},{"ruleId":"R3","level":"warning","message":{"text":"macos/assets/theme-package-validator.mjs: 532 lines of code: macos/assets/theme-package-validator.mjs has 532 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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2937e557197df65036fb1323d935efa649f4b6a89496dd27e7be15ccf7eb374"}},{"ruleId":"R3","level":"warning","message":{"text":"runtime/theme-package-validator.mjs: 532 lines of code: runtime/theme-package-validator.mjs has 532 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":"runtime/theme-package-validator.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bdc60d81fa4c8d439accaaa99e6c1b3a1ff927a3611b452111cea70bd5faf9"}},{"ruleId":"R3","level":"warning","message":{"text":"windows/assets/theme-package-validator.mjs: 532 lines of code: windows/assets/theme-package-validator.mjs has 532 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":"windows/assets/theme-package-validator.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5799ce5853d2ab47dfa1a42f8d2206d09614211ba448e91efbf848ca0eecf3e"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: macos/tests/process-identity-locale.test.mjs:10 imports \u0027../scripts/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/tests/process-identity-locale.test.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41421b481d68ad9810cf995ec10455673f308646c240bf66aae3da5e3dba0c8"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: macos/tests/renderer-inject.test.mjs:5 imports \u0027../assets\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/tests/renderer-inject.test.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef30c54d80f0b48b96c373c7125bd1ea2d5fbf41ae1006d6bf88cfd85ef8d96"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: macos/tests/restart-cancellation.test.mjs:9 imports \u0027../scripts/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/tests/restart-cancellation.test.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c622173a0ae5ab612b8972908d3bc50f772b4cb4f8f9e52e664ee40a5fec5a98"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: macos/tests/update-fallback.test.mjs:8 imports \u0027../scripts/\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/tests/update-fallback.test.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe0fc1af7a47e6c35b889dbcb8d41bd5992374bb6ae8a1338615d9db9782f17"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: windows/tests/renderer-inject.test.mjs:5 imports \u0027../assets\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/tests/renderer-inject.test.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea1215dd3a12e6d0a905b98ab3f24a017597fa4b9b4b187c6798884dfd72e61"}},{"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":"macos/assets/renderer-inject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d4880722585296b110c447aaee7b922c3606e238706d1bf3205249c72d02b6"}},{"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":"runtime/renderer-inject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4fe7425edeb3115b4b7b977e544fb44a50f799eb3cb3226504214af3e9ab20"}},{"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":"windows/assets/renderer-inject.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5b84d7d7133e1c14a0375b4d2e8014e6a8b1ac0258aadc135211be7e1b4851"}},{"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":"runtime/theme-package-validator.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c52f9429cbe5051206d951fdd8592f71b8eb163959d2d42d1aa8271b655852"}},{"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":"runtime/image-metadata.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c87195191f73cd31e0f0f2c4a686f30c0b1885c44c2e84aa051bd5ca482696"}},{"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":"macos/scripts/check-image-dimensions.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8996927d520ec87989051fc7c14fb218e0e78c3d1de339c5ea36bf4c1d72b9f"}},{"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":"macos/scripts/validate-safe-css-file.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d561ba09e620ac976042f7cf53d378d63738bafcb452a3ee3fab984356b24e"}},{"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":"runtime/validate-safe-css-file.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"799b7419ef999ae37c7aec8db482c8aa0318833561f6360a275ea89970fd0d23"}},{"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":"windows/scripts/validate-safe-css-file.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3d64dbee09b0cc4edc2febe6fd322778c8e0654ad3e58e06f854e6f8365be5"}},{"ruleId":"R6","level":"warning","message":{"text":"The declared test suite includes a file that cannot be loaded: This repository declares test tooling, and the \u2713 above records that declaration \u2014 but macos/tests/process-identity-locale.test.mjs and 4 other test file(s) in this workspace cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) \u2014 each one is reported with its failing import under Test Coverage \u2014 then the declared script exercises what it claims to."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/tests/process-identity-locale.test.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fed3ec4ad4a23fe7d7c9b6387ba89f88b4ddb541742a10d9343abbaddc7207a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(manifest.files) || manifest.files.length \u003C 2 || manifest.files.length \u003E 8\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cf47910b4e47722d873679dc5271ede533116468ee61204789816208a35e4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(value) || value.length \u003C min || value.length \u003E max\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bcabe164648ec23476f83e5fc5cba2ce3b75fa52925377a4e62cab9b89d5b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(options.waitSeconds) || options.waitSeconds \u003C 0 || options.waitSeconds \u003E 600\u0060 appears character-identically in 2 files \u2014 tools/capture-dom-fixture.mjs, tools/doctor-selectors.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ca102655b793f539866e7502a56cf4bc87097ae26035536c47fbae8f7cb15c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(options.port) || options.port \u003C 1024 || options.port \u003E 65535\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f3789925cc5eaa72c935ce9da151250f11358334b2fd11520a9cd6d94d9013"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(entry.bytes) || entry.bytes \u003C 1 || entry.bytes \u003E limit\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd694858e40a05316c07d5d75a7cee03246efc3185521d7b55bd51fd458632e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(width) || !Number.isSafeInteger(height) || width \u003C 1 || height \u003C 1 || width \u003E MAX_IMAGE_DIMENSION || height \u003E MAX_IMAG\u2026\u0060 appears character-identically in 3 files \u2014 macos/scripts/image-metadata.mjs, runtime/image-metadata.mjs, windows/scripts/image-metadata.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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f4d7819be6ee65e8ace71850e70ca1e87d06df82f7e2700efecbe4eb84eb69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!after.isFile() || before.dev !== after.dev || before.ino !== after.ino || before.size !== after.size || before.mtimeMs !== after.mtimeMs ||\u2026\u0060 appears character-identically in 3 files \u2014 macos/scripts/validate-safe-css-file.mjs, runtime/validate-safe-css-file.mjs, windows/scripts/validate-safe-css-file.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":"macos/scripts/validate-safe-css-file.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f44a95fc4693eadb5aa71ee681c3e3ee89dbdfbb1193acd0265bc580de541cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!before.isFile() || before.size \u003C 1 || before.size \u003E 256 * 1024\u0060 appears character-identically in 3 files \u2014 macos/scripts/validate-safe-css-file.mjs, runtime/validate-safe-css-file.mjs, windows/scripts/validate-safe-css-file.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":"macos/scripts/validate-safe-css-file.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f527eec9ecaec9731c1c4e177aaff633fe524dcbc191239dff4160d3b93d17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!before.isFile() || before.size \u003C 1 || before.size \u003E MAX_SAFE_CSS_BYTES\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"646b8e18b7cdb5fe0b480c7d36e11ccb4bad5a7bbc0670cbf945ff174a3ebf05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!before.isFile() || before.size \u003C 1 || before.size \u003E maxBytes\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e58b921ec94148ee3c3a20e4791a7f136ea57a02bd62aee1eb48647a190a74f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!calendarValid || !Number.isFinite(Date.parse(value))\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"de671c857281e159c349d6a39c778ebc733d6f329217cdabe420d2c8d4e3f241"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!components || components.length !== expected\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a826edf9cdb1887829f573ae51b806f17bca6c641dda3eefbfd95e70b7662d2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry.isFile() || entry.isSymbolicLink()\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e139355013899b15f93349cb328275b162566de66496d252c5fc8df5c45732ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!entry?.key || !entry.selector || SELECTOR_MAP.has(entry.key)\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5314b108bb71d6f6876e5242d07cbca63af99df476435ebaf3b82fc0694d495d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!files.has(\u0022theme.json\u0022) || backgrounds.length !== 1\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c7fe3ad4d83dac104cec86d5360e74fc799880dd3c3130f0e8a113b5c70c97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!filters || filters.length \u003C 1 || filters.length \u003E 4\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafb99f98f3afbfe69f42485eb6032d6989ec33d187be39975c9ba3f5314ce22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!flag?.startsWith(\u0022--\u0022) || value === undefined\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8697534972c69878490a12ba1e1a4c789a95937672aa6882ebd492544a176a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!match || !PARTS.has(match[1]) || (match[2] \u0026\u0026 !STATES.has(match[2]))\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9bed5639144e2978f8687f1e46befb87368f9018ef606cd643378cb2cfa4cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!new Set([\u0022source\u0022, \u0022stage\u0022, \u0022platform\u0022, \u0022client-version\u0022]).has(key) || values[key]\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77442e1ee99923622eb9c6943f66031b7e82a086d14c4a40909b8c11b8b581c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!original.isDirectory() || original.isSymbolicLink()\u0060 appears character-identically in 4 files \u2014 macos/assets/theme-package-validator.mjs, macos/scripts/publish-theme-import.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50423b01e0e168ea73aa3b049ebc1232d8e518b5f6802efd3d0c504b3db7a1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!sameFileStat(before, after) || bytes.length !== after.size\u0060 appears character-identically in 5 files \u2014 macos/assets/theme-package-validator.mjs, macos/scripts/injector.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"373730705f72e0dd64568350cbc901649c60629a9d4e7fc487892917c73b143d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!shadows || shadows.length \u003C 1 || shadows.length \u003E 2\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0f13f21f1558479a94db82f150d626bd00869cfcc726eabb5d49ed27f7c7d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!zeroOrPx(values[0], -32, 32) || !zeroOrPx(values[1], -32, 32)\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb757079622d46f76fbf17ee53857c4655d3bbb56b22d1d0c88733f5e641b6d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(char === \u0022;\u0022 || char === \u0022}\u0022) \u0026\u0026 depth === 0\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"40941a1230493756dde118ec24c65f5b1a050d8dfa16d9eff1082c8d6634d2c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060/^(?:0|[1-9][0-9]{0,2})$/.test(value) \u0026\u0026 Number(value) \u003C= 255\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad26bdfdeb1e9ba0592bda4c7618f02b6fe25a43e302e9d8ced8b57b6ff79d66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060BACKGROUND_MEDIA.has(name) || /\\.(?:png|jpe?g|webp)$/i.test(name)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ef25c4cb87432a5873b4ea22e7a81665aa3405fa42c0fa0d96171c1d549249"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Boolean(value) \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"187bb3b819c97d1dd7c56e3a56471df43000bbb440cb95a5d969f6f8731e158b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(number) \u0026\u0026 number \u003E= min \u0026\u0026 number \u003C= max\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27e7bf749bf55c30da51fa484d1b6065bb2387b0dc7d5a48ede5f96cd8644b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isInteger(value) \u0026\u0026 value \u003E= 1024 \u0026\u0026 value \u003C= 65535\u0060 appears character-identically in 2 files \u2014 tools/capture-dom-fixture.mjs, tools/doctor-selectors.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc80e618cb897eaa01de074bfd04cd581b1a20e546b137029b1d55313d2dd5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SELECTOR_CONTRACT.schema !== \u0022codex-dream-skin-selectors/1\u0022 || !Array.isArray(SELECTOR_CONTRACT.selectors)\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fe7dce7f719b1e2bf28889d175bd883d5c137fcb0773acc2d311554c94328a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060String(scope || \u0022all\u0022).toLowerCase().match(/[a-z]\u002B/g) || [\u0022all\u0022]\u0060 appears character-identically in 2 files \u2014 runtime/renderer-inject.js, tools/doctor-selectors.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":"runtime/renderer-inject.js"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"4357db7ff34de2dfc5b140adb4015b9172ffae005a9b69b9d6b77117f1ef9e7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060art.safeArea !== undefined \u0026\u0026 !new Set([\u0022left\u0022, \u0022right\u0022, \u0022none\u0022]).has(art.safeArea)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e84e4ce276ab6d4f51a4dd308ac3996a4fbce72d32d553336f55e98c5088a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060art.taskMode !== undefined \u0026\u0026 !new Set([\u0022ambient\u0022, \u0022full\u0022, \u0022off\u0022]).has(art.taskMode)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e133ea1cb4fdabb1e23eba1aa2fb7fbba5863c6d7a75819b542b6238974483b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060art[key] !== undefined \u0026\u0026 (typeof art[key] !== \u0022number\u0022 || !Number.isFinite(art[key]) || art[key] \u003C 0 || art[key] \u003E 1)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"c210c88fd34c382ff08aadf2bab4a51fad07f5256b3dac178f7bb21884662d69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.length \u003C 12 || bytes[0] !== 0xff || bytes[1] !== 0xd8\u0060 appears character-identically in 3 files \u2014 macos/scripts/image-metadata.mjs, runtime/image-metadata.mjs, windows/scripts/image-metadata.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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee654111a0a229ecbd2ac849f5fa4666427f08df4a285c2fb8d8427e9c7c724"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.length \u003C 20 || ascii(bytes, 0, 4) !== \u0022RIFF\u0022 || ascii(bytes, 8, 4) !== \u0022WEBP\u0022\u0060 appears character-identically in 3 files \u2014 macos/scripts/image-metadata.mjs, runtime/image-metadata.mjs, windows/scripts/image-metadata.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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27e537cd308af51ab104b445a98d3c8407ba94e54186b10244c88fcf5441f90"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.length \u003E= 12 \u0026\u0026 bytes.subarray(0, 4).toString() === \u0022RIFF\u0022 \u0026\u0026 bytes.subarray(8, 12).toString() === \u0022WEBP\u0022\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf97c4453d1612e39f2f6902ca7496be8009e6f17f82597def6d13efede1c0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.length \u003E= 3 \u0026\u0026 bytes[0] === 0xff \u0026\u0026 bytes[1] === 0xd8 \u0026\u0026 bytes[2] === 0xff\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bd1ef8e1ffd0f912a96999e82a6e7aeb35fccd1bd9fe2a47f1ad1635c7285b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cdpCode === -32601 || /\\(-32601\\)\\s*$/.test(message) || /^method(?: [\u0027\u0022]Browser\\.getWindowForTarget[\u0027\u0022])? not found$/i.test(withoutCode) || \u2026\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb92f149284dcc97e461bf05d9ddf1884445b49088977cac0a2c035ff68c7ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060char === \u0022;\u0022 || char === \u0022{\u0022 || char === \u0022}\u0022 || char === \u0022@\u0022 || char === \u0022!\u0022\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cd39835553a7af0676ecab9b631c20c25fc24e532ff73438e005fd844dce50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060char === \u0022{\u0022 || char === \u0022[\u0022 || char === \u0022]\u0022 || char === \u0022@\u0022 || char === \u0022!\u0022 || char === \u0022\\\u0022\u0022 || char === \u0022\u0027\u0022\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0cfa6680277af6dab03336a7fb28ac8509cb2032ddd0397458d03a35e03f20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060char === \u0022}\u0022 || char === \u0022;\u0022 || char === \u0022@\u0022\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c77bbdfb1354224e35a78dd4ced13c17ec818c3af9cc752dc553a7a4586e4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060components.slice(0, 3).every(colorChannel) \u0026\u0026 (expected === 3 || alphaChannel(components[3]))\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"514cf790d1664732796724e2e4f1ecadd497d521974b2f797af203783ba4d552"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data?.schemaVersion !== 1 || !data.themes || typeof data.themes !== \u0022object\u0022 || Array.isArray(data.themes)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-preferences.mjs, runtime/theme-preferences.mjs, windows/assets/theme-preferences.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":"macos/assets/theme-preferences.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaf6200609ba2cda3abd1695269d4cc14506f1bf6a597c0b52e030779cbb176"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declaration.property === \u0022background-color\u0022 \u0026\u0026 CORE_BACKGROUND_IMAGE_PARTS.has(part)\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f7691542d86447f8bdad804753a4d4fd17bf3a0b379ed26cd1d48f96e19e6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.LOCALAPPDATA || path.join(home, \u0022AppData\u0022, \u0022Local\u0022)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-preferences.mjs, runtime/theme-preferences.mjs, windows/assets/theme-preferences.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":"macos/assets/theme-preferences.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa2b421d1e498d4db80324ab3415d6828dcc90462fcd22ffc9f76d15d594bac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.code !== \u0022ENOENT\u0022 \u0026\u0026 !warned.has(preferencesPath)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-preferences.mjs, runtime/theme-preferences.mjs, windows/assets/theme-preferences.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":"macos/assets/theme-preferences.mjs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c4a1cbbeda9706d459c494db851652abea28d8fbae31b5811707072feb3db7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extension === \u0022.jpg\u0022 || extension === \u0022.jpeg\u0022\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52cc6302eb03c94fa66f36c8231d7828e238f040b76047d7ddbf67f47e7ec52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index !== 0 || !( registeredVar(argument, new Set([\u0022--ds-theme-surface-blur\u0022])) || zeroOrPx(argument, 0, 30) )\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"25048d111c4e39caeef1807d300a3908c3e627b7fd0928df4ea994694070030a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left.isFile() \u0026\u0026 right.isFile() \u0026\u0026 left.dev === right.dev \u0026\u0026 left.ino === right.ino \u0026\u0026 left.size === right.size \u0026\u0026 left.mtimeMs === right.mt\u2026\u0060 appears character-identically in 6 files \u2014 macos/assets/theme-package-validator.mjs, macos/scripts/injector.mjs, macos/scripts/stage-theme.mjs, runtime/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6aed75b35c712d66b23b88c7e1416174b299c7d1961ee0eef483847a8d28a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060length \u003C 2 || offset \u002B length \u003E bytes.length\u0060 appears character-identically in 3 files \u2014 macos/scripts/image-metadata.mjs, runtime/image-metadata.mjs, windows/scripts/image-metadata.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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6f5fa72ef3b2043cbaef8c27510acbc451e1c82b549b4ec96155be2c92fae9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060length \u003C min || (max !== undefined \u0026\u0026 length \u003E max)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"16518b6c6d4c32c5a4193371a0babf19f60668de033ca2ca5c0a586e003d60fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060marker === 0x01 || (marker \u003E= 0xd0 \u0026\u0026 marker \u003C= 0xd8)\u0060 appears character-identically in 3 files \u2014 macos/scripts/image-metadata.mjs, runtime/image-metadata.mjs, windows/scripts/image-metadata.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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cbb6e56c96bbb48c36a6f363a02bbfccfb6132c4a0c0a24b747d6cac540cf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name !== \u0022manifest.json\u0022 \u0026\u0026 name !== \u0022manifest.sig\u0022\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda8e02dc763b283d7568014dbcbf18ea3b044b493fdb132a8295e7460023670"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name === \u0022brightness\u0022 || name === \u0022contrast\u0022\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb371fc3126b091a6b93f4b71affbad7915d9c55718067d615197f1b4f16142"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060names.length !== 3 || !names.includes(\u0022theme.json\u0022) || !names.includes(\u0022theme.css\u0022)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e77b6a117b29686f46bd26e4b768ad2a47ea0e95d6e1b9e3d2441bafb7e57e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022.jpg\u0022 || normalized === \u0022.jpeg\u0022 || (bytes[0] === 0xff \u0026\u0026 bytes[1] === 0xd8)\u0060 appears character-identically in 3 files \u2014 macos/scripts/image-metadata.mjs, runtime/image-metadata.mjs, windows/scripts/image-metadata.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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"805d310068d6734164d8c63138bd6b34b9bf5f32c2455d716f54f5365abab6f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022.png\u0022 || bytes[0] === 0x89\u0060 appears character-identically in 3 files \u2014 macos/scripts/image-metadata.mjs, runtime/image-metadata.mjs, windows/scripts/image-metadata.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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecd02cea863009045d5ac5dc948388709d0058172ead3d1154b0a05eeb609c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized === \u0022.webp\u0022 || ascii(bytes, 8, 4) === \u0022WEBP\u0022\u0060 appears character-identically in 3 files \u2014 macos/scripts/image-metadata.mjs, runtime/image-metadata.mjs, windows/scripts/image-metadata.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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0f559e48628e7209a4c8c42d296ddac4b1ceb0efc63f75ef881f21ef44605b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060offset \u003C bytes.length \u0026\u0026 bytes[offset] === 0xff\u0060 appears character-identically in 3 files \u2014 macos/scripts/image-metadata.mjs, runtime/image-metadata.mjs, windows/scripts/image-metadata.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":"macos/scripts/image-metadata.mjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d041dfed1c1883e9f38e10f5a252b638e7cc74bebac5647dab0c93b1daff74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.mode === \u0022once\u0022 || options.mode === \u0022remove\u0022\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"10584837e8e07d812906e2ffacdbe0251c69f826d2c19dc01bc5486edb5a351a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.mode === \u0022once\u0022 || options.mode === \u0022verify\u0022 || options.reload\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b311d20cc73388c3cf2fd5858141e22c01aa5683b94cb027b18f7fc1b75c5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.operationToken !== null \u0026\u0026 !/^\\d{1,12}:\\d{13}:\\d{1,8}$/.test(options.operationToken)\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d89ba7c6d61a4143b9c7812829749ec4be26a5bc56d8e3a8065ec0e3546c997"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.port !== null \u0026\u0026 (!Number.isInteger(options.port) || options.port \u003C 1024 || options.port \u003E 65535)\u0060 appears character-identically in 2 files \u2014 tools/capture-dom-fixture.mjs, tools/doctor-selectors.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"384170f6d59aa6dcab763d63f88a777b6b7aa1b7d78318af0fc7f94ce65b1149"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.screenshot \u0026\u0026 !screenshotCaptured\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd3b744e0c0eb6464646290f5d6a7956b2c431ccece7cd6e01c520f96e14e14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part === \u0022composer\u0022 \u0026\u0026 composerBaseBorderProperties.has(declaration.property)\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea7afa11e8557ff5581b52d19534ebc4d787f76a8d2ce98a17e69befb2299fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.basename(entry.name) !== entry.name || CONTROL_PATTERN.test(entry.name)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5d57f9519a29a308f1167cf586ecbd18863f74b92ec3f98abf63399ea5997a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.basename(name) !== name || maxBytes \u003C 1\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cd9f0f4141ed6be9be59146bac7396f12a597285d32083f0ff0c49e31a46d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.basename(theme.image) !== theme.image || CONTROL_PATTERN.test(theme.image) || !/\\.(?:png|jpe?g|webp)$/i.test(theme.image) || !names.inc\u2026\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f759cc83c5b8032912fc43d3ff54757e2339c0598f8af67a3090f027e6df8ce0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060probe?.excludedPetSurface \u0026\u0026 !await cleanupExcludedSurface(session)\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"9588344f3402abc823834dc1a83e23765b7be9cd50480269cca55176d9e74320"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.platform === \u0022win32\u0022 \u0026\u0026 process.env.LOCALAPPDATA\u0060 appears character-identically in 2 files \u2014 tools/capture-dom-fixture.mjs, tools/doctor-selectors.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc393dcb138ea8ae320dd7b4c9e8bff677296f5dadb474ae8b2558cec6ac0c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw.colors \u0026\u0026 typeof raw.colors === \u0022object\u0022 \u0026\u0026 !Array.isArray(raw.colors)\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3843da47922a0584f269f90cf33d20612ab3e538b0b3ea2654f76c673ef65b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060registeredVar(value, new Set([\u0022--ds-theme-surface-opacity\u0022])) || numeric(value, 0.65, 1)\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5f0bca8207a2c049178142896979c6e9b765237254310ec593275ec3b48ece"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requireEmpty \u0026\u0026 (await fs.readdir(resolved)).length !== 0\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4611e39b032da9df3e483e99aedb54fde3fd8da993613c9d7ef7f38035ea9394"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result?.visible || result?.cleared || result?.removed\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32a8d8f21082b259d6ba96dff3e50f576a3ffe36577a1df47bda6ff9bb89268"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selector.part !== \u0022composer\u0022 || selector.state\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cf45f5a10621f9cc589e751670837db6ebc5fdae47bff51f13c60dacc0e821"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start !== -1 \u0026\u0026 whitespace \u0026\u0026 depth === 0\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76c7d2655289a78946626d634c3c43084f7c22f0e1bf3c222a6d4a1f994695a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060theme.appearance !== undefined \u0026\u0026 !new Set([\u0022auto\u0022, \u0022light\u0022, \u0022dark\u0022]).has(theme.appearance)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f7d7f5f7c481bb82eaeedaba74951df1b69362126faf621ee6deb56e8aa13f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060theme.schemaVersion !== 1 || typeof theme.image !== \u0022string\u0022 || !theme.image\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df4687be3e92504963bad550dee088b44705e56408cb3b287c3e70bae71f529"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.index \u003C this.source.length \u0026\u0026 /[\\t\\n\\r\\f ]/u.test(this.source[this.index])\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d828a0999b7651790fe457f1f099e79f8dcd8d4d1f2b628a5b8c30cd90b2c1b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.index \u003C this.source.length \u0026\u0026 this.source[this.index] !== \u0022:\u0022\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"85afd6a53b691074edcea6ba8a38b37e4b0d49d85f6c82e201f21259e118ce29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.index \u003C this.source.length \u0026\u0026 this.source[this.index] !== \u0022{\u0022\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb47846cd057b9f92dc6190c1fa0143124df4eb3df679d3e3bda6e6afd5351e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry.path !== \u0022string\u0022 || !PAYLOAD_MEDIA.has(entry.path)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ecadeef758587da697b6c4932ec5e4b528e54cacbe0028d9f4c629029af5ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry.sha256 !== \u0022string\u0022 || !/^[0-9a-f]{64}$/.test(entry.sha256)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"137ee2cd41becc192cc6b0198a526cfcbcc6d3b75392d06177056f605f59301f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof item !== \u0022string\u0022 || !allowed.has(item)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bbe135531cdb8c6b0f80dd3de6433f466f78d9fc4326e78dd07d69ae4c12a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof options.operationMessage !== \u0022string\u0022 || options.operationMessage.length \u003E 240 || /[\\r\\n]/.test(options.operationMessage)\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7e03d279c0df31f9d9d3a1476acf8bbd20145d7ba26b2405592013d90341fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022number\u0022 || !Number.isFinite(value) || value \u003C 0 || value \u003E 100\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-preferences.mjs, runtime/theme-preferences.mjs, windows/assets/theme-preferences.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":"macos/assets/theme-preferences.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8342d07ef466d31d0f82a67ca317ebd62b1281cfffc78b58312be7c09970ea4c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0022string\u0022 || CONTROL_PATTERN.test(value) || codePointLength(value) \u003E maxCodePoints\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a8d3349bc4b9c1e8d259f26b2661fa61ec29bf577ec648a7762ee407412a0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0022ws:\u0022 || !LOOPBACK_HOSTS.has(url.hostname) || Number(url.port) !== port || url.username || url.password || url.search || ur\u2026\u0060 appears character-identically in 2 files \u2014 macos/scripts/injector.mjs, windows/scripts/injector.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":"macos/scripts/injector.mjs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"577e38506ea39d1618f7517a9069b52536965022612da2ffc62fd120661f487d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u00220\u0022 || numeric(value, 0, 2, \u0022px\u0022)\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e44c4eededbb9baac3210daa541e5060d3291bd2466a435c1bf3f2675f1af7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u00220\u0022 || numeric(value, min, max, \u0022px\u0022)\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cc249b37fc2aa99687b867a2a2fa9c887113c9262fb26d59881295a943f35a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060values \u0026\u0026 values.length \u003E= minimum \u0026\u0026 values.length \u003C= maximum \u0026\u0026 values.every(validator)\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22974b467ee2b9cf53b2543786392a9c32e5bb89c6fbe2eb0984deb311b5cb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060values[2] !== undefined \u0026\u0026 !zeroOrPx(values[2], 0, 48)\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e4b4300facc8df0ecf1f96d8aaef141298e926ab1e4e95a9aeacf399053297"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060values[3] === undefined || zeroOrPx(values[3], -8, 16)\u0060 appears character-identically in 3 files \u2014 macos/assets/safe-css-validator.mjs, runtime/safe-css-validator.mjs, windows/assets/safe-css-validator.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":"macos/assets/safe-css-validator.mjs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb64c92e1e16db3388b513af8b12dafaa50ed06da92e6e441b312cf9fdbd5c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060year % 4 === 0 \u0026\u0026 (year % 100 !== 0 || year % 400 === 0)\u0060 appears character-identically in 3 files \u2014 macos/assets/theme-package-validator.mjs, runtime/theme-package-validator.mjs, windows/assets/theme-package-validator.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":"macos/assets/theme-package-validator.mjs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3795668832056bbe91c2cc1a011924a75c5cc9284565569422cc6b5e04184b3f"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions override nullable warnings: ~1.1 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 6 suppression(s) across the 5357 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a4afaefbfeb512a0b9a87d1bd44cd285ab1e804e4b89c8cf80f255687dfd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060AuthoredTransparency\u0060 returns \u006030\u0060 when \u0060match.Success\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/theme-manager/Core/ThemeStore.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdea94357b467f09221aee53407977100cb15479ccf560f72b8cba87a95edec2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060queryAll\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/assets/renderer-inject.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"064ae3c264d0b8bf0ea805206c0d7778a1777faa9814b86840c1bea77739722d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060queryAll\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"runtime/renderer-inject.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feca3873713f6227e099fa4216ea2ee98e7de10c3ecad9d5835cd0999bae812"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pageCapture\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/capture-dom-fixture.mjs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5739e2701d98bd0fdfc71eef8831c90274691329381904a177ba51a17f14b2c3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060stableTestidCount\u0060 (in \u0060pageDoctor\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":"tools/doctor-selectors.mjs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc420475986b405061538c16b62770bc7ebc8f4c335459d10b81b0a5b8e1a4d9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060discover\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/doctor-selectors.mjs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b9d7bf22836883f74c51afb3095c6fce908c0664e7148b745abc68322b3669"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060queryAll\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/assets/renderer-inject.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef5d5fc3e4d98cebf9c10988387dacd16c0551bcd3e6726f126366440725387"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-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-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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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":19,"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."]}]}