{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"main.registerIPC (cyclomatic 55): main.registerIPC has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 1 of the 55 points is its own statement and the rest belongs to 14 function literals inside it that branch (lines 192, 238, 182, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/electron/main.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"540c2ff207238ecc505d2ee8874afaef0d520a55fc7e904902a16dd42521b950"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPages.CleanupScan (cyclomatic 47): ToolPages.CleanupScan has cyclomatic complexity 47 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 18 belong to 8 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b77c7ef77f08cf749538956b412e9cafb390d5eb3ea4afa0df69a515bf67f32"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPages.DuplicatesPage (cyclomatic 46): ToolPages.DuplicatesPage has cyclomatic complexity 46 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 26 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"71be656ea7aef50347f572769f858ffaa8b471f73004aa442e66bae03fa013f7"}},{"ruleId":"D1","level":"warning","message":{"text":"store.isSnapshot (cyclomatic 42): store.isSnapshot has cyclomatic complexity 42 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/electron/services/store.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f695a3b7290ec570fd50896f3c0744baca1d7dfb1bc9f8c32876250b718f918"}},{"ruleId":"D1","level":"warning","message":{"text":"MonitorPage.Overview (cyclomatic 36): MonitorPage.Overview has cyclomatic complexity 36 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 6 belong to 4 function literals 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/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36972ab6f49df42bff42ebb906ca55ed81ca8fc51ea8545c2382e88489f61b8"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 35): App.App has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 13 of the 35 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 90, 48, 77, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/App.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d16ead427ed73fbd627cd7f34d7996a19b64bb7066871d789119d7e1cb0d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"CleanList.fromEngineOutput (cyclomatic 34): CleanList.fromEngineOutput has cyclomatic complexity 34 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 4 belong to one function item 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/Sources/CleanList.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9ac8f69f671dd5fc23be93b44df94ec5dac40582b2fbc39f1a854ef68ae183"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationFlow.start (cyclomatic 34): OperationFlow.start 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/Sources/OperationFlow.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"393e73f65a1f665547f8017487c757bf07982d6efada07d1f175792c460ddde0"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftwareModel.engineUninstall (cyclomatic 33): SoftwareModel.engineUninstall has cyclomatic complexity 33 (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/Sources/SoftwareView.swift"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdae6a4090047d1516c12c5675f6173f8170d56b9a122d679e483899f9ce64f2"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPages.AnalyzePage (cyclomatic 31): ToolPages.AnalyzePage has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 768, a function literal at line 710, drill, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"26614f07ce1d209ae99117defc584afe6239e5d853a2426a9fc24441c8cdfd7a"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdatesModel.checkNow (cyclomatic 30): UpdatesModel.checkNow has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/UpdatesView.swift"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1d4616669ecc032a54eaa532c18fe4956c25740ebe08bd5ce4cda8b81f62d4"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.startServices (cyclomatic 29): AppDelegate.startServices has cyclomatic complexity 29 (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/Sources/AppDelegate.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c0f51b8b6e74cb856dd3e306058cbed9dbcc2d59881a4c49c3a2f75215130e"}},{"ruleId":"D1","level":"warning","message":{"text":"RecycleBinDeletionService.DeleteAsync (cyclomatic 28): RecycleBinDeletionService.DeleteAsync 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/Services/RecycleBinDeletionService.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"965faa42786b0f2093319607027c0e83be7fff3caab9815c0e4c6d5986372ff1"}},{"ruleId":"D1","level":"warning","message":{"text":"BurrowStreamReport.reduce (cyclomatic 26): BurrowStreamReport.reduce has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item 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/Sources/BurrowStreamReport.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d609e522d343ca3f0fdee64b729d7be2d01ae3eed8ae31c73b4df6bdc9838bcd"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateFailurePolicy.classify (cyclomatic 25): UpdateFailurePolicy.classify 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/Sources/UpdateCheck.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8788d75995a0c828697309c14847a2457ad9d596ed5ad28b7bfa7788bd9bc4cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectronReplacementInstaller.stage (cyclomatic 25): ElectronReplacementInstaller.stage 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/Sources/UpdateWorkflow.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e036c3ef74e3cc32aacc1768d9a5659c95ba18d0e38e6b177e53408061b828"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPages.NetworkPage (cyclomatic 25): ToolPages.NetworkPage has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 7 function items inside it that branch (lines, a function literal at line 1648, a function literal at line 1526, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f528502b0e52d1dd070a6058ecbda7c4b600df6b0431e697394373a5c433fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"Metric.value (cyclomatic 24): Metric.value has cyclomatic complexity 24 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MetricsStore.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32c2a82f283d8d1db6499b58b99703fddd4aed8ae418c6731cbad9128f2f82b"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectronReplacementInstaller.parseSemanticVersion (cyclomatic 24): ElectronReplacementInstaller.parseSemanticVersion 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/Sources/UpdateWorkflow.swift"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"6099597484e51cf04097918cc13f45489d24591d283a986588225cf7de3e685f"}},{"ruleId":"D1","level":"warning","message":{"text":"HelperService.execute (cyclomatic 23): HelperService.execute has cyclomatic complexity 23 (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/HelperSources/HelperService.swift"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"359e0118366916c467863ef92aa8b3de80a3622796cc6b6cea525673d38cbb44"}},{"ruleId":"D1","level":"warning","message":{"text":"BurrowStreamReport.reduceEnvelope (cyclomatic 23): BurrowStreamReport.reduceEnvelope has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/BurrowStreamReport.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63df3669fa81e9b1a9e4655e24ea5116fca169fc8e098dca32e5a418db7764f"}},{"ruleId":"D1","level":"warning","message":{"text":"SnapshotPatcher.patch (cyclomatic 22): SnapshotPatcher.patch has cyclomatic complexity 22 (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/Sources/MetricsCore.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6db263c5634cedc1de3c8e5c29587aff22fea1bc5cdf43a81da15d0659a480"}},{"ruleId":"D1","level":"warning","message":{"text":"verify-sparkle-appcast.validate (cyclomatic 22): verify-sparkle-appcast.validate has cyclomatic complexity 22 (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":"scripts/verify-sparkle-appcast.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b66f7ce5f890095517f291d40360717c85df3638e80fa47dab0b0c56bc4444"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanService.duplicates (cyclomatic 22): ScanService.duplicates has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 belong to one function item 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/typescript/electron/services/scanner.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd20e8b18e4e92e7fd3d824142ac118ecb9b153c106cd980a30b60aadcc080c"}},{"ruleId":"D1","level":"warning","message":{"text":"CleanList.parse (cyclomatic 21): CleanList.parse 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/Sources/CleanList.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ad3a660c8ccaf1082b5220a5a902a5e59948466827798875cc726dba2d7082"}},{"ruleId":"D1","level":"warning","message":{"text":"CrashReporter.scrubForTransport (cyclomatic 21): CrashReporter.scrubForTransport 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/Sources/CrashReporter.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e23f9dcd01ec02e8700ada868ff0b95573b02ef08de543a19a63e557402cd6f"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemProcessPort.events (cyclomatic 21): SystemProcessPort.events has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 2 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":"macos/Sources/OperationFlow.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"40023c7e1197697599b057a6ab8c2f0df70a90cae4ef39b5bdf8956e7401557e"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectronReplacementInstaller.semanticVersionComparison (cyclomatic 21): ElectronReplacementInstaller.semanticVersionComparison 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/Sources/UpdateWorkflow.swift"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b09cb6b2af15998a41ffaa725af36f8de113ade2f9d8f24c358636382427a9b"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdatesModel.check (cyclomatic 21): UpdatesModel.check 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/Sources/UpdatesView.swift"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc1e0e28007c08fee75a37b1f927e9ae80dd72df7604ea9fd1d98dd377e1653"}},{"ruleId":"D1","level":"warning","message":{"text":"HelperReviewedPathPolicy.validate (cyclomatic 21): HelperReviewedPathPolicy.validate 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/Sources/PrivilegedHelper/HelperContract.swift"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e97e21a2e6b199df8d523b5b1a1b5f7f34538d1ff8a4b5fdc556058e6a901b"}},{"ruleId":"D1","level":"warning","message":{"text":"RootView.body (cyclomatic 20): RootView.body 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/Sources/RootView.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41c796772a4d1d2ecffcf8bcb5470a3560219bf4afbbe8a305ffe371fb660e8"}},{"ruleId":"D1","level":"warning","message":{"text":"HelperInvokingUserResolver.resolve (cyclomatic 20): HelperInvokingUserResolver.resolve has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/PrivilegedHelper/HelperContract.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"6722b8716314fe83a0cfd43f7bfa10a9f98bdd517d652bd2f7febb060163c546"}},{"ruleId":"D1","level":"warning","message":{"text":"HelperRequest.validate (cyclomatic 20): HelperRequest.validate 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/Sources/PrivilegedHelper/HelperContract.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f50be219c83ca8f20190fda1bf34e4b5f526fce2cf10751d8c7b38cf1130356"}},{"ruleId":"D1","level":"warning","message":{"text":"TelemetryService.collect (cyclomatic 20): TelemetryService.collect has cyclomatic complexity 20 (threshold 15). Of this number, 11 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/typescript/electron/services/telemetry.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eef42598cc290ba7bb5d533f4587e533f51aae656bf16a42fce70d9f244a97"}},{"ruleId":"D1","level":"warning","message":{"text":"PortEnumerator.connections (cyclomatic 19): PortEnumerator.connections 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/Sources/PortEnumerator.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f004ce0be474d56ad1ee8077fee8d1508113ad726523058ec016f0f1bf04c19"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectronUpdateDescriptor.parse (cyclomatic 19): ElectronUpdateDescriptor.parse has cyclomatic complexity 19 (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/Sources/UpdateWorkflow.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bd10e9c19a968c64b6916f1f870efd2b999514e69aede3808d751cac8819b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectronReplacementInstaller.restoreVerifiedBackup (cyclomatic 19): ElectronReplacementInstaller.restoreVerifiedBackup 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/Sources/UpdateWorkflow.swift"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aacf15ed1b776a8cc92814b43a1eb45ad40368fe840d01272842a9533d6875"}},{"ruleId":"D1","level":"warning","message":{"text":"site-i18n.main (cyclomatic 19): site-i18n.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":"scripts/site-i18n.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2472b42ab57500649c883f715c337e02a0c72bd8bf8ed0d2434dc12605e2a8"}},{"ruleId":"D1","level":"warning","message":{"text":"scanner.validateRoot (cyclomatic 19): scanner.validateRoot has cyclomatic complexity 19 (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/typescript/electron/services/scanner.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7850c36255a91600e3674b2bfa602dc1e0962a77d6fceedc05b992f6e7761e"}},{"ruleId":"D1","level":"warning","message":{"text":"recycle.recycleReviewed (cyclomatic 19): recycle.recycleReviewed 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":"windows/typescript/electron/services/recycle.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"974f040e1d0db969da4996d7c4212fa388df3fe89482964d5793385ad8eecc45"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalMcpServerService.EvaluateRequest (cyclomatic 18): LocalMcpServerService.EvaluateRequest has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: LocalMcpServerService.HandleRequestAsync (cyclomatic 22) 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/Services/LocalMcpServerService.cs"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"466445e8b28c90157eb1733b6cdd3ef9668278ef8fbcdf751c1e63aff11f53c2"}},{"ruleId":"D1","level":"warning","message":{"text":"CleanupSnapshot.capture (cyclomatic 18): CleanupSnapshot.capture has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanupAuthorization.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"826d5110cbc6397ab9e0224cd40d874f4d3960ea2268c636b4486d1957312bae"}},{"ruleId":"D1","level":"warning","message":{"text":"HelperExecutableSnapshot.prepare (cyclomatic 18): HelperExecutableSnapshot.prepare 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/Sources/PrivilegedHelper/HelperCodeRequirement.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bc14060202616d2e3b02445314767888b902a34e261bb96c8678f2df917355"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPages.ScanControls (cyclomatic 18): ToolPages.ScanControls 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ec2e4cd9908ea9af215ee923245f5aa8a030355a14d5a99290704815462d19"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPages.ConnectivityPage (cyclomatic 18): ToolPages.ConnectivityPage has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"369ef2306a2326273a68e9b8287da759cffbba893f4c1d3ca413193ae3904b24"}},{"ruleId":"D1","level":"warning","message":{"text":"CleanupExecutor.moveToTrash (cyclomatic 17): CleanupExecutor.moveToTrash 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/Sources/CleanupAuthorization.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"782368135948e1a5628ecd999e002aa2b8ee4848f8232ea56fbce1e5c467187a"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCatalog.descendAnalyze (cyclomatic 17): ToolCatalog.descendAnalyze 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. This is NOT this file\u0027s highest cyclomatic complexity: ToolCatalog.dispatch (cyclomatic 30) 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/Sources/MCP.swift"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"81398b093cc00a41002537902429f4b812d410e860fd94d182feb178ec0b9fde"}},{"ruleId":"D1","level":"warning","message":{"text":"UninstallPreview.fromEngineEnvelope (cyclomatic 17): UninstallPreview.fromEngineEnvelope 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/Sources/UninstallPreview.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ffcb8ee9d66676ac2d09b15d1ef7d2a7c8c5ae9b62595f35d3316d36ad5ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"upstream_watch.do_releases (cyclomatic 17): upstream_watch.do_releases 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":".github/scripts/upstream_watch.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8ca8f60d8a29f97020fa7b02ccb42626c8e08e1cfa977abf0faf35573bef5e"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPages.AppsPage (cyclomatic 17): ToolPages.AppsPage has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 1200, a function literal at line 1268, refresh, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6168f5b60f397a6f3d0c381d4782c1ee71afddb63f43604360506f82892e1efd"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowsPathSafetyPolicy.Validate (cyclomatic 16): WindowsPathSafetyPolicy.Validate 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/Services/WindowsPathSafetyPolicy.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3428385924fcd8c1b0e15375f897dbf0fd969fffa4292d1779a87c15224e48"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyzeModel.scanWithProgress (cyclomatic 16): AnalyzeModel.scanWithProgress 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/Sources/AnalyzeView.swift"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d14a9773b2a46eb2230b8e8e40e1f7e03044a16deeb191df116a98afd9904b"}},{"ruleId":"D1","level":"warning","message":{"text":"Connectivity.probeAll (cyclomatic 16): Connectivity.probeAll 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":"macos/Sources/Connectivity.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2343cc0c7514e60479eae77b5f69e99f3f6f058915fc8c70c2975b47c0ca1f"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCatalog.execute (cyclomatic 16): ToolCatalog.execute 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. This is NOT this file\u0027s highest cyclomatic complexity: ToolCatalog.dispatch (cyclomatic 30) 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/Sources/MCP.swift"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2e6b3f87fce80cc9a010614ebc67ba63b57c9089398ac7f362d59282ff5def"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidatedElevatedCommand.prepare (cyclomatic 16): ValidatedElevatedCommand.prepare 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/Sources/PrivilegedExecution.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b047921114483df11a4efc08b53181b04562c81a7ca9c730b8c8552f0cc355"}},{"ruleId":"D1","level":"warning","message":{"text":"UninstallGuard.identityProblem (cyclomatic 16): UninstallGuard.identityProblem 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/Sources/UninstallGuard.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"76235dd81c2e001b7c37afa4e03667c01d29720877d6ba78972b6d395453b0a0"}},{"ruleId":"D1","level":"warning","message":{"text":"UninstallPreview.classify (cyclomatic 16): UninstallPreview.classify 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":"macos/Sources/UninstallPreview.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"18395e911a9eb6b709c0de40ce56b8f70082440472201702412476083997d772"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdatesModel.performUpdate (cyclomatic 16): UpdatesModel.performUpdate 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/Sources/UpdatesView.swift"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36306d44ac1cf3d4b69fbef172e433153b499fdf78a849780cfce82c765935"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-conformance.run_checks (cyclomatic 16): mcp-conformance.run_checks 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":"macos/scripts/mcp-conformance.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a86753b62a8a9d4a4706f2a9bca15a22bd3ab755b2a4354d314c82c038fb5"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanService.scan (cyclomatic 16): ScanService.scan has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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/typescript/electron/services/scanner.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"10437ec238ab0351ce2cc3319b24f176530909a790bee593b459cc243f3882e0"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanService.purge (cyclomatic 16): ScanService.purge has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5af463be51286f81613cb461582a80793677934199af23f0fddf23979265503"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPages.DuplicatesPage (cognitive 65): ToolPages.DuplicatesPage has cognitive complexity 65 (threshold 15). Drivers by points: ternaries 14 (33 pts), boolean chains 17, if/else 4 (7 pts), loops 5 (7 pts), error handling 1 (nesting depth added 24). Of this number, 28 points are the body\u0027s own statements and 37 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e08868cb2c997dacac0f95b1a7dde30890c02d0f0b317968f63be6e388a118"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationFlow.start (cognitive 62): OperationFlow.start has cognitive complexity 62 (threshold 15). Drivers by points: if/else 22 (44 pts), boolean chains 6, ternaries 2 (6 pts), match/switch 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 28). 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/Sources/OperationFlow.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e7d28ebc91a7012e3b2f3105a9a473c5f274a908748268af86550299d23560"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPages.CleanupScan (cognitive 62): ToolPages.CleanupScan has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 16 (35 pts), boolean chains 15, if/else 7 (10 pts), error handling 1, loops 1 (nesting depth added 22). Of this number, 35 points are the body\u0027s own statements and 27 belong to 8 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4702c75bdc76d8787857b7bc74f05d40eaea5559c1d12b62e5dc140b6f972cb7"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanList.fromEngineOutput (cognitive 56): CleanList.fromEngineOutput has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 13, ternaries 3 (9 pts), loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 23). Of this number, 51 points are the body\u0027s own statements and 5 belong to one function item 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/Sources/CleanList.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4effc513660376728fd7ede3a94d7127493ab37ef9da0672a80f33dd56dd55a3"}},{"ruleId":"D2","level":"warning","message":{"text":"main.registerIPC (cognitive 51): main.registerIPC has cognitive complexity 51 (threshold 15). Drivers by points: if/else 23 (26 pts), ternaries 9 (12 pts), boolean chains 9, error handling 2, loops 2 (nesting depth added 6). None of this is in the body itself: all 51 points belong to 14 function literals inside it that branch (lines 238, 360, 228, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/electron/main.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb732d0db655e6a57cabe533c57e87cd69fa1d63c418a9c2d889e9155df26363"}},{"ruleId":"D2","level":"warning","message":{"text":"BurrowStreamReport.reduce (cognitive 46): BurrowStreamReport.reduce has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (37 pts), ternaries 1 (5 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 24). Of this number, 44 points are the body\u0027s own statements and 2 belong to one function item 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/Sources/BurrowStreamReport.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5115ef27fccfa7ee684fa83b2d4005be8c23728fd2b6f7f86b5550b3fefd26f5"}},{"ruleId":"D2","level":"warning","message":{"text":"PortEnumerator.connections (cognitive 46): PortEnumerator.connections has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (42 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 26). 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/Sources/PortEnumerator.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"568939aff0576fdcd6b59719e24f6bc7e6a2346e9e9a7ad0242331f08250cc9f"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemProcessPort.events (cognitive 41): SystemProcessPort.events has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 3 (5 pts), error handling 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 20). Of this number, 38 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/OperationFlow.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9561ed0168ee3163559390519f6673aa2a712c1c8f1855b6964b08f40752942"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftwareModel.engineUninstall (cognitive 41): SoftwareModel.engineUninstall has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 7, ternaries 5 (7 pts), match/switch 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/Sources/SoftwareView.swift"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50424a1e19b6f28d416383814242ebcd683819ec03d36db07240a7a9534a24a"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdatesModel.checkNow (cognitive 41): UpdatesModel.checkNow has cognitive complexity 41 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 6, loops 4, ternaries 2 (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/Sources/UpdatesView.swift"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88a1066657ab9d9b64e2dd0abeb14782c379b2628a7aff93d975db0540ecee9"}},{"ruleId":"D2","level":"warning","message":{"text":"MonitorPage.Overview (cognitive 41): MonitorPage.Overview has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 24 (32 pts), boolean chains 9 (nesting depth added 8). Of this number, 36 points are the body\u0027s own statements and 5 belong to 4 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":"windows/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"00028d91cd60568cc95d92437b38ff701543a868e466cd9965b6b7bedb871706"}},{"ruleId":"D2","level":"warning","message":{"text":"BurrowStreamReport.reduceEnvelope (cognitive 38): BurrowStreamReport.reduceEnvelope has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 6 (11 pts), loops 6 (9 pts) (nesting depth added 15). 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/Sources/BurrowStreamReport.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cf9e39f3694fa8e21f7c4e9c7a55e6d8fb0c2441d557fc7e4e69d66b184a52"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.startServices (cognitive 35): AppDelegate.startServices has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 15, 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, 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/Sources/AppDelegate.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0aa1348c24e7f2b7afc6bfc5dc01220425b91c49ac3c0acc2fe7d0f944da2a"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPages.NetworkPage (cognitive 35): ToolPages.NetworkPage has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (17 pts), if/else 6 (9 pts), boolean chains 8, loops 1 (nesting depth added 10). Most of this is not in the body itself: 15 of the 35 points are its own statements and the rest belongs to 7 function items inside it that branch (lines, a function literal at line 1648, a function literal at line 1526, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4306460af0209b6aea2f9e24042c34055a3fd7cd22bbca878a6fccf41f43d5"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronReplacementInstaller.semanticVersionComparison (cognitive 34): ElectronReplacementInstaller.semanticVersionComparison has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 6 (20 pts), if/else 3 (6 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 20). 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/Sources/UpdateWorkflow.swift"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fda4209fa9453d325e75775b34feca8252adecc2bf51ebe6eb3f9dd0c75e8af"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronReplacementInstaller.parseSemanticVersion (cognitive 34): ElectronReplacementInstaller.parseSemanticVersion has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 12, loops 2 (3 pts) (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/Sources/UpdateWorkflow.swift"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40c15f4a51e6e32fed36935f7c1871858a7a0ab92079b8da4ba76f68f976e62"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronReplacementInstaller.stage (cognitive 34): ElectronReplacementInstaller.stage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 5, error handling 4, match/switch 1 (2 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/Sources/UpdateWorkflow.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d4d05822d8971196ee3ad7cc79acc993e8a694c9873b8f260c3c594b39d532"}},{"ruleId":"D2","level":"warning","message":{"text":"site-i18n.main (cognitive 34): site-i18n.main has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 6 (9 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 15). 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":"scripts/site-i18n.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87936a927de9ecbbca88a5a35d8f08c44d4cfe042194adb45e055f0b49790e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPages.AnalyzePage (cognitive 34): ToolPages.AnalyzePage has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 7 (15 pts), boolean chains 13, if/else 5, error handling 1 (nesting depth added 8). Most of this is not in the body itself: 6 of the 34 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 768, a function literal at line 710, drill, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b8e4bb6c146be121ded019e45d4cdbb626b626b4335c2bb933efae916daf24"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 33): App.App has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 14, ternaries 9 (11 pts), if/else 7 (8 pts) (nesting depth added 3). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 90, 48, 157, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/App.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc7c8d407d737ac63abf490e4f6764a91cd0b48cf5f38dff7b9c09c2102a27e"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdatesModel.check (cognitive 32): UpdatesModel.check has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 3 (9 pts), match/switch 4 (7 pts), boolean chains 1 (nesting depth added 18). 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/Sources/UpdatesView.swift"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1a8062b8d2561a9df28f9cea13efe8ce94647894277021aa7727e72d65fe05"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanList.parse (cognitive 30): CleanList.parse has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 9, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanList.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"48919e03a9c4ee79ffef05e2989fbbaac7f3e3b6ed3d767b809c6a9db30b293f"}},{"ruleId":"D2","level":"warning","message":{"text":"upstream_watch.do_releases (cognitive 30): upstream_watch.do_releases has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 7, error handling 2 (5 pts), loops 2 (3 pts), ternaries 1 (3 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":".github/scripts/upstream_watch.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24f6e1b59897f1db5dae6ea31962a4b5245bf38dea0012fdafd0e1faa2b5d69"}},{"ruleId":"D2","level":"warning","message":{"text":"RecycleBinDeletionService.DeleteAsync (cognitive 29): RecycleBinDeletionService.DeleteAsync has cognitive complexity 29 (threshold 15). 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/Services/RecycleBinDeletionService.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a280fb41b238664b424d711540fad8ec5745842c248848d441230ee6e4e8e57"}},{"ruleId":"D2","level":"warning","message":{"text":"HelperService.execute (cognitive 29): HelperService.execute has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (21 pts), match/switch 2 (4 pts), error handling 2 (3 pts), boolean chains 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":"macos/HelperSources/HelperService.swift"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17a703f8ddab2ac6ae1c0fabb75816190438688a317769b240dbd25d96e36cc"}},{"ruleId":"D2","level":"warning","message":{"text":"site-i18n.render (cognitive 29): site-i18n.render has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (8 pts), ternaries 3 (5 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/site-i18n.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a275674069ccbce4b55ac4cdb0e0b016e773fb34c98a505ed28b3c6fb4501c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyzeModel.scanWithProgress (cognitive 28): AnalyzeModel.scanWithProgress has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, ternaries 1 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/AnalyzeView.swift"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"de92f5aedb52bcda6eeae37469be125556f4afdfa45dbf4e955c36df3402281a"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateFailurePolicy.classify (cognitive 28): UpdateFailurePolicy.classify has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 12, if/else 10 (12 pts), ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/UpdateCheck.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c53dc38129cb3b2be00afdf6ae37427df5ae02b7b26dcf1d9b5c1b7da46e61b"}},{"ruleId":"D2","level":"warning","message":{"text":"HelperReviewedPathPolicy.validate (cognitive 28): HelperReviewedPathPolicy.validate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 8, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/PrivilegedHelper/HelperContract.swift"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c91f7f610163b6d14367c385386ff8303679d2a267880d18b6a79a6c22df167"}},{"ruleId":"D2","level":"warning","message":{"text":"verify-sparkle-appcast.validate (cognitive 28): verify-sparkle-appcast.validate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (20 pts), error handling 2 (3 pts), loops 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-sparkle-appcast.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a721a4b253ed6b4f1857c409b1336e8604d2b005cc917db2c75db324b28ac0"}},{"ruleId":"D2","level":"warning","message":{"text":"recycle.recycleReviewed (cognitive 28): recycle.recycleReviewed has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 5 (8 pts), error handling 4 (6 pts), boolean chains 1, loops 1 (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/typescript/electron/services/recycle.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fe91e20fec4ae853f8eadaa90d37a6d9dcb5b12e25fee4b76d35ae2cbaa873"}},{"ruleId":"D2","level":"warning","message":{"text":"CrashReporter.scrubForTransport (cognitive 26): CrashReporter.scrubForTransport has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, loops 3 (4 pts), ternaries 2 (4 pts) (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/Sources/CrashReporter.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb10bdba1c259cdc202ec1a675a728893054174df4120181cc6cd0a8f73b2db"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotPatcher.patch (cognitive 26): SnapshotPatcher.patch has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 11 (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/Sources/MetricsCore.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"675caaa3582e66bb0d1bce84b1e3b74ab21bdb15c92c321ded87771319cb0d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCatalog.descendAnalyze (cognitive 25): ToolCatalog.descendAnalyze has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, 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/Sources/MCP.swift"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddf0ed4b1506cbdba1b0106387c90a1bca477fddc02457ea288bcc85567ce68"}},{"ruleId":"D2","level":"warning","message":{"text":"UninstallGuard.identityProblem (cognitive 25): UninstallGuard.identityProblem has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, ternaries 2 (5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/UninstallGuard.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90d6f619f50fbb23b5bad0334dcdde2e5dd9315ecf562e626aa3e9fbb252689"}},{"ruleId":"D2","level":"warning","message":{"text":"HelperRequest.validate (cognitive 25): HelperRequest.validate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 10 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/PrivilegedHelper/HelperContract.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9426490a537a308ae5d9266680d31e9a19b5ef921fd00c0102d4fb0a2699b70"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.duplicates (cognitive 25): ScanService.duplicates has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (33 pts), loops 5 (9 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 26). 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 (ScanService.duplicates::walk) 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":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"395e9a64c3fee55f6fb353c200df97cb5915f95dc92d25fc40d9e9725f11d5a8"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanupSnapshot.capture (cognitive 24): CleanupSnapshot.capture has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, error handling 1 (2 pts), 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/Sources/CleanupAuthorization.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6433cb9472f1f5a30947cc1eae28d1b90d7ecfd63c75942b13e004b5500915"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPages.AppsPage (cognitive 24): ToolPages.AppsPage has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (17 pts), boolean chains 5, error handling 2 (nesting depth added 8). Of this number, 12 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ae08a7405b10d9b216f5cded497d62c67183f5852273480eae010d4f1247fa"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanupExecutor.moveToTrash (cognitive 23): CleanupExecutor.moveToTrash has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 8, error handling 1 (2 pts), ternaries 1 (2 pts), 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/Sources/CleanupAuthorization.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9eef726c58983a54f9c32a1582b316d1781c7cfde7efe954a4470c4809b37c"}},{"ruleId":"D2","level":"warning","message":{"text":"MoActions.decide (cognitive 23): MoActions.decide has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, match/switch 1 (nesting depth added 10). 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/Sources/MoActions.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"370834aa7f4caac4e2b82746903435a16da66d6b03e9aff36f0199a2c527c90c"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemProcessPort.drain (cognitive 23): SystemProcessPort.drain has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 1 (nesting depth added 13). 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/Sources/OperationFlow.swift"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"5025b31d16c71ed732b4c7dfede32e773e261908d3933e3c42df5ddd65a5761a"}},{"ruleId":"D2","level":"warning","message":{"text":"RootView.body (cognitive 23): RootView.body has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 9, boolean chains 4 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/RootView.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b212c46209c0596dd62f60d9074e549efdea4608d7d11a4a446ea7514e413fb"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdatesModel.performUpdate (cognitive 22): UpdatesModel.performUpdate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 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/Sources/UpdatesView.swift"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eda995971c5e8a211e5a99dd83e7b5faf45252d1b006609fe384c60dd7bda7"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.duplicates::walk (cognitive 22): ScanService.duplicates::walk has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ScanService.duplicates) 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":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"095c0cfd773cb2d12dbf97a942cdb13dfab34ed33aa1a9d848b3cb84634b9742"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsView.liveMenuBarValues (cognitive 21): SettingsView.liveMenuBarValues has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 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/Sources/SettingsView.swift"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9feefa7ab03bda096a3632fc7cec8b2fad74250ac3895e3a60b43950e132beae"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronUpdateDescriptor.parse (cognitive 21): ElectronUpdateDescriptor.parse has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 8 (10 pts), loops 1 (nesting depth added 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/Sources/UpdateWorkflow.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56b1c0a8052cdec1b9db51349588ad0b3e702a933b32664d6704dfed1f0b4e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronReplacementInstaller.restoreVerifiedBackup (cognitive 21): ElectronReplacementInstaller.restoreVerifiedBackup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, error handling 2 (3 pts) (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/Sources/UpdateWorkflow.swift"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd41048233ffc447f188689a2ebacd8483720076b47ec26a5f0d99bd63b801e"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.purge (cognitive 21): ScanService.purge has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 2, error handling 1 (nesting depth added 6). Of this number, 20 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/typescript/electron/services/scanner.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10f188043da7855aa1ad4ae91947012bfff1e0503713e6a967b7898eb4a7c00"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyzeModel.scanStreaming (cognitive 20): AnalyzeModel.scanStreaming has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (3 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/Sources/AnalyzeView.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce51636ad0058655892240dd7d957ef8f481dc4dcf1c662622015be22bcd4600"}},{"ruleId":"D2","level":"warning","message":{"text":"OptimizeView.body (cognitive 20): OptimizeView.body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 8). 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/Sources/OptimizeView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cd1b53e7e6ef55e11f870e6e92cf38c6080f8c420cfd4b2e8416c2ac0b4adc"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarController.currentValues (cognitive 20): StatusBarController.currentValues has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 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/Sources/StatusBarController.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"51830638c32dfd02c0379c5b4f8b5fe3ab22bc9f21d27c4e014b964197237671"}},{"ruleId":"D2","level":"warning","message":{"text":"UninstallPreview.parse (cognitive 20): UninstallPreview.parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/UninstallPreview.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6820eff545f5bd10d4ab13d5a488bcb24b009a645329c4b5e1db2bb2a0bc7e60"}},{"ruleId":"D2","level":"warning","message":{"text":"UninstallPreview.fromEngineEnvelope (cognitive 20): UninstallPreview.fromEngineEnvelope has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, loops 2, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/UninstallPreview.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e22bc3b3c5418d22c51b929c767bbdb71b105d0a74f18adceeb263f199c0ec5"}},{"ruleId":"D2","level":"warning","message":{"text":"HelperExecutableSnapshot.prepare (cognitive 20): HelperExecutableSnapshot.prepare has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, ternaries 1 (3 pts) (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/Sources/PrivilegedHelper/HelperCodeRequirement.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b33f84dcd6840fc13fc9a2f6829544334d5bbf1018a47976e4bdb796b4aa1f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.applyMenuBarVisibility (cognitive 19): AppDelegate.applyMenuBarVisibility has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3 (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/Sources/AppDelegate.swift"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"c088b57f8fffc7f2174da7756105aa5576022af01645dc3582cffa251cced95c"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidatedElevatedCommand.prepare (cognitive 19): ValidatedElevatedCommand.prepare has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 2, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/PrivilegedExecution.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb67c66cc117203c7598e760fc186eb69cbf35aa43a6c6cc6bbfceb6e3153b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCatalog.execute (cognitive 18): ToolCatalog.execute has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (6 pts), match/switch 2 (5 pts), if/else 3 (4 pts), boolean chains 3 (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/Sources/MCP.swift"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f9087d7a601fe00279d919a9e1be61e4a5fc8d761d8d9471ca9dc8f3ebb8a6"}},{"ruleId":"D2","level":"warning","message":{"text":"PopupView.body (cognitive 18): PopupView.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/PopupView.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"75432d52b348e10cf1ed8267a4615605cd5977157ff4043ee9be9f419ab5778d"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronReplacementInstaller.numericVersionComparison (cognitive 18): ElectronReplacementInstaller.numericVersionComparison has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 3, loops 2 (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function item 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/Sources/UpdateWorkflow.swift"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b090a6bf6a952fc6ec804f6d86eb6f1716c1b97a929037d9252acab3e27e125"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskReport.swift.parseTaskReport (cognitive 18): TaskReport.swift.parseTaskReport has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/TaskReport.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0432b7395c6bfb6b0d509b9dac00ca1c494c1d35e5318bf79bca936d33cdf7"}},{"ruleId":"D2","level":"warning","message":{"text":"TelemetryService.collect (cognitive 18): TelemetryService.collect has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 6, if/else 3, error handling 2. Of this number, 10 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. 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/typescript/electron/services/telemetry.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe4127820ebc5ccba4d82fe31b996b4c56196911968f07d6bf537bfa8c96fa1"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.scan (cognitive 18): ScanService.scan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, ternaries 2, error handling 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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/typescript/electron/services/scanner.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0694710ce74be5c0fe4dadd828fb66f6054d6057903f40433d5372d553c99024"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanView.body (cognitive 17): CleanView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, match/switch 2 (3 pts) (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/Sources/CleanView.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc9d07ecd3b9c56301ae211ac42e123d025b3fc6902f79a192a1d791198756b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessInspectorView.securitySection (cognitive 17): ProcessInspectorView.securitySection has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (5 pts), boolean chains 2 (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/Sources/ProcessInspectorView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a59f8cc7411c0813cffe21ecdd2150d8758f9c3f81792ca14c59e9dc3da9cf"}},{"ruleId":"D2","level":"warning","message":{"text":"UninstallGuard.abortReason (cognitive 17): UninstallGuard.abortReason has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), boolean chains 1, match/switch 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/Sources/UninstallGuard.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5e87f28c8a7dd0477c532a6bd5a8de20d1b484eea90467c31f628dc056472b"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdatesView.appsList (cognitive 17): UpdatesView.appsList has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3 (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/Sources/UpdatesView.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a5d47d67708b42da6199d416425ebf5834457e7b8623a177f6c4296ae474b7"}},{"ruleId":"D2","level":"warning","message":{"text":"WeeklyReport.markdown (cognitive 17): WeeklyReport.markdown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, loops 3 (6 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/WeeklyReport.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6571f61dc57f0ac37f66b50e80a9769a6fd4d360c3a5d2aaa6bf681b0bfddc46"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-conformance.run_checks (cognitive 17): mcp-conformance.run_checks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, 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/scripts/mcp-conformance.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19713028026b85aa689cdbeb1eac704ee9e10ade63b70bfac6e32869e6f037a"}},{"ruleId":"D2","level":"warning","message":{"text":"site-release.main (cognitive 17): site-release.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3, boolean chains 1, 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":"scripts/site-release.py"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd634f988111ff973a81468a3836db089c13373f4808e086fbf2239b9059f9bc"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMcpServerService.EvaluateRequest (cognitive 16): LocalMcpServerService.EvaluateRequest has cognitive complexity 16 (threshold 15). 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/Services/LocalMcpServerService.cs"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcba39a5f8fe871b2e97df8132ad3e2fdd71057551af8f9bef1b23377d29306"}},{"ruleId":"D2","level":"warning","message":{"text":"Connectivity.probeAll (cognitive 16): Connectivity.probeAll has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 9, if/else 6, boolean chains 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/Sources/Connectivity.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"356f157a401338b637ab9b90fb6a5ce12770c1c313c4ea9d8e941b08f490f3e9"}},{"ruleId":"D2","level":"warning","message":{"text":"HelperAwareProcessPort.events (cognitive 16): HelperAwareProcessPort.events has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/PrivilegedHelperClient.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076cec9269cc67b7a2a2db6d8026a8ea30ad20863b7ba4d01cc81434c6a0df4"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftwareModel.confirmCopy (cognitive 16): SoftwareModel.confirmCopy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 3 (5 pts), boolean chains 2 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item 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, 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/Sources/SoftwareView.swift"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"4438c78b6811b49ce17ffa958af25e7f0fc8a4491c2a76c8a39b5ba7d32a180e"}},{"ruleId":"D2","level":"warning","message":{"text":"AppIcon.resolve (cognitive 16): AppIcon.resolve has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (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/Sources/StatusView.swift"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a76ea78a73689a07c9ddba346b04ab460673376946cb39e453b0eb972f3b29"}},{"ruleId":"D2","level":"warning","message":{"text":"HelperInvokingUserResolver.resolve (cognitive 16): HelperInvokingUserResolver.resolve has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, 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/Sources/PrivilegedHelper/HelperContract.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"6743a3cc7b981726e4869978e98210a1604d390f09712c10bba1e88fb13f790f"}},{"ruleId":"D2","level":"warning","message":{"text":"site-release.render_compare (cognitive 16): site-release.render_compare has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (6 pts), if/else 2 (5 pts), ternaries 3 (5 pts) (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":"scripts/site-release.py"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d82f54fec1cc1f7d7465f33859be1d91207bfbfb35d574667b22c9f64b5f29"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.revalidateCandidate (cognitive 16): ScanService.revalidateCandidate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 3, error handling 1 (2 pts), ternaries 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7de9581ddf301ec27d64aeeec34af9f3a5c7fec0113ef79e8c8041a044671ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanService.measure (cognitive 16): ScanService.measure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, loops 1 (nesting depth added 3). 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/typescript/electron/services/scanner.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8f99ad71a9d7ba2d1dd0eb87a1353a1664da67d8355c85e8a3c6b1eae0209a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ToolPages.tsx: FileTooLong \u2014 1661 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1161 over it, 3.32\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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7828c4e2c8efcf2e39a4e307699891ef4f19567fa2d8c99a66a33f972eccafff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MonitorPage.Overview: FunctionTooLong \u2014 Overview runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\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/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe19b0caf1d222b4fae8977a1f0934aa890cb751234dc50d46d0999a48ebc7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolCatalog.descriptors: MethodTooLong \u2014 descriptors runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\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/Sources/MCP.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"932b6960f04a41c5e25915db2a0ba1f3ff82807dd35198e90aac7e4d8889de5a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SettingsView: ClassTooLong \u2014 976 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 576 over it, 2.44\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/Sources/SettingsView.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9cb620ec4f08f3202bce564dec495db56508615399ab3a413cc1a0172c41e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolPages.DuplicatesPage: FunctionTooLong \u2014 DuplicatesPage runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"5613fd1d455b2f8e3101e1755ef4958aa0e7e5174b1fa363ffc552d60a075124"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolPages.CleanupScan: FunctionTooLong \u2014 CleanupScan runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"43111d6e7c49bbbc479b981c011a105b05b40835e1cae758b7b353074020ae29"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToolCatalog: ClassTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 492 over it, 2.23\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/Sources/MCP.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"58afbde01e0e5274562f408d3ddc7ce9689f86c43381c07c5ccaa04b6fad4b89"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalMcpServerService: TooManyMethods \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 30 methods; this is 33 over it, 2.10\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":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"247165fee5b590945179f85909cfd839fceba16c9b9660b58d4f065fd761294f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/SoftwareView.swift: FileTooLong \u2014 1019 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 519 over it, 2.04\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/Sources/SoftwareView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc23f565ffe9e9054c4c5e285bb8681bf48987bb40f6d7f0ecabb8289e0fa32c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/UpdatesView.swift: FileTooLong \u2014 1011 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: UpdatesModel (514-1437). The bar is 500 significant lines; this is 511 over it, 2.02\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/Sources/UpdatesView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5165f6fd118dd756d1cf37432fcc85215b9d9e4efff3bf0248713d78748c0fa9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/UpdateWorkflow.swift: FileTooLong \u2014 992 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 492 over it, 1.98\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/Sources/UpdateWorkflow.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cd1b581ca8d5de5268ed3cf0ded56d62286c77b1b0086fac1caedd6fb8d900"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolPages.AnalyzePage: FunctionTooLong \u2014 AnalyzePage runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fe94502f9fa543d8065699a9841f1e0969a8e9fc83632d8ea9afe4be8cbaed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/SettingsView.swift: FileTooLong \u2014 980 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: SettingsView (22-1513). The bar is 500 significant lines; this is 480 over it, 1.96\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/Sources/SettingsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"034f2097a81c55b7281f549f5ceae4d1f06bf1d9c6b30d6d9f27bd12b6531361"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\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/typescript/src/App.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ac3dfd358f18bbf6cc3dfb5b005058b9427d636da1ec5200011f20b77e029e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/MCP.swift: FileTooLong \u2014 909 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: ToolCatalog (85-1546). The bar is 500 significant lines; this is 409 over it, 1.82\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/Sources/MCP.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee005a37e4b68bdf6ef1202bcef82682843f0250eefd4a2b6b86b74480be0db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/LocalMcpServerService.cs: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 390 over it, 1.78\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/Services/LocalMcpServerService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"750b7130611149132d515192f2956f0a50a5043a0253efb4d8d4812934e8aaa2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolPages.NetworkPage: FunctionTooLong \u2014 NetworkPage runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"984bd236ed2e26b211fdf4d0d9936be83cf135e33dbea20a9867d5d932c33590"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UpdatesModel: ClassTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 257 over it, 1.64\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/Sources/UpdatesView.swift"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb375baa8eeb084da80f39088c09f8b200d262c2e1e8c9c969b1597083dcc06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SettingsPage.SettingsPage: FunctionTooLong \u2014 SettingsPage runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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/typescript/src/components/SettingsPage.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0d2f23f7962ab0994df5e94d7547bc23846549b3aa7ff2b9208d3efb8d4df3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ToolCatalog: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\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/Sources/MCP.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3e73401f68a82094bcd330379ca689486fa47839d206fb5fd4f99e824fecb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/site-release.py: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 287 over it, 1.57\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":"scripts/site-release.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e51ac04239f72c8a091d1bf78ac9a93280ef00721c3254ae968de593ac48d83"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.registerIPC: FunctionTooLong \u2014 registerIPC runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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/typescript/electron/main.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6914cbcc9bb228d6562365e6154af92932880377812087217486243ef7ce70"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppDelegate: ClassTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 180 over it, 1.45\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/Sources/AppDelegate.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3d9ee290f3d390bac33b596b8de24a0c9dc6071a51ebc4c79898d4a90da709"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UpdatesModel: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\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/Sources/UpdatesView.swift"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56759290f773a14ee9034736bf81027a2113f8862fe4d37ba1923bf2b3b0fa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/StatusView.swift: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 192 over it, 1.38\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/Sources/StatusView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dd0280d6e3a4a1c0d3880702a720f3c35e6e50fe8a573e328b057e2b2dad87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/MonitorPage.tsx: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d58701d429f358d592a1303c43c003cf35a157082765ad0c451d2c37370f804"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElectronReplacementInstaller: ClassTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 135 over it, 1.34\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/Sources/UpdateWorkflow.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"5361b5a05292bdae11c56a9cf8fb091be76310ddeeab6123fdc71b28fa379801"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolPages.AppsPage: FunctionTooLong \u2014 AppsPage 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4004801972de3a8b3664cceaf365e55ced24f4f3fa7d7294b380eeaa16faa2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WindowsInstalledApplicationService: TooManyMethods \u2014 448 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"windows/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a1d2e764804dd8325b9a67676f3494dd9bcf3ffb7a47c16c2b87740ff5048b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/scanner.ts: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: ScanService (48-612). The bar is 500 significant lines; this is 99 over it, 1.20\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":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40c1ca084da434325eed12ed81f2bb0875e175184849f78d8a8e387268546be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/OperationFlow.swift: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 94 over it, 1.19\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/Sources/OperationFlow.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4027d3d6a40a558afd93142223401cb789f6a27e9d22e5b59dafc8c0048afc3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WindowsTrayIconService: TooManyMethods \u2014 300 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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":"windows/Services/WindowsTrayIconService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c85b080cb078e1f000270e10fd4dc94a73c55be11ed1e9ebcdf0183913fc229"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsView: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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/Sources/SettingsView.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f084e9e9545efa04ea0529d122906ada220fbd4cedcc416da207fcd528c27c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/AppDelegate.swift: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: AppDelegate (26-945). The bar is 500 significant lines; this is 83 over it, 1.17\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/Sources/AppDelegate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"930dd62bc54dd16edc21f376e912e50912a70326fa532865d88860c05f86c249"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsView.generalTab: MethodTooLong \u2014 generalTab runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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/Sources/SettingsView.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4568449c1bbb54e0ae7b0f8cd2150521b7f7993f58ef3b27e0477ff851783c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScanService: ClassTooLong \u2014 455 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 55 over it, 1.14\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":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c145668855a000fd837a83877055868a9e132633cff5abef3e7c243640876518"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SystemProcessPort.events: MethodTooLong \u2014 events runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\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/Sources/OperationFlow.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9beb257081b4cbb7c81797d7d571558fde6ead5b648a6e8a80420a5cc198cbe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OperationFlow.start: MethodTooLong \u2014 start runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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/Sources/OperationFlow.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"313bce2ceecb72947f2be9797b156ad3fd7b1fdafcdf21dd9508e67f6b1de96b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MonitorPage.MonitorPage: FunctionTooLong \u2014 MonitorPage runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"a621505a88bc0fb1228589f4044f9e6b589c2692a1a143c0fb73a9e2bb1d78db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Telemetry: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 18 over it, 1.05\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/Sources/Telemetry.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"40539d8184690cc71777865c13a4f48e41236ff4a6a1e19fc893d9de88fc9b5b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PopupView: ClassTooLong \u2014 416 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 16 over it, 1.04\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/Sources/PopupView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"79872497db992037914a2cac1333264b44700abccbaa46fedd16b82ee45bd318"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DashboardViewModel: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 7 over it, 1.02\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":"windows/ViewModels/DashboardViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1c2ab81f31de283494a977e163771a73d610772995a488f6befde24ec04bb3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PurgeArtifactService: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 4 over it, 1.01\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":"windows/Services/PurgeArtifactService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1246924d6494c5762b63798101220a220bc50af5464bd1a1bb5479d979192857"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolPages.PortsPage: FunctionTooLong \u2014 PortsPage runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3da91113cce3db72e2c56d229aeb23278ca27a7e2234b5020636101dc6b682d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/PopupView.swift: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: PopupView (39-667). The bar is 500 significant lines; this is 1 over it, 1.00\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/Sources/PopupView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c716ba7b40db6dfcc66784faa33dc76a20aa81122cb9d7e4a7ea0fde9c82bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 18 shared lines): macos/Sources/AnalyzeView.swift:148-184 | macos/Sources/DupesView.swift:59-106 | macos/Sources/OrphansView.swift:50-97 | macos/Sources/PhotosView.swift:51-98 \u2014 These 4 members are variants of one another: a block of 18 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/AnalyzeView.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9b61fe32d3f8f9a883c9149314c7c78efe881ccf5cbe53b5144a819ef4990e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): macos/Sources/DB.swift:322-341 | macos/Sources/DB.swift:352-383 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DB.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f072e57babecff579c141794ea41c73142344113157d538a07fbd84231d6de"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): macos/Sources/DupesView.swift:124-141 | macos/Sources/DupesView.swift:165-173 | macos/Sources/NetView.swift:85-102 | macos/Sources/NetView.swift:122-130 | macos/Sources/OrphansView.swift:115-138 | macos/Sources/OrphansView.swift:175-183 | macos/Sources/PhotosView.swift:116-133 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"123e88b1d66ba7438e35cd616115d8d5f7ba405ef6ce7930d2de5aa01ff83482"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): macos/Sources/CleanHub.swift:84-101 | macos/Sources/DupesView.swift:177-207 | macos/Sources/OrphansView.swift:187-210 | macos/Sources/PhotosView.swift:176-208 | macos/Sources/RestoreView.swift:26-67 | macos/Sources/TuneUpView.swift:512-574 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanHub.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dc7763a6a6ff8b0309174a1882779d9708b17bfaaab52e284445470bc955a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): macos/Sources/DupesView.swift:124-141 | macos/Sources/NetView.swift:85-102 | macos/Sources/OrphansView.swift:115-138 | macos/Sources/PhotosView.swift:116-133 | macos/Sources/SweepView.swift:194-246 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"64df8f9b861e52e248042afe1acc4142384f8d8a3ba9cf4d75bc70888779c267"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): macos/Sources/CleanReviewView.swift:190-251 | macos/Sources/DupesView.swift:285-331 | macos/Sources/OrphansView.swift:262-294 | macos/Sources/PhotosView.swift:237-257 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanReviewView.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f70caaf4bd274991e32679abe779d5fc3a28c91d31418deca99828b5566a68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): macos/Sources/DupesView.swift:29-55 | macos/Sources/NetView.swift:27-50 | macos/Sources/OrphansView.swift:27-46 | macos/Sources/PhotosView.swift:28-47 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f57e78df7bcff53a47dd44949e3e1acc62a28a716372d140965b603ec009cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): macos/Sources/DupesView.swift:143-159 | macos/Sources/NetView.swift:104-116 | macos/Sources/OrphansView.swift:153-169 | macos/Sources/PhotosView.swift:135-151 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"505b0aad02d2ff9b8e08abee3509fa2d2d994f178e013158b71bed8072b18935"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): macos/Sources/ProcessInspectorView.swift:74-95 | macos/Sources/ProcessTreeView.swift:27-52 | macos/Sources/SettingsView.swift:1247-1275 | macos/Sources/StatusView.swift:647-665 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/ProcessInspectorView.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5f76512a0fc20dbfe7cf5b29127d4d369d6705f692caa89c00c297577258f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): windows/Services/JsonOperationHistoryService.cs:56-90 | windows/Services/JsonSystemTelemetryHistoryService.cs:73-107 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060windows/Services/JsonOperationHistoryService.cs:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/JsonOperationHistoryService.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da6ba69bc256d255913b6f54d535218bdcdaefa90a1894c974a2be1a3b45a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): windows/Services/SystemMoleEngineProbe.cs:52-79 | windows/Tools/MoShim/Program.cs:98-125 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/SystemMoleEngineProbe.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0176a96db98d397833baa0bbcbe6648eb241baa22cdbe9e829681770044fa76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): windows/ViewModels/InstallerViewModel.cs:350-377 | windows/ViewModels/PurgeViewModel.cs:381-408 \u2014 before extracting anything, compare \u0060windows/ViewModels/InstallerViewModel.cs\u0060 and \u0060windows/ViewModels/PurgeViewModel.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf951e4289dfcc4ce464753c6cb44047f91aaf690fe2f3ccc5d35871dad59c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): windows/ViewModels/InstallerViewModel.cs:324-341 | windows/ViewModels/PurgeViewModel.cs:355-372 \u2014 before extracting anything, compare \u0060windows/ViewModels/InstallerViewModel.cs\u0060 and \u0060windows/ViewModels/PurgeViewModel.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"724305c504b34364f751897a76e6e8c68b51f3d026c766a36ec2cbd195c3bb82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): macos/Sources/DupesView.swift:81-98 | macos/Sources/OrphansView.swift:72-89 | macos/Sources/PhotosView.swift:73-90 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/OrphansView.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"af24d6e443b6c657fb34f6cdaf8f7b36355cb6df31746e6d57a8e99dadcf5466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): macos/Sources/CleanReviewView.swift:172-186 | macos/Sources/DupesView.swift:269-283 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanReviewView.swift:172\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanReviewView.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0800b1df6e55d8342ccc1a5d148a4bdc234353724755e6f00afbd20182d8699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): windows/Services/JsonOperationHistoryService.cs:31-44 | windows/Services/JsonSystemTelemetryHistoryService.cs:48-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060windows/Services/JsonOperationHistoryService.cs:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060windows/Services/JsonSystemTelemetryHistoryService.cs:61\u0060 calls \u0060PruneAsync\u0060, \u0060ConfigureAwait\u0060 and \u0060windows/Services/JsonOperationHistoryService.cs:45\u0060 does not \u2014 after which the two agree again for 4 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":"windows/Services/JsonOperationHistoryService.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e665538a930f5b1f575422e70a5a7cffdfb6153bfeeb9df9eba8ddf90c08330e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): windows/ViewModels/InstallerViewModel.cs:179-190 | windows/ViewModels/PurgeViewModel.cs:180-191 \u2014 before extracting anything, compare \u0060windows/ViewModels/InstallerViewModel.cs\u0060 and \u0060windows/ViewModels/PurgeViewModel.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060windows/ViewModels/InstallerViewModel.cs:179\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7395869f02324af9627f48d95cec6e1616e15f32ea182dd56b6929b1561a4bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): macos/Sources/MenuBarWidgets.swift:39-52 | macos/Sources/MenuBarWidgets.swift:71-84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MenuBarWidgets.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7709da0c5497c470d783352ceb23e534a149f18ecb70222a48f4e285a5d1a7f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): macos/Sources/AnalyzeView.swift:159-170 | macos/Sources/DupesView.swift:75-86 | macos/Sources/OrphansView.swift:66-77 | macos/Sources/PhotosView.swift:67-78 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/OrphansView.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/AnalyzeView.swift:159\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/AnalyzeView.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee18b449b562bd60ba4ce43b7bf4a4aabfb6341301a2e5987109ecfd0ca68663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): macos/Sources/DupesView.swift:29-40 | macos/Sources/NetView.swift:27-38 | macos/Sources/OrphansView.swift:27-38 | macos/Sources/PhotosView.swift:28-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbd7e170db8d015ff84bdcee3838704999054281ddd0c7e8e0f5dac372062d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): macos/Sources/DupesView.swift:149-159 | macos/Sources/OrphansView.swift:159-169 | macos/Sources/PhotosView.swift:141-151 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/OrphansView.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:149\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce23516a758d145f996ff2059ae147c191b98a1d6de1cc4bb4be4f77fbcfc33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): macos/Sources/HistoryView.swift:365-374 | macos/Sources/HistoryView.swift:713-722 | macos/Sources/HomeView.swift:67-77 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/HistoryView.swift:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/HistoryView.swift"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf6ebfc32abff4a31f6ead98c5cb4f4fde7eba5d1350f489094b4b6e7c33233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): macos/Sources/DupesView.swift:195-205 | macos/Sources/PhotosView.swift:197-207 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/PhotosView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:195\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"313b7724c691c5430d98a937f339dd709f66b5ba3986bb8ad8ef078f7b01a66f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): macos/Sources/DupesView.swift:64-73 | macos/Sources/OrphansView.swift:55-64 | macos/Sources/PhotosView.swift:56-65 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/OrphansView.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a18e4d32f342f16b57843e77bed056adfbde611151bdb87bbe85b34c9e7a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): macos/Sources/CleanReviewView.swift:138-147 | macos/Sources/DupesView.swift:236-245 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanReviewView.swift:138\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanReviewView.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8709ba80233987601006b4f4c6448780a939ee6a3c8f5f85f80559ac37620ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): macos/Sources/MCP.swift:616-625 | macos/Sources/MCP.swift:701-708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MCP.swift"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ee2a0d14c296239d553ded42d137490939b9ed096bcc9adef54a94f07d2203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): windows/Services/RecycleBinDeletionService.cs:82-91 | windows/Services/RecycleBinDeletionService.cs:122-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060windows/Services/RecycleBinDeletionService.cs:82\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/RecycleBinDeletionService.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4824979e85235d0851c1fb3313ab3a4cdea49df767df194badde16f1dfa24cd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): macos/Sources/CleanView.swift:75-83 | macos/Sources/SweepView.swift:120-128 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanView.swift:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanView.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2620a48159546410174588d597910badaa59dc5205e8fa1e8af7ae3ee95e1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): macos/Sources/DupesView.swift:305-313 | macos/Sources/PhotosView.swift:240-248 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/PhotosView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aea442e75186816ecdee3ce22ce2949ef8df3194fec46e6a71724d82ac353ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): macos/Sources/DupesView.swift:323-331 | macos/Sources/PhotosView.swift:249-257 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/PhotosView.swift\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:323\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c13f77999d739c2f7ce9a629fdde133936f4a07464b94cb662ed0ef40333595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): macos/Sources/SettingsView.swift:1201-1209 | macos/Sources/StatusBarController.swift:175-183 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/SettingsView.swift:1201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/SettingsView.swift"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8815f6f995c9ba419c71f0291ecfb5765d45dc64326c435a3d745f9d452534a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): macos/Sources/Telemetry.swift:310-318 | macos/Sources/Telemetry.swift:530-538 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/Telemetry.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"84527e02de51fa0bc4102c6f81c73eee8039c7134ed0e9b2cad84f3c14d0a43c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): macos/Sources/DB.swift:310-317 | macos/Sources/DB.swift:334-341 | macos/Sources/DB.swift:376-383 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DB.swift:310\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060macos/Sources/DB.swift:333\u0060 calls \u0060sqlite3_bind_int64\u0060, \u0060Int64\u0060 and \u0060macos/Sources/DB.swift:309\u0060 does not \u2014 after which the two agree again for 3 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/Sources/DB.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0270bf10e483b96e87bd792e731aaf4d4e5ed25c3eacb0aa09afd033a4f91fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): macos/Sources/DupesView.swift:134-141 | macos/Sources/NetView.swift:95-102 | macos/Sources/PhotosView.swift:126-133 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1216f0c84f9413a485f4b20c2e3b6433f4883112629ad60c63437e4d357d9a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): macos/Sources/ActivityView.swift:19-25 | macos/Sources/HomeView.swift:36-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/ActivityView.swift:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/ActivityView.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4412656734547729f48b5c6873c59ac00a8d9b35583c2ad082f7b2567635772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): macos/Sources/CrashReporter.swift:259-266 | macos/Sources/CrashReporter.swift:269-276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CrashReporter.swift:259\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CrashReporter.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1802cf7015d3a67cd357793908c5f8cbf5dda4f3d95b680097a9c2447b3b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20138 lines \u00D7 6): macos/Sources/CleanHub.swift:89-89 | macos/Sources/DupesView.swift:182-189 | macos/Sources/OrphansView.swift:192-199 | macos/Sources/PhotosView.swift:178-181 | macos/Sources/RestoreView.swift:29-31 | macos/Sources/TuneUpView.swift:518-520 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/OrphansView.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:182\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060alignment\u0060 to \u0060.firstTextBaseline\u0060 in one and \u0060.leading\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060macos/Sources/DupesView.swift:180\u0060 calls \u0060VStack\u0060, \u0060Text\u0060, \u0060NSLocalizedString\u0060 and \u0060macos/Sources/PhotosView.swift:178\u0060 does not \u2014 after which the two agree again for 3 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/Sources/CleanHub.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc76440647b9a8399eeca462d7e80c7f91ce011bf97ac9ce3409cda3ee127903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): macos/Sources/CleanView.swift:335-341 | macos/Sources/CleanView.swift:353-359 | macos/Sources/TuneUpView.swift:591-597 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanView.swift:335\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanView.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dda1eefb9581f45958df1803da9294420e408e63e18803a6ad8a12c9e05d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): macos/Sources/AppDelegate.swift:147-153 | macos/Sources/AppDelegate.swift:381-387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/AppDelegate.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a330ccd95ba9fe619f4ace164b2413b2a5c9b98c8e332f94c0e936a2328a769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): macos/Sources/Components/ValueTile.swift:52-58 | macos/Sources/Components/ValueTile.swift:74-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/Components/ValueTile.swift:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u00609\u0060 in one and \u00603\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060macos/Sources/Components/ValueTile.swift:51\u0060 calls \u0060GlassCard\u0060 and \u0060macos/Sources/Components/ValueTile.swift:73\u0060 does not \u2014 after which the two agree again for 3 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/Sources/Components/ValueTile.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62c1cce87777d25553f3096ef5c081936b304e622ba1be3027505b058d9bbbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): macos/Sources/MCP.swift:1201-1207 | macos/Sources/MCP.swift:1321-1327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/MCP.swift:1201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MCP.swift"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1def63ddcb95cbbc4d676a9273b3ae81feba7208dd83dca775a215362209fd12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): macos/Sources/PopupView.swift:445-447 | macos/Sources/StatusView.swift:427-433 | macos/Sources/StatusView.swift:444-450 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/PopupView.swift:445\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060macos/Sources/PopupView.swift:447\u0060 calls \u0060glyph\u0060 and \u0060macos/Sources/StatusView.swift:433\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/Sources/PopupView.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"855ba6cdeedce9f27d743d5356cf27d5eb5576db5e7db3727a9e5ca6ff201dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): macos/Sources/AnalyzeView.swift:152-157 | macos/Sources/DupesView.swift:63-68 | macos/Sources/OrphansView.swift:54-59 | macos/Sources/PhotosView.swift:55-60 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/OrphansView.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/AnalyzeView.swift:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/AnalyzeView.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9739d4a35e4a591f0c94f84f88b15d2f66c061e2965d74a15608cb0ac0b1aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): macos/Sources/CleanView.swift:334-339 | macos/Sources/CleanView.swift:352-357 | macos/Sources/SweepView.swift:274-279 | macos/Sources/TuneUpView.swift:590-595 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanView.swift:334\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanView.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfb47d5d03bc6a9aa3e814db07cda1694e4c7d3446bac8b60eaa3cbfb56b259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): macos/Sources/DupesView.swift:324-329 | macos/Sources/OrphansView.swift:284-289 | macos/Sources/PhotosView.swift:250-255 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/OrphansView.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:324\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8604630cbedb4c6e9045eb3e3d6cf3dc73c6e7b9ced5ed4bd45e39282ab87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): windows/Services/LocalMcpServerService.cs:387-393 | windows/Services/LocalMcpServerService.cs:423-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060windows/Services/LocalMcpServerService.cs:387\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd00b157c5865c7b6bd322066a887e866250b3a296dea3f9acb0e2c4ddc58940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/CleanReviewView.swift:160-165 | macos/Sources/DupesView.swift:257-262 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanReviewView.swift:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanReviewView.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcd21cc1fc5640edeec7803d7cb39a81c71ea29558219d48548a387af4a6eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/CleanReviewView.swift:233-238 | macos/Sources/OrphansView.swift:283-288 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060macos/Sources/CleanReviewView.swift:239\u0060 calls \u0060accessibilityLabel\u0060, \u0060NSLocalizedString\u0060 and \u0060macos/Sources/OrphansView.swift:289\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/Sources/CleanReviewView.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb797ecfb7c1a58ada76e34c3feee2d1f1b5228794ce31bc76f631fffc9be7d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/CleanReviewView.swift:293-299 | macos/Sources/SweepView.swift:239-244 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanReviewView.swift:293\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanReviewView.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7505f1694973371b259c07c5c4004f6e0591e16dd5590f57ee8aca1e773d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/Components/MiniChart.swift:72-77 | macos/Sources/Components/MiniChart.swift:155-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/Components/MiniChart.swift:72\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/Components/MiniChart.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e46f9513caf394b9081b4bd5de1b96b10b22bbf17c775a374f5e66f71cb0da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/DoctorView.swift:45-50 | macos/Sources/RestoreView.swift:38-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DoctorView.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88536406e7c440b773b1e697c9441d79247d18972c7ca4b334d9b53f50c8cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/MCP.swift:1381-1386 | macos/Sources/MCP.swift:1472-1477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MCP.swift"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f218e2d860bdd1929d63ea353394308641fd479422a31c8e73c7399b05c88c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/MCP.swift:1425-1430 | macos/Sources/MCP.swift:1458-1463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MCP.swift"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"df60c8e60e1d5b1217702c3e90e47ccde66ce3272176dadf4976c2ee0e3305a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/OrphansView.swift:130-135 | macos/Sources/SweepView.swift:233-238 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/OrphansView.swift:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/OrphansView.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d9a8705d1b0f6733453ef2a610b1b5a1feff98e64c70f6a8ca330a1af03281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/SoftwareView.swift:218-223 | macos/Sources/SoftwareView.swift:235-240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/SoftwareView.swift:218\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/SoftwareView.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee686870d58e4dc9f82dbd90b8c9cc96aac9e5767ed9226fcabfde09d9ed065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/TaskReport.swift:132-137 | macos/Sources/TaskReport.swift:144-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/TaskReport.swift:132\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/TaskReport.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70aba14ffb0ca1d68a53e2a4b10d7662ac22811051be55a4a2fcec91b8a78e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): macos/Sources/DupesView.swift:134-138 | macos/Sources/NetView.swift:95-99 | macos/Sources/OrphansView.swift:130-134 | macos/Sources/PhotosView.swift:126-130 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35f9d673caadb73dff392ac8244f2314e1f00fec26101e7f63b8b17b2657539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): macos/Sources/DupesView.swift:143-147 | macos/Sources/NetView.swift:104-108 | macos/Sources/OrphansView.swift:153-157 | macos/Sources/PhotosView.swift:135-139 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b72a541673905e208d532bed7db41c8a556e8be36a657ae201392fae5ded072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): macos/Sources/CleanReviewView.swift:200-204 | macos/Sources/DupesView.swift:295-299 | macos/Sources/SoftwareView.swift:486-490 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanReviewView.swift:200\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanReviewView.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d89a80a4525dc1bc21966984fa459572db991d67153d6add88a1257df9997aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): macos/Sources/Components/PermissionRow.swift:67-71 | macos/Sources/DupesView.swift:340-344 | macos/Sources/OrphansView.swift:145-149 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/OrphansView.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/Components/PermissionRow.swift:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/Components/PermissionRow.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6428a2fe58f1fd68a3c8a3a99a815d0aaf29453ab05093e5417a9c9a22d368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): macos/Sources/DupesView.swift:102-106 | macos/Sources/OrphansView.swift:93-97 | macos/Sources/PhotosView.swift:94-98 \u2014 before extracting anything, compare \u0060macos/Sources/DupesView.swift\u0060 and \u0060macos/Sources/OrphansView.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DupesView.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e281e01ada534bddb80a97cd5e2c78ed979ec5242dbe969136cdb2bb42e55a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 7): macos/Sources/DupesView.swift:127-129 | macos/Sources/DupesView.swift:169-173 | macos/Sources/NetView.swift:88-90 | macos/Sources/NetView.swift:126-130 | macos/Sources/OrphansView.swift:118-120 | macos/Sources/OrphansView.swift:179-183 | macos/Sources/PhotosView.swift:119-121 \u2014 there are 7 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/DupesView.swift:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060macos/Sources/DupesView.swift:169\u0060 calls \u0060font\u0060, \u0060serif\u0060, \u0060foregroundStyle\u0060 and \u0060macos/Sources/DupesView.swift:127\u0060 does not \u2014 after which the two agree again for 5 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/Sources/DupesView.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a26e8647210a8551e8e6e5921c5cf2e125dce85388e6c44be32f6095fbb86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): macos/Sources/PopupView.swift:527-531 | macos/Sources/StatusView.swift:690-694 | macos/Sources/StatusView.swift:827-832 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/PopupView.swift:527\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/PopupView.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dc0519d6162638021ff930032e487a0ba0d18f7e36992cdfcbe6617b60a57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): macos/Sources/BrewServicesView.swift:69-73 | macos/Sources/PortsView.swift:92-96 | macos/Sources/SoftwareView.swift:90-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/BrewServicesView.swift:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/BrewServicesView.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c392ace22085d0438970baaa30c4d880af25308939aa52d4670b8f19d56d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/CleanReviewView.swift:346-353 | macos/Sources/ConnectivityView.swift:330-334 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanReviewView.swift:346\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanReviewView.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"214e7a793d6213733ff39c2c73d11acbe23c23a839ba30ce6d1b913a299f2b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): macos/Sources/CleanView.swift:441-445 | macos/Sources/OptimizeView.swift:110-114 | macos/Sources/SweepView.swift:301-305 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanView.swift:441\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanView.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8a871c5f0189c82170aff7e0c20845c596b7d902c393bc3acdccec641713cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): macos/Sources/Components/ShortcutRecorder.swift:50-54 | macos/Sources/SoftwareView.swift:516-520 | macos/Sources/SoftwareView.swift:1767-1770 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/Components/ShortcutRecorder.swift:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060macos/Sources/SoftwareView.swift:516\u0060 calls \u0060buttonStyle\u0060 and \u0060macos/Sources/SoftwareView.swift:1767\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/Sources/Components/ShortcutRecorder.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"18723a3e5ddca4e72016ad5a529d1b02fa3ec3e01012690d5f49c6e77228237c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/ConnectivityView.swift:73-77 | macos/Sources/TuneUpView.swift:144-148 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/ConnectivityView.swift:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/ConnectivityView.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8123505ec6eb03ce725cbae6fac46c217370238ef5f5bf80ed0d345bdedd23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/DB.swift:326-333 | macos/Sources/DB.swift:369-373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060macos/Sources/DB.swift:375\u0060 calls \u0060sqlite3_bind_int64\u0060, \u0060Int64\u0060 and \u0060macos/Sources/DB.swift:335\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/Sources/DB.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab7214a330629a8d547c6247761ce9aaeec1a7d93e1396c80085e763c324fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/HistoryView.swift:664-670 | macos/Sources/SpikeView.swift:73-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/HistoryView.swift:664\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060alignment\u0060 to \u0060.firstTextBaseline\u0060 in one and \u0060.leading\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/HistoryView.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a258d077d20fc5c3ec3904459269725037632a448caf8275021a37aa3a74c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/MCP.swift:643-647 | macos/Sources/MCP.swift:727-732 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MCP.swift"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b235a9d520c49a2ce5b0a898be883117a9c7230e843da56c1a1d41e221749f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/MenuBarWidgets.swift:673-677 | macos/Sources/MenuBarWidgets.swift:723-727 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/MenuBarWidgets.swift:673\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MenuBarWidgets.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"3867924a6f20d8fa168488b35202e295e8fd581b56cc0bd313f97bb71b026195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/PortsView.swift:110-114 | macos/Sources/SoftwareView.swift:155-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/PortsView.swift:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/PortsView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f53c64c50721cb09e9c4e5323700dcf97f6a09f5ee614802c6cdae77ba43e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/SettingsView.swift:235-239 | macos/Sources/UpdatesView.swift:178-182 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/SettingsView.swift:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060macos/Sources/UpdatesView.swift:183\u0060 calls \u0060accessibilityLabel\u0060, \u0060String\u0060, \u0060NSLocalizedString\u0060 and \u0060macos/Sources/SettingsView.swift:240\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/Sources/SettingsView.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f9952a36e670124ffdb2b018357e3dab607c6b1ab6cac6163424fa36d83b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/SettingsView.swift:941-945 | macos/Sources/SettingsView.swift:963-969 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/SettingsView.swift:941\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/SettingsView.swift"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d85b7ba9af4a03dfd0575f0bcfd90ed803cb210385f8355e0ac20d603dc11f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): macos/Sources/ProcessInspectorView.swift:90-93 | macos/Sources/ProcessTreeView.swift:36-40 | macos/Sources/SettingsView.swift:1271-1275 | macos/Sources/StatusView.swift:657-663 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/ProcessInspectorView.swift:90\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/ProcessInspectorView.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"676514e95458f3b428b25f4faaee58a5d0a63957a5b7c46478ad1a37467442d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/SettingsView.swift:1423-1427 | macos/Sources/SettingsView.swift:1435-1439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/SettingsView.swift:1423\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/SettingsView.swift"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb2f1ae7e0b721c05de5486648a43237ee5e8401937d826768b1e86ee6654fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/SnapshotProducer.swift:550-554 | macos/Sources/SnapshotProducer.swift:607-611 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/SnapshotProducer.swift:550\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/SnapshotProducer.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9c79fb7c11af3ed1ae2e7ea6d0ca054e7c5cf20821c1492ffaa2652f5ad653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/Tool.swift:30-34 | macos/Sources/Tool.swift:89-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/Tool.swift:30\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/Tool.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54402cd58f1823f999d379854ea005e5a431cd688fb6aa5cb7ab15c75423eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/Tool.swift:43-47 | macos/Sources/Tool.swift:102-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/Tool.swift:43\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/Tool.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f465aa8eb0704b8d8dd92e4c17370e3f160a275388393fa381f67243f0c32afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): windows/Pages/InstallerPage.xaml.cs:45-59 | windows/Pages/PurgePage.xaml.cs:20-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/InstallerPage.xaml.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b5d803b9cca73cbf4865de69c440e06cff5b0d24e3e78e2bc77d5fdd6e414c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): windows/Services/BurrowConductorService.cs:20-31 | windows/Services/SystemMoleEngineProbe.cs:23-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/BurrowConductorService.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacb3be4f3aeb41edb61c6dfb715dbcf46d84ef244eeaf878cbd2e61bdf61475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): windows/ViewModels/InstallerViewModel.cs:286-292 | windows/ViewModels/PurgeViewModel.cs:308-314 | windows/ViewModels/UninstallViewModel.cs:491-497 \u2014 before extracting anything, compare \u0060windows/ViewModels/InstallerViewModel.cs\u0060 and \u0060windows/ViewModels/PurgeViewModel.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d78fba459128b72efc33e6cb4c7485d2acfde70a0eeef7e94c60e6de229121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): windows/ViewModels/InstallerViewModel.cs:296-300 | windows/ViewModels/PurgeViewModel.cs:318-322 | windows/ViewModels/UninstallViewModel.cs:501-505 \u2014 before extracting anything, compare \u0060windows/ViewModels/InstallerViewModel.cs\u0060 and \u0060windows/ViewModels/PurgeViewModel.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"00996e5f1f7ecef194085fbf2dab81194b3e72d25b0d5cd1dc02bcfa81561946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/HelperSources/HelperService.swift:181-185 | macos/Sources/PrivilegedHelper/HelperCodeRequirement.swift:278-282 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/HelperSources/HelperService.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"13632cb259b7c95c1811c642d018fd14550278f95c1a01195ddda5854a5bf7cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/CleanupAuthorization.swift:390-395 | macos/Sources/DupeTrashSnapshot.swift:64-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanupAuthorization.swift"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"548f99406f37e470ae8e2de750a10f971867543837fa28a3ba21ae6c76d3bda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/PopupView.swift:696-700 | macos/Sources/StatusView.swift:1003-1007 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060macos/Sources/StatusView.swift:1001\u0060 calls \u0060ProcessWatchdog\u0060 and \u0060macos/Sources/PopupView.swift:694\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/Sources/PopupView.swift"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"47126a4ac2c95661ccce47d585b06cbc6d97c854a4b0badc5b74bcd6eae418a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/AnalyzeProgress.swift:50-54 | macos/Sources/MoleHistory.swift:67-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/AnalyzeProgress.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdaf459c3531fc972faba3771128a56bee7fc4dea7997f3847a2cbd7ccf40b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/CleanView.swift:303-307 | macos/Sources/SettingsView.swift:921-925 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanView.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9b0be7e5413353aeda302db074fea4b0de497c5ec192570761aff4bb4224f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/CleanView.swift:415-419 | macos/Sources/DupesView.swift:395-399 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanView.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ba4c7e683c4ee173aa139bef8325f6e8c439ea3bfdc026491c1ef3b922b07b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/CleanView.swift:460-465 | macos/Sources/SweepView.swift:317-322 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanView.swift:460\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanView.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4491ca0f2a8b0d78ddf1a34b4c03ad6f54f9d5b67102776abeeaa381fc4ab98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/CleanView.swift:466-470 | macos/Sources/SweepView.swift:323-327 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/CleanView.swift:466\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanView.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cd1cde4117cf24d49179e1033e486466b73e6245b62a6d70fa9e2447f1fa90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/Connectivity.swift:149-153 | macos/Sources/Connectivity.swift:155-159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060macos/Sources/Connectivity.swift:161\u0060 calls \u0060usesPublicDNS\u0060 and \u0060macos/Sources/Connectivity.swift:155\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/Sources/Connectivity.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e52cce39e814ce75ced76fb9c14dc0f3a8f0e98af55316d84142dd7337c8ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/ConnectivityView.swift:99-104 | macos/Sources/TuneUpView.swift:189-194 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/ConnectivityView.swift:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/ConnectivityView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a0a07c17ac2ad9c94e1d35293a17fcd3f3df4fe89fbd687bfdaae4bf1b3aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/DoctorView.swift:117-121 | macos/Sources/MCP.swift:828-832 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/DoctorView.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9266f65ef08c69daea8421464eeb2da133b7518b0ada48295b05472de5690110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/InstallerView.swift:271-275 | macos/Sources/SweepView.swift:205-209 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/InstallerView.swift:271\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/InstallerView.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f1cf71b2bc9af7f197ed7be4091a0ee7edc61f304a0c1865fdd3b32fb51736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/MCP.swift:1002-1006 | macos/Sources/MCP.swift:1008-1012 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/MCP.swift:1002\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MCP.swift"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"5593181f3bb0959bb8cecde9b69da4b9c57071c1684b9243dac25d40e662c8ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): macos/Sources/MCPServer.swift:397-401 | macos/Sources/MCPServer.swift:475-479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MCPServer.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a22deb32f8d0d20701ac187e8c336345b4d9605407e9a22ae2b29a909834e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/PopupView.swift:421-426 | macos/Sources/StatusView.swift:403-408 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/PopupView.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8363e0c93ea79b69bb8afbdb2543d7cd409525a36f2a979cdb10e34fb41639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): macos/Sources/SoftwareView.swift:165-170 | macos/Sources/SoftwareView.swift:186-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060macos/Sources/SoftwareView.swift:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/SoftwareView.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa8b58bc029ecc7419f397e34edc9d06a84f7081f5badbc40df791ac06449d0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppUpdate (LCOM4 6): AppUpdate\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/UpdateCheck.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad62b5b8b1f8d8db404f32bda7af94aa11fbaa05edc82e487c3778ad9cc8e27"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 .NET and JavaScript/TypeScript suite: Coverage NOT MEASURED: the .NET half could not be measured \u2014 no coverage produced (collector absent, or test run exceeded the inline budget); the JavaScript/TypeScript half could not be measured \u2014 windows/typescript/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. This repository\u0027s production source spans both ecosystems, and no partial figure is published as if it were the whole: coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/BurrowConductorServiceTests.cs: 6 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/BurrowConductorServiceTests.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc502cd3127d50f496fe5aacd6f209ccbf8281e643a984d14f00e723d5ce13cd"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/BurrowEnvelopeTests.cs: 2 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/BurrowEnvelopeTests.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ce382fedac0a93edbd1945b8411803e55e6725de3b013e4be1bba3614b8b10"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/BurrowStartupOptionsTests.cs: 4 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/BurrowStartupOptionsTests.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03fa346f4c08b1fc4399cd3fdf9a8febc06f1459122bec20ad265f5b273dc4f"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/CleanPreviewParserTests.cs: 3 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/CleanPreviewParserTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"394bffc0736e331d4c6ed1927a580accfaef604073d4ff6f01cb47cecb5f7249"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/DeletionBatchProcessorTests.cs: 5 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/DeletionBatchProcessorTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b77688b7bccb7ddcb6ac96a39290e53a8996b637d6c0cec7efaea848ed664dd"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/DiskAnalyzerServiceTests.cs: 2 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/DiskAnalyzerServiceTests.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"199e072813185dd3866176ae319fc896527ab5e45d3b813d8e459b6bcf2e2aa6"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/DiskTreemapLayoutTests.cs: 2 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/DiskTreemapLayoutTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34e3745440d9b340fe38d0314364a2c7b11b17d794a777835c562a3a9b125b1"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/GpuTelemetryBackoffProviderTests.cs: 3 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/GpuTelemetryBackoffProviderTests.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62181537d092d813e6d3b55b96a5772c77ee3314df0f34f61774a593e88fa62"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/HistoryRangeCatalogTests.cs: 3 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/HistoryRangeCatalogTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bfb8d5c26210d2a83ea5acdb79a385863f23084fdeb555f8315e10ddc0df71"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/HttpServerSettingsPlannerTests.cs: 5 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/HttpServerSettingsPlannerTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c0f11f5dd1a7d28ab37a05eb6f5dd9ce83fbffccaaed1b0b3fe45c8ad7d9a8"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/InstalledApplicationTests.cs: 1 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/InstalledApplicationTests.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d43a605a3d99aa0e658540a0785d618aa1d12298b83d5c00eda1756a5d5bed1"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/InstallerCleanupServiceTests.cs: 6 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/InstallerCleanupServiceTests.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1534aa979ebc7191860ba6033a6fce11750469a1e6ac1812b5cfee737ed7f42"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/JsonApplicationSettingsServiceTests.cs: 3 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/JsonApplicationSettingsServiceTests.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc000a7dd9253ea281a7673a100685945c036c704142a99f6c9c2d30ca2a83ee"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/JsonOperationHistoryServiceTests.cs: 4 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/JsonOperationHistoryServiceTests.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3280b88c36fed28232491262ed3426fe6c71d4d82d09fd12001dcb01973be7"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/JsonSystemTelemetryHistoryServiceTests.cs: 4 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/JsonSystemTelemetryHistoryServiceTests.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8755697e3c9a269a89316683f4d0fa6bbca103118e1a896767c0e7dcf363563"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/LocalMcpServerServiceTests.cs: 10 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/LocalMcpServerServiceTests.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b674a529c5717b066a2a56872b9300091adf1f060b9486bb5e111e657188c229"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/LocalStartupDiagnosticsServiceTests.cs: 2 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/LocalStartupDiagnosticsServiceTests.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbfcff239dc6d2ddbe970fcc60d3a9c13bedba5c98b4570fab71e31046fd1d1"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/MoleEngineServiceTests.cs: 6 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/MoleEngineServiceTests.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b74a8408d2f3715b8826776487e2bbdd7fd13ff0eb2c46ea57444f9b0f1292e"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/ProcessUsageAggregatorTests.cs: 3 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/ProcessUsageAggregatorTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb7a16845c20ceabb20926ae0785b3748995015561494cda6b4fd952d5d9b67"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/PurgeArtifactServiceTests.cs: 6 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/PurgeArtifactServiceTests.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e705cad614e9915ffa719d277e05cec0bb63b51738acbd25975b29523f4952"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/RecycleBinDeletionServiceTests.cs: 6 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/RecycleBinDeletionServiceTests.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b82faeabab3e82eec2234a1a923fb29f7d9ff763b49d02992812ca70798ba8e"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/SystemMoleEngineProbeTests.cs: 1 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/SystemMoleEngineProbeTests.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9e427d047a5e959ca8ccfafaf53c61227660f8c1d57902132a6db1fc7db85d"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/SystemTelemetryFormatterTests.cs: 5 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/SystemTelemetryFormatterTests.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fcf825a3f93de585197bd97e1cedeb9d187a123736d5f467f94e7a204022c7"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/SystemTelemetrySamplerServiceTests.cs: 3 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/SystemTelemetrySamplerServiceTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b4ab7298f12e573057063582431d7c10564f86dbaedefdc5301f211edc177d"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/TrayHudStatusFormatterTests.cs: 2 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/TrayHudStatusFormatterTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"99eb1ecc3afb85509e875fc72908313b612cfde065e0d9c5d3ae21be625d05ce"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/TrayIconTextFormatterTests.cs: 4 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/TrayIconTextFormatterTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"460a0d63fbd655888527ee53e4c4decd014d7a6f3531219140e58b6a8220706c"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/WindowsGpuPerformanceCounterProviderTests.cs: 3 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/WindowsGpuPerformanceCounterProviderTests.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf961bf2210bed07bdbd62b206fb709f7a45d5ee9f1c3e915b2a518a0b9cf23"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/WindowsInstalledApplicationServiceTests.cs: 9 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/WindowsInstalledApplicationServiceTests.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"674ba3946b8573715a650fab37d0ef215b5f74ab4f188c26f6192124f8ea3ce9"}},{"ruleId":"D10","level":"error","message":{"text":"Tests excluded from compilation: windows/Tests/BurrowWin.Tests/WindowsPathSafetyPolicyTests.cs: 18 test method(s) in this file, but \u0060BurrowWin.csproj\u0060 drops it from the build with \u0060\u003CCompile Remove=\u0022Tests\\**\\*.cs\u0022 /\u003E\u0060. It never compiles, never runs, and never reports as skipped \u2014 unlike a \u0060Skip = \u0022...\u0022\u0060 attribute, nothing in a green test run says these tests are gone. Restore it to the compilation, or delete the file so the tree stops implying coverage that isn\u0027t there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tests/BurrowWin.Tests/WindowsPathSafetyPolicyTests.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ac6575fe9df8a363a713574dc77bc5676ae423c4367bc1a1795696aad79c8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Sources/AppDelegate.swift: macos/Sources/AppDelegate.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AppDelegate.startServices at line 220. 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/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/Sources/AppDelegate.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac1fa60f9b63f4bd7a94c9ffff8c4318e9d83acc5fed5f66abc8f5a42083f85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Sources/OperationFlow.swift: macos/Sources/OperationFlow.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in OperationFlow.start at line 244. 4 of those changes were fix/bug commits, and the other 4 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/OperationFlow.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/Sources/OperationFlow.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc2b09a9e78be52fcdec48d8c7dbf33cd8eefb1440324937b0ac4d50eb06f26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Sources/MCP.swift: macos/Sources/MCP.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ToolCatalog.dispatch at line 477. 3 of those changes were fix/bug commits, and the other 4 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/MCP.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/Sources/MCP.swift"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"adac3759f2a214a457d25e48adb92b2c86fb5b5032c5b2745b10b4e6f8ff2595"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Sources/SoftwareView.swift: macos/Sources/SoftwareView.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in SoftwareModel.engineUninstall at line 1353. 3 of those changes were fix/bug commits, and the other 3 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/SoftwareView.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/Sources/SoftwareView.swift"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"97835804b3dea58ed765b5de45d6a63099b77d8d3f9b771e09eab945ea3bf142"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Sources/RootView.swift: macos/Sources/RootView.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in RootView.body at line 131. 3 of those changes were fix/bug commits, and the other 3 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/RootView.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/Sources/RootView.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"477e2a61bb50b1b10f1e59ba608453f1d94d699f8a85284c59d606388484c96e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/HelperSources/HelperService.swift: macos/HelperSources/HelperService.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in HelperService.execute at line 621. 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/HelperSources/HelperService.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/HelperSources/HelperService.swift"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b366ff3677588be4cd218ca95b279222a71fff0cc6bcf7d73c39e11515b135d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Sources/CrashReporter.swift: macos/Sources/CrashReporter.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CrashReporter.scrubForTransport at line 428. 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/CrashReporter.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/Sources/CrashReporter.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fbf0fc3ce0f34525f8d8be87885ff1e79e35979f69c46d49d4ad64baf56f36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Sources/PrivilegedHelper/HelperContract.swift: macos/Sources/PrivilegedHelper/HelperContract.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in HelperRequest.validate at line 701. 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/PrivilegedHelper/HelperContract.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/Sources/PrivilegedHelper/HelperContract.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e2884495e4be9ee10e17d953abf47e844d1c61e5c2f284773abf59ca9771df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/scripts/upstream_watch.py: .github/scripts/upstream_watch.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in upstream_watch.do_releases at line 163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- .github/scripts/upstream_watch.py\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":".github/scripts/upstream_watch.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e81e2c164d51db061a5156dc367eb53a8fd96f40d73eb648d576aec7229a9ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/scripts/mcp-conformance.py: macos/scripts/mcp-conformance.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in mcp-conformance.run_checks at line 125. 2 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-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/scripts/mcp-conformance.py\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/mcp-conformance.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e5024b8fce2bd039435eb7a013ec1487312fccd402df38d6597b77b186ebcb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Sources/AnalyzeView.swift: macos/Sources/AnalyzeView.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in AnalyzeModel.scanStreaming at line 551. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/AnalyzeView.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/Sources/AnalyzeView.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16c3ccd1f0beb89f2b4df3f30ce595942db1c25f7e8d062daf1fc92918a5ecd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: macos/Sources/UninstallPreview.swift: macos/Sources/UninstallPreview.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in UninstallPreview.fromEngineEnvelope at line 169. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/UninstallPreview.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/Sources/UninstallPreview.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef911c0e1b46ebb3ba3a4bed649689efa85ea2f3fcfec2470d7cc255c8465d0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: macos/Sources/CleanView.swift: macos/Sources/CleanView.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is CleanView.body at line 65), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CReview fixes: MCP hardening, admin prompt back, hermetic tests, live streams, plan-then-execute (#414)\u201D; \u201Cfix(macos): report what the reviewed clean actually removed (#380)\u201D; \u201Cfix(macos): notify when the scan finishes, and make \u0022Stop after current\u0022 respond (#377)\u201D; \u201Cfix: complete Safe Release security and reliability work (#367)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/CleanView.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/Sources/CleanView.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed3bb50abb36a89e3e33f767662328b3a00b535ba484805fd320263bbaa3d67"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: macos/Sources/PrivilegeBroker.swift: macos/Sources/PrivilegeBroker.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ElevatedEngineRun.collect at line 180), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(helper): retry the daemon\u0027s account lookup and name refusals (#425) (#426)\u201D; \u201CReview fixes: MCP hardening, admin prompt back, hermetic tests, live streams, plan-then-execute (#414)\u201D; \u201Cfix: complete Safe Release security and reliability work (#367)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/PrivilegeBroker.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/Sources/PrivilegeBroker.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b752a2bf374ec596c6c49e1b58720bae2a8bb38f9acbd2fde6d7808217739f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: macos/Sources/PrivilegedHelperClient.swift: macos/Sources/PrivilegedHelperClient.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is HelperAwareProcessPort.events at line 453), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(helper): retry the daemon\u0027s account lookup and name refusals (#425) (#426)\u201D; \u201CReview fixes: MCP hardening, admin prompt back, hermetic tests, live streams, plan-then-execute (#414)\u201D; \u201Cfix: complete Safe Release security and reliability work (#367)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/PrivilegedHelperClient.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/Sources/PrivilegedHelperClient.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ee556cc78c0e49f00d45fd170aabc6abc3036a13c0740dc5f7fde58d53d373"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: macos/Sources/LaunchDiagnostics.swift: macos/Sources/LaunchDiagnostics.swift changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is LaunchJournal.begin at line 113), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: complete Safe Release security and reliability work (#367)\u201D; \u201Cfix(macos): stop one bad exit from disabling the menu bar until macOS updates (#365)\u201D; \u201Cfix(macos): harden updater and status item diagnostics (#339)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 14:27:18 \u002B00:00\u0027 --until=\u00272026-10-28 14:27:18 \u002B00:00\u0027 --full-history --no-merges -- macos/Sources/LaunchDiagnostics.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/Sources/LaunchDiagnostics.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7397ff523c320fbd5a159e482bee5cd5e35fd8188f5f74d2fe70ae5ffd7877"}},{"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/Services/AppTelemetry.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c893f13e59b517184c913d95c295aa0915134f9b1d94e39aaa03d9b1b453259e"}},{"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/Services/AppTelemetry.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1064624910344b8aa54d324bcb5c22068bcb759825edfa290317035990ef776e"}},{"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/Services/AppTelemetry.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fb0b01f14a37cca9408fa97d947689fe2d647c910c4edb474e826d7b2bb6b6"}},{"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/Services/BurrowConductorService.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da56b83e911292c1600c3110011d2b6ca9d307af807cc5e5babee0cf1ec6b95"}},{"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/Services/DiskAnalyzerService.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"26eb716298293d311421dce621d56c2aa6c2a7457c6a76cf17b576922dd4128b"}},{"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/Services/DiskAnalyzerService.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ac813a0e58fdf6bb607cfc82458b10a5a39689e0e6f6a5ebf6589f8370bef8"}},{"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/Services/JsonSystemTelemetryHistoryService.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"510dde6bd871e49c3807b7d9fc2539e8e7a15ea2e867da7aff435b42baba8cb0"}},{"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/Services/LocalMcpServerService.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9884b5601eebe0bfbd8e3b6615f9b6a44cbf4898ea7ccf9b90de7fa13a08cb51"}},{"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/Services/LocalMcpServerService.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"55229ae9849ee54a123ce8c404bccaed68ee082bd0a68e0283a81986c002d2ba"}},{"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/Services/LocalMcpServerService.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfccd59d9defb159beec98550e6c015eac39a94979814da797f2b28b856acc45"}},{"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/Services/LocalMcpServerService.cs"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f16d8538caa79a5036bcdbce8ac8a7a1c73e69337b5dec2b68b6ba2d7ec353"}},{"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/Services/LocalStartupDiagnosticsService.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d87223ac8ce7ee1b8f41fedf01e9ea0b0a59281b0fc76aa11abbd3583f6d045"}},{"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/Services/MoleEngineService.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca33f7a79676158e8829da18c71fd55c2d67d2e7edac0db81db5070b5522de13"}},{"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/Services/MoleEngineService.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0a63b9b736c659073b5df1d286695087d351e6d53468018d55befa259c22c3"}},{"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/Services/PurgeArtifactService.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"29085434853aea267e668870dbe29cacb38ddb8dde54898124e40588934a9255"}},{"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/Services/SystemTelemetrySamplerService.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f8c173c247a0fea2d8ebf079fa995bb4639c0c412463f4d3780693b26acd63"}},{"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/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ad10f1ac171cb5a5b6983dc4990a484dad80dcd38d499cb87c4c6800a4567e"}},{"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/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b363a129dc5d0f2bfc117b0f5ecb9c66c867ec65ed9b9f6ca76f1c654de611"}},{"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/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"71182af2f61a1a3f08a58b8bd07ff7feb13815a3f8bf144a0c1a06e8137c9cc9"}},{"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/Services/WindowsSystemTelemetryService.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d05fd4ff9fce5b53d10edcfccfaaca9eebd8fc44cbf7a5d248edb136fe7aaa"}},{"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/Services/WindowsSystemTelemetryService.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc0a029743abc3da420378a3b5c65d406b2bee659a45e7ac065896f53b7484e"}},{"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/Services/WindowsTrayIconService.cs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"34375e479e82ac2e9528e9db28ec69e9a5abd6059100dc50c4b27e241aec0eac"}},{"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/ViewModels/InstallerViewModel.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d631e9fa7b96807ed1f2ae00bec5956db5c15cc4a2dbfd0e888e2562e2674c5"}},{"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/ViewModels/InstallerViewModel.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d63a43be75dbc47a7180f4cb2785402b9ca5d1001f88e577bc7fc109087d25a"}},{"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/ViewModels/PurgeViewModel.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e13e22e933793976ad1629e8129feb5a66f5658b31253002285e90a3c75280"}},{"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/ViewModels/PurgeViewModel.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"065c986c2d25fac8f2065043b488328d645f7ca9513260c619d294d2e2a23ce9"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 4 project(s) overshoot their size bounds, lowering Project Cohesion to 5.1/10. The most over is \u0060BurrowWin\u0060 (11574 LoC, 126 public types across 7 namespaces). Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f045c32ef03adf4c1015e9aac18dd97eda1cbf89800e0159dc5000be7275256"},"properties":{"commitSha":"a61e912700f108684d8adac2156071e03da70f2d"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bf12b0e4c7bde9f7b1083f9d5b6c1ed21785fcac98808aadd90f7699c9be625"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7693aa48595fb1d71fa5752e49df301aef3ffc0942f6ed73c9c99d3de9b34d54"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fcd406ef74ab9ea6dabc470802d40615a4012f286523507480af52382aa7984"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b31ca71d6debad24df029a42d3765798db38ff2bd10f31da8d791eb128d5f14"},"properties":{"dependency":{"package":"electron","version":"44.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"windows/typescript/electron/main.ts","line":1}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ce1531f9e5e9304cf3783bcbee0d6b295c9cd74bfb119f3a8f23a58fa96a497"},"properties":{"dependency":{"package":"undici","version":"6.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ca7584b2689a5b0c927fc91412d169b53ae21c6ef78fe3d545c2729370fe3eb"},"properties":{"dependency":{"package":"systeminformation","version":"5.33.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"windows/typescript/electron/services/system.ts","line":7}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a989ca669859e9d96ef53991b14b60119081bb0e62b85f8dccf0cf465ec51ec"},"properties":{"dependency":{"package":"undici","version":"7.29.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a853ac8f9fa0440ec34536745054803164585b3bc10b332d974a7331bd5972a5"},"properties":{"dependency":{"package":"vite","version":"8.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"windows/typescript/scripts/dev.mjs","line":1}}}},{"ruleId":"D30","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":"d108a9d31814f230903e085335be2cae4209195dfa625c16672c32126018a430"},"properties":{"dependency":{"package":"stdlib","version":"1.24.0","advisory":"GO-2025-3503","aliases":["BIT-golang-2025-0913","BIT-golang-2025-22871","BIT-golang-2025-22873","BIT-golang-2025-22874","BIT-golang-2025-4673","BIT-golang-2025-47906","BIT-golang-2025-47907","BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-3563","GO-2025-3749","GO-2025-3750","GO-2025-3751","GO-2025-3849","GO-2025-3956","GO-2025-4006","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4403","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"48c9e9df8a6e8b49c7cc761690b21e673d1145f69a1064a14b1eecf19ee69e79"},"properties":{"dependency":{"package":"golang.org/x/sys","version":"0.36.0","advisory":"GO-2026-5024","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"ac2563056e33d5061d8c33a5f2cc27243dba1ee629eb43236ac5b9f417e64dcc"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.3.8","advisory":"GO-2026-5970","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6629"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"e61862e7a61fe0dc34c88e854f73a5d1043935e77bdd54730db8dd034bafdb3c"},"properties":{"dependency":{"package":"@vitest/mocker","version":"5.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"eda1a95aefa65ea9523803a15f037513cbae567690480439e2840eba005c4332"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CleanView.swift \u2194 OptimizeView.swift: \u0060macos/Sources/CleanView.swift\u0060 and \u0060macos/Sources/OptimizeView.swift\u0060 change together 86% of the time (12 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060349d638f\u0060 feat(notifications): completion notices \u002B opt-in smart reminders (at that commit the files were still \u0060Sources/CleanView.swift\u0060 and \u0060Sources/OptimizeView.swift\u0060); \u006085f94253\u0060 actions(#51): one gated actions core \u2014 pure decide() gate, ticket min\u2026 (at that commit the files were still \u0060Sources/CleanView.swift\u0060 and \u0060Sources/OptimizeView.swift\u0060); \u0060d95738be\u0060 fix(fda): ad-hoc sign releases so Full Disk Access grants take effect (at that commit the files were still \u0060Sources/CleanView.swift\u0060 and \u0060Sources/OptimizeView.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/CleanView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e904d3d8d6a5159b2a336a5d9326de94bce1966ed69568b91ea654264064b3c4"}},{"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":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","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":"AX2","level":"warning","message":{"text":"Stateful singleton: ShellViewModel: \u0060ShellViewModel\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (SelectedRoute, CanGoBack; e.g. \u0060SelectedRoute\u0060 at line 26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/ShellViewModel.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d8ec146f3bc44770a06a6ae1706c8e0261dfeba7c2ab395a7c88dc8f8ec7c2"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: NavigationService: \u0060NavigationService\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_frame; e.g. \u0060_frame\u0060 at line 31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/NavigationService.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"484cdc1e4e33823e281d26611fe003f41b976d97b9d407d2a743a742a6aa7097"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: WindowsTrayIconService: \u0060WindowsTrayIconService\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_mainWindow, _windowHandle, _iconHandle, _isInitialized, _refreshTimer, _trayHudWindow; e.g. \u0060_mainWindow\u0060 at line 77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsTrayIconService.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bf1c37b8667472aaf25a5b1908ec2dcd8db38c4c107bd22ee18002b3ccc5e6"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces BurrowWin.Services \u2194 BurrowWin.ViewModels \u2194 BurrowWin.Views depend on each other. The lightest dependency in the cycle is BurrowWin.Services \u2192 BurrowWin.ViewModels (BurrowWin.Services.WindowsTrayIconService \u2192 BurrowWin.ViewModels.ShellViewModel, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsTrayIconService.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"169ad62f60f706cdd49e4d88a09d28cd9adae3bfb3eeb6b91dc1955ca466b85d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: BurrowAPI (18 required operations): \u0060BurrowAPI\u0060 declares 18 required operations: \u0060getSnapshot\u0060, \u0060getHistory\u0060, \u0060getActivity\u0060, \u0060getSettings\u0060, \u0060saveSettings\u0060, \u0060chooseFolder\u0060, \u0060scan\u0060, \u0060cancelScan\u0060, \u0060recycle\u0060, \u0060reveal\u0060, \u0060getApps\u0060, \u0060openAppsSettings\u0060, \u0060getPorts\u0060, \u0060diagnose\u0060, \u0060optimize\u0060, \u0060windowAction\u0060, \u0060onSnapshot\u0060, \u0060onScanProgress\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/shared/contracts.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38d1f90ed34f2baf0cd841f22434535ff056067c6164856a647e3e3f6efda58"}},{"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 95605 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":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060windows/BurrowWin.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/BurrowWin.csproj"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83870252942b4a90bb3d3b9b213a16ffcee4017f2350b60d76baf7d91dad7c8"}},{"ruleId":"PF1","level":"note","message":{"text":"No performance benchmarks: No benchmark suite was found by the two searches this check runs. FIRST, a BenchmarkDotNet package reference in any project file \u2014 every project the workspace loaded, plus a walk of project files on disk that never loaded, because a benchmark suite is exactly the project a partial load drops. SECOND, a script harness: a file whose name contains \u0060benchmark\u0060 and ends \u0060.py\u0060, \u0060.sh\u0060, \u0060.ps1\u0060, \u0060.bash\u0060, \u0060.rb\u0060, \u0060.js\u0060 or \u0060.mjs\u0060, credited ONLY when this repository\u0027s CI text also mentions benchmarks \u2014 a harness no pipeline runs is read as a fixture, deliberately. Neither search can see a benchmark suite in another ecosystem\u0027s idiom (a Go \u0060testing.B\u0060 file, a JMH or criterion project, a pytest-benchmark run), so this is \u0027no benchmark found by those two searches\u0027, not a verdict that the repository has none. Where code is performance-sensitive, a benchmark guards against silent regressions \u2014 but it\u0027s a bonus here, not a deduction."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fd90d18ee3bb127e8033d41e8efe4e131487a6d794a5730a72c56105ef7485ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): windows/typescript/src/components/ToolPages.tsx:601 \u00B7 windows/typescript/src/components/ToolPages.tsx:1122 \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":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f97fb8584d22327a88afe94c8d79e8c1a493cd468db2770f822dad44639b688"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): windows/typescript/src/components/ToolPages.tsx:1208 \u00B7 windows/typescript/src/components/ToolPages.tsx:1429 \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":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0137df303dd67b53c6001e037844644da5e0d9f4e1b6108fec739fbb4f60da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): windows/typescript/src/components/ToolPages.tsx:579 \u00B7 windows/typescript/src/components/ToolPages.tsx:1282 \u00B7 windows/typescript/src/components/ToolPages.tsx:1486 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd06606331fceedc032629b759a8b08b326acc1e3562ad3035bea51c0b9adb0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): windows/typescript/electron/main.ts:255 \u00B7 windows/typescript/electron/main.ts:343 \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":"windows/typescript/electron/main.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c62ea9f33ccabdf3e4383427087aae2fd7475ddd5497ed3ae0ce3cdd73518a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): windows/typescript/src/components/ToolPages.tsx:1102 \u00B7 windows/typescript/src/components/ToolPages.tsx:1287 \u00B7 windows/typescript/src/components/ToolPages.tsx:1491 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3a517fdb5157dcfa318b98f79f4dd4cfe9e5f0c57529fd5ed122ca64dec5bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): windows/typescript/src/components/ToolPages.tsx:1173 \u00B7 windows/typescript/src/components/ToolPages.tsx:1703 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ff6f529604eb7732a4a1c43eee10a4112b114d8318f22576f5d6967260b656"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): windows/typescript/src/components/ToolPages.tsx:1254 \u00B7 windows/typescript/src/components/ToolPages.tsx:1456 \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":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5405f8d273070faf4d0145fe804c28c515ba5b9f4e46ba50e65569fb8ef41dbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): windows/typescript/src/components/MonitorPage.tsx:426 \u00B7 windows/typescript/src/components/MonitorPage.tsx:522 \u00B7 windows/typescript/src/components/MonitorPage.tsx:579 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5ef247ac4bb829a013a528c6d7fad4c7b6f2c135b743c2fc4581aa06554b4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): windows/typescript/src/components/ToolPages.tsx:1393 \u00B7 windows/typescript/src/components/ToolPages.tsx:1692 \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":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"096de3fb86ab099e2f9115b3f1b208b84646bc4b4ed3654b8155116cbcac625c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): windows/typescript/src/components/ToolPages.tsx:530 \u00B7 windows/typescript/src/components/ToolPages.tsx:832 \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":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42e5162918d1150077c1dc2e3407f3e97246ead725fe5e27a401a4b789b4a2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): windows/typescript/src/components/MonitorPage.tsx:428 \u00B7 windows/typescript/src/components/MonitorPage.tsx:524 \u00B7 windows/typescript/src/components/MonitorPage.tsx:581 \u00B7 windows/typescript/src/components/SettingsPage.tsx:47 \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":"windows/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce0948d22df6aafc4806d0fd86d41a696def50a1d675584bef55dc6a1f390ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): windows/typescript/src/App.tsx:156 \u00B7 windows/typescript/src/components/ToolPages.tsx:333 \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":"windows/typescript/src/App.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8abb78fcd6f1ce5b9f38fa238f0329b220c97fabec19ecc5b6c6eafb329f79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): windows/typescript/src/components/ToolPages.tsx:1590 \u00B7 windows/typescript/src/components/ToolPages.tsx:1598 \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":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e3bc5956545556e6dbb08b7c8b91e605114fa9e26fe91ae5d898f30e190260"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): windows/typescript/electron/main.ts:228 \u00B7 windows/typescript/electron/services/scanner.ts:67 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"windows/typescript/electron/main.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7609ab3cb6c8109764ea83c512ab6f47f9f710660b05beed85e6a9dafc243e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Overview (cyclomatic 31, cognitive 29): Overview has cyclomatic complexity 31 and cognitive complexity 29; 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/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a737d7edf288cf4237338e7aaf69a3460d481b5bb28ba04e4dd5f817d019e723"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CleanupScan (cyclomatic 29, cognitive 27): CleanupScan has cyclomatic complexity 29 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":"windows/typescript/src/components/ToolPages.tsx"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa423d2b30dc008368c575f13c1a3fe9a0c664668416da582f3c933f08c4fd05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSnapshot (cyclomatic 27, cognitive 12): isSnapshot has cyclomatic complexity 27 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/typescript/electron/services/store.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"38de0fe5c0102f6d8a814cdc5e73baf3cacd67b5a58da9ac05cf3c300313291c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recycleReviewed (cyclomatic 20, cognitive 29): recycleReviewed has cyclomatic complexity 20 and cognitive complexity 29; 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/typescript/electron/services/recycle.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c56e10dc0ac8e5ac1d861258d4ba149ec7b90d7063769cff45783b52b10d25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DuplicatesPage (cyclomatic 20, cognitive 18): DuplicatesPage 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf4c20937c6d47f5116ea635c575c50880b98bf10dfa7859ed24cdc2639ad0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRoot (cyclomatic 19, cognitive 15): validateRoot has cyclomatic complexity 19 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/typescript/electron/services/scanner.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"752f045b313a4591b5ff0eaa529a4e1a7eceea59832cd3bf1284029f1da4d9f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScanControls (cyclomatic 18, cognitive 15): ScanControls has cyclomatic complexity 18 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"35658efb879c1b17a34398037a2f524bba84854e6a5df067086237192d50465a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function purge (cyclomatic 15, cognitive 20): purge has cyclomatic complexity 15 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":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"951535de81a4456b7f6298032d6f9ce83fa316d46e6ec805b6823a85cb55b29c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scan (cyclomatic 15, cognitive 17): scan has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ba7209e5e729380b630174f76ed4ab1565a91bd050bc892a8ecff1a23def62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measure (cyclomatic 14, cognitive 16): measure has cyclomatic complexity 14 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/typescript/electron/services/scanner.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dc5caf6bff54a39671e3b4ad53d5667425d7c32313daf0754011b0dd1a77c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collect (cyclomatic 14, cognitive 13): collect 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":"windows/typescript/electron/services/telemetry.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa631f373c0351e9b0c1565534f93a963334283de4fdd540d48d43f6c8ca96ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 23): (anonymous) has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6ed9f12d4671ccc61d351abad813fc6a7fa53527f494617dc4a254bb076c89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revalidateCandidate (cyclomatic 13, cognitive 16): revalidateCandidate 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/typescript/electron/services/scanner.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eb49532e13e9a61d017bec58eeb557831d7151a645274ca135c6cf55edea32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 13, cognitive 12): App 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/typescript/src/App.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"04845ef44c2cb363c3ab051e24de98338a06b22ea0ac575ca78257048f1b18f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MigrationPage (cyclomatic 13, cognitive 12): MigrationPage 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"b502c5cfba6f17ddbcc2474342b2e3106254e122626fe725a80976fcf6e98639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recycle (cyclomatic 13, cognitive 10): recycle 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6fc93430f6cbaa0eee40b43773cdce395ff481fe180b063a35255d385dfe63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectivityPage (cyclomatic 13, cognitive 10): ConnectivityPage 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e05fb59333a9a1d2558b90da674858668cf2f75fadd8bd9445913ffa562317a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function duplicates (cyclomatic 12, cognitive 26): duplicates has cyclomatic complexity 12 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/typescript/electron/services/scanner.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d5c0d1be5c1a2ea93feb9a8d2ec03b04fe3d1f3275cf47f1503ac757a24512"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function artifactCategory (cyclomatic 12, cognitive 11): artifactCategory has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c1bbcf96fd3110980cf84b8b78bc36472d77a2afb9a5fdd1a9bba701e01b8a"}},{"ruleId":"R3","level":"warning","message":{"text":"windows/typescript/src/components/ToolPages.tsx: 1849 lines of code: windows/typescript/src/components/ToolPages.tsx has 1849 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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e7802ec58b71e4d75a3f5997bd94a49ffa1a4bd0bd362237326fc86e741623"}},{"ruleId":"R3","level":"warning","message":{"text":"windows/typescript/src/components/MonitorPage.tsx: 745 lines of code: windows/typescript/src/components/MonitorPage.tsx has 745 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/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2b7f5a9ce13ee4ffbea658ccbfd243d23914fcfb1e82aec8fe805e730c12c0"}},{"ruleId":"R3","level":"warning","message":{"text":"windows/typescript/electron/services/scanner.ts: 727 lines of code: windows/typescript/electron/services/scanner.ts has 727 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/typescript/electron/services/scanner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf379e5226477883d4f0cbf44ae5e3907a12e19a4b6a568aec5b693b2520b2cd"}},{"ruleId":"R3","level":"warning","message":{"text":"windows/typescript/electron/main.ts: 543 lines of code: windows/typescript/electron/main.ts has 543 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/typescript/electron/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f81ecdb1d0f0e6f34a275ad18bd9927238dfaa77bc40943ff1dcf7576412b0"}},{"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/typescript/src/components/ToolPages.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c4643042e1c5207a19e4a0b417b2651ea448443d28352c9ea4525f577baf20"}},{"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/typescript/src/components/MonitorPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb56acf09ff1a24fbb5da62d7a188f15163e82ec8cbbc4435404f0173c5e3a2"}},{"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/typescript/electron/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f65642df3babc2813916c60cdf315e0f29534ddda685e05896d3c9522e5a5e"}},{"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/typescript/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c70c1f025eb466ec04aca17d7de2ec041ba0f209ee69baf2a201b1881d9898"}},{"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/typescript/src/components/SettingsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"344ddde5c5eed255aa71790897c7af25a0828d88df93d9bb37ece53b223e1a9e"}},{"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/typescript/src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae248b1aeafd0ce3e17f35ad14428f506a8d7ff36116390d890ba6ffec32fc7"}},{"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/typescript/electron/services/system.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0daa7c672b99a9ebc9854ea8bd8e2b3f29ca24fd58bf1a8d25b58dc0f46819e"}},{"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/typescript/electron/preload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e99f61af9384b388ba2eee5ea8828b0155fc637083b79a4346c069f9ed40ff"}},{"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/typescript/scripts/build-electron.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"932b8f3007b0fc7fe0ad30667f3748b37e917c1275e068d49fdf81dc5bcd8ebf"}},{"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/typescript/scripts/dev.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd58df7801ab8af40b287d5204e33669ce3052957fcb5d5db21659a3c93d09c"}},{"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":"worker/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0ee25fc527cc251863790c43b4c4652b4d2d5fc5bd7e7a0277ae90d3ee3b19"}},{"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/typescript/src/lib/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a230a5e5923c612ca7056abfb447a565365662acb37f9a593f037cbb55f0341c"}},{"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/typescript/src/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e51a73b989d98d93067152bced7388e42314acf5f065c0ae2153b178eb1875e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027async\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/typescript/electron/services/scanner.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5102769872b306d518982e0982a3fcbff9631a0c05237543a23870fb75f585"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: ActivityPage_Loaded: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/ActivityPage.xaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7c8c63b92c149a83b5df41ef30a818afbbb25bbe5fd439524a36f97d8f740f"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: AnalyzePage_Loaded: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/AnalyzePage.xaml.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b0bf28b4cbd5318bc5b37ac4d31538b5231d1c3e6610f5a06ade4f110fc11c"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: CleanupPage_Loaded: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/CleanupPage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc988d41f69f1849c0708a0ce8ac2524c05a8422cd3aa81aaa6903ef178a9b92"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: CleanButton_Click: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/CleanupPage.xaml.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfc8fb523defff459a3ec22dcab386105fa9be003ed61da1f4263b91d7baad2"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: DashboardPage_Loaded: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/DashboardPage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b6fdbdf7ec8e1295f1e438b522d00fce6af47a591eb48c04adfe82edec9f04"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: RefreshTimer_Tick: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/DashboardPage.xaml.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d542f6b3622dc66a7b76d204207a229d74e7b079fbf7a729a044a48c777a82b7"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: HistoryPage_Loaded: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/HistoryPage.xaml.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d86c2b4c6e9957312657db886a06c3a39460f1f2e116fc72b7179060b4983b"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: RangeButton_Click: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/HistoryPage.xaml.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9d02960808e111de98ee46c54a4b02a7b2333bf0df4d118dd47f6b287f16cc"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: InstallerPage_Loaded: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/InstallerPage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd7b1593239f24348deb019b0de29c20b37766c85dd81fd6d999dcb8d438d88"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: RemoveButton_Click: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/InstallerPage.xaml.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24ba8376361e171644c1a8dd51e292f0da32cc6a164fcb608947f42e790b97c"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OptimizePage_Loaded: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/OptimizePage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b60dc9670c64dba4b9ff182fe6a71d655f9ed1b8e3cc5bec17f8cd167a634d6"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OptimizeButton_Click: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/OptimizePage.xaml.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e9b611bee2dc376d1e190c717b8a482bc276290bd0c6dd7abf89e12f261ca9"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: RemoveButton_Click: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/PurgePage.xaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd682f6a58d4ccf3d4e0d4449ab221afe856f5915b54e005f2a616f4971b03d1"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: UninstallPage_Loaded: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/UninstallPage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5002228b527967c5668cb696c39887feeb5862c677c5a02e342986c21e01e2fc"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: UninstallButton_Click: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/UninstallPage.xaml.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a8b2cbf0220660a8030416def04abcb2cc540f8e1a856cbb3ef833df4f6e3c"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: RemoveLeftoversButton_Click: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/UninstallPage.xaml.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bacc1726983341ddbd55517cb91e6e26a409b48a9e30e3aafd17d2344ce75c"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: UnsupportedAppsFeatureButton_Click: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/UninstallPage.xaml.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"420dc975981b9752ef69edfcef6f9a8176f175d48049597592df0a91803023bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!safety.IsSafe || safety.CanonicalPath is null\u0060 appears character-identically in 2 files \u2014 windows/Services/InstallerCleanupService.cs, windows/Services/WindowsInstalledApplicationService.cs. 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":"windows/Services/InstallerCleanupService.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1d4dcf43babfc9bc537c4ec91a5907e10128fd162f99f006a760ad4f22d244"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!string.Equals(autoScan, \u00221\u0022, StringComparison.OrdinalIgnoreCase) \u0026\u0026 !string.Equals(autoScan, \u0022true\u0022, StringComparison.OrdinalIgnoreCase)\u0060 appears character-identically in 3 files \u2014 windows/Pages/AnalyzePage.xaml.cs, windows/Pages/CleanupPage.xaml.cs, windows/Pages/InstallerPage.xaml.cs. 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":"windows/Pages/AnalyzePage.xaml.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e95dfa0624e48abfece626609fada26c70207a8a5a7e96645ce174c6a7eda3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060IsBusy \u0026\u0026 _operationCancellation is not null\u0060 appears character-identically in 3 files \u2014 windows/ViewModels/InstallerViewModel.cs, windows/ViewModels/PurgeViewModel.cs, windows/ViewModels/UninstallViewModel.cs. 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":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"28356eb5b63af9c9e3083181b2325ef488572a1b6b1a2c160a216177ee39fa41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sender is Button { Tag: string route } \u0026\u0026 !string.IsNullOrWhiteSpace(route)\u0060 appears character-identically in 3 files \u2014 windows/Pages/DashboardPage.xaml.cs, windows/Views/ShellPage.xaml.cs, windows/Views/TrayHudWindow.xaml.cs. 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":"windows/Pages/DashboardPage.xaml.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e655534d0f576a8fa84fd3257bf0488b5ecadbce1684f8de3c4963356c124f58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!BurrowEngine.isAvailable || model.folder == nil || model.scanning\u0060 appears character-identically in 3 files \u2014 macos/Sources/DupesView.swift, macos/Sources/OrphansView.swift, macos/Sources/PhotosView.swift. 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/Sources/DupesView.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8489a22faf410f997a03eea139ec9c39ffefb519435937c1d309b3da1bfd30fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.connected \u0026\u0026 $0.batteryPercent != nil\u0060 appears character-identically in 2 files \u2014 macos/Sources/PopupView.swift, macos/Sources/StatusView.swift. 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/Sources/PopupView.swift"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"28132d434ef193378409134093c36b9a425335d213b39d9b6802fbd0c015d86e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060OSUpdateGate.atLeast(l, i) \u0026\u0026 !OSUpdateGate.atLeast(i, l)\u0060 appears character-identically in 2 files \u2014 macos/Sources/ElectronVersionResolver.swift, macos/Sources/GitHubReleaseResolver.swift. 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/Sources/ElectronVersionResolver.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"16267ff6074e8c9facd81b5475ad02baf0835a387730c9877be66cd5eeed2c6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved != nil \u0026\u0026 resolved == EngineCLI.bundledExecutable()\u0060 appears character-identically in 2 files \u2014 macos/Sources/MoActions.swift, macos/Sources/SoftwareView.swift. 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/Sources/MoActions.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5e523aafde49ddd2108ab73b20eca435561aa5a396aade52d39a8123d0612b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.hasPrefix(\u0022v\u0022) || value.hasPrefix(\u0022V\u0022)\u0060 appears character-identically in 2 files \u2014 macos/Sources/UpdateCheck.swift, macos/Sources/UpdateWorkflow.swift. 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/Sources/UpdateCheck.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e56598e38777cc92b0bc916f89ccb681efd346c3e5181f8e8b168cbd3c6e09"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): \u0060RedirectStandardError\u0060 is set here, but nothing in this type ever reads \u0060StandardError\u0060 \u2014 while \u0060StandardOutput\u0060 is read to the end. The child blocks as soon as it fills the StandardError pipe (~4 KB, never more than 64 KB), and it can then never finish writing StandardOutput, so the read-to-end above never returns and the \u0060WaitForExit\u0060 timeout beside it does not help: the timeout bounds the WAIT, not the read that precedes it. Drain both \u2014 read one stream on a background thread (\u0060BeginErrorReadLine()\u0060 with an \u0060ErrorDataReceived\u0060 handler, or a \u0060Task\u0060 running the second \u0060ReadToEndAsync()\u0060) and await both before \u0060WaitForExit()\u0060 \u2014 or stop redirecting the stream you do not consume."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/SystemMoleEngineProbe.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"060658ed81593e069682f3135c144b519541bcb100928a2b319c72ef9cc0bb8d"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 45/102 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async delegate without CancellationToken: StartHostInBackground: Queues or hands on an async lambda whose work calls something that takes a CancellationToken, while neither this method nor the delegate supplies one \u2014 that work can\u0027t be stopped early once started. Take a CancellationToken here and let the lambda capture it, or use a delegate that is handed one (\u0060Func\u003CCancellationToken, Task\u003E\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/App.xaml.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8034f753b4e2a85e15139e3907f0e2ca61efc95c01173d2952523eb86e730d09"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ShowTrayHudForDiagnosticsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/App.xaml.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b93ee00418586846bfe784035212df0ff54a9f5d9650c2ec78599ab38eeec23"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: NavigateForDiagnosticsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/App.xaml.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08365d28ec0fecb78fbe41c3587db3c97e0e794e21024b6ba340f7f81ff763e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ActivityPage_Loaded: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/ActivityPage.xaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0341d32366a5b1fdd7eb2adf0a0af2be15f588a3e95db49a0c5138f5fa47225d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AnalyzePage_Loaded: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/AnalyzePage.xaml.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1b4c9f17f17976c642a87189fc36e1bf1ef75cb4d8a179f1bfcfcb96cb3af4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CleanupPage_Loaded: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/CleanupPage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf754b1966e339a696a406541e71343bb311674421bbb50a8a8f604efcc0067"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CleanButton_Click: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/CleanupPage.xaml.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62e5614283f73501a9a0c8a75c92057305441492f7ff3f9b58444affa9c0b67"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DashboardPage_Loaded: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/DashboardPage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e6d7bd394bb334e0a5fecdcdd0eceac4ae061162e0d906009d3eb747552be4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RefreshTimer_Tick: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/DashboardPage.xaml.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385e50350682f0ba285845217f3bc105bfe7e1f7790b5605b20c5d130a2443b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HistoryPage_Loaded: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/HistoryPage.xaml.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c624660763a67c7a3300d5ceee664aba85a5a2057cadae2036f3ce2aa0f9b1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RangeButton_Click: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/HistoryPage.xaml.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"63036c345a0610b78ba840738fc815b117811692a2e39143893302da4b41a2e8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: InstallerPage_Loaded: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/InstallerPage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd85d9a4818a1af102f783b29745729e1f5d92f707e79adafda7424c709df49d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RemoveButton_Click: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/InstallerPage.xaml.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad778ee1c28c21fe0b33e5dd60bd63da316b1932252d892eaf54538bfc34fbc0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OptimizePage_Loaded: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/OptimizePage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a36a10a188e031d365ef6b55c40eb7e499d2bde5f1223f2833769ea66b5fe40"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OptimizeButton_Click: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/OptimizePage.xaml.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"86886de3e51ceb71c28f84373daa6445258bdda00c4cf145eb6637d58e34760f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RemoveButton_Click: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/PurgePage.xaml.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9a4f405d19736a1c973badca419d09b47a507a37a17d1984506b7ab9fc74f5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UninstallPage_Loaded: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/UninstallPage.xaml.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"06247c14fe5889e0585e3419eff2b5c16d866bea00bab6b8fd5fbbe3c2c85ede"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UninstallButton_Click: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/UninstallPage.xaml.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce7ecb04526b7191e9b95dd0d370341b72d5fa41cfeb2c9750347abd2fb99c4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RemoveLeftoversButton_Click: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Pages/UninstallPage.xaml.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b06cef8071969ad1682016ba58b2fb15dbff1f3af1cbfe66f42cdb877e11827"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PostAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/AppTelemetry.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f356e47a7f985f790f77ba4b63d35487dfa1349c6f509c9b0a284f8bfddc39b4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StopListenerLockedAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b90fb2daa7791a7377238fd835e2858c67f3ce3a246223f5ba44ea7f1585ffe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecordToolHistoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adcd3c45ee065e588cccaae40a42ac2fc7d12631e93755f0551446c81e26679"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecordHistoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/MoleEngineService.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8dde6477e8eac1183492ac56a27be1c347aab74711d206602b80e31c1ad84d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CompleteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/RecycleBinDeletionService.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2baf38fda506db7ea92082a47e0cbb456f3a54ec9087d962e9a420ca18457b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RefreshAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/ActivityViewModel.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f52ade3a851d870841d0cc7d59d710df4a507e9d7f4fe875c5156d520cf2396"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CheckMoleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/AnalyzeViewModel.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebce6d20ee9cd932bf6d3b0105a614ce3cb57d4db128265d25cc76ed0cdfecf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ScanAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/CleanupViewModel.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"875bc51c42c7ea80ae900e3654562155b2f16255fde5c9899ab164817ae6c1af"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CleanAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/CleanupViewModel.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"76714e0bc40a3d795a5cf33dbb0e8272c1af1e621712275983dc4ce4a7b7479c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RefreshAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/DashboardViewModel.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6189e9ca3f2233507f35f53d77deb390c92ddbfaa6f86e1b1222d4ed5254037e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RefreshTelemetryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/DashboardViewModel.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dafc26b795947fb91822e9e3c6aee640ed7d4030977c1f6fe38b2b54706297"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RefreshAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/HistoryViewModel.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd24a4dbfcb5a1ba35f36bafb41833fac1ef4abb7e33ef28142e7b908a27b46b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SelectRangeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/HistoryViewModel.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9feabf5eee499d507df75eb5c1de9794d90b436d6b4e304a51740932268fde0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecordHistoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c93667af82d6f71d43a66cc5829ae6cb25f7faf1d9056d915955dd96e41226"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecordBatchHistoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cceb1464c43a73b98cb57204bfb60c3d26e066a93a5a59ac756fd4d9873a20"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PreviewAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/OptimizeViewModel.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8eff6ed04785d0b37d08cdbd117c393f1bdde9612d9f94b8d76fe0c043883e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OptimizeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/OptimizeViewModel.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f19898d01ee2901607c42e164628e644fc2b0f7dc3b1bfe48f1dfa365115004"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CheckMoleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/PurgeViewModel.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd227c8dcb79b6d87a26f39739ff928f4902d402a2ff35af17ea6c12ae6f952e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecordHistoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/PurgeViewModel.cs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"a826a97992d484d65e210f42b81eaab581eebd9f17369b193dc3f38401592d96"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecordBatchHistoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/PurgeViewModel.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccc7e986c94635a041b2e7a9ae830bfacc982e612df1d8fa857d24a90c5ef90"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SaveSettingsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/SettingsViewModel.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7557ebc133f3dacecadf404ca873fa54a45288dcbe3372aad4b0c9e3b41af4fb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: LoadHistoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/SettingsViewModel.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb31a256f25f1e11bf2588b57db2b2cae97d45fdf92c69074197cdecd75840e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RefreshAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/TrayHudViewModel.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e9a5fcfbfa6440c175b2146851e6aa7a64c504e37c836b0bd87b1687444f86"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: LoadAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/UninstallViewModel.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5674a385ab0a065c8ae3510cb3d748b0be7fd8693ae49e223c3f72b2b0b3c8a7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: LaunchUninstallerAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/UninstallViewModel.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf73385c5637c6cd796825afe6f6ca1230d737ca9bd325f1191b3ee499ae6924"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CheckMoleAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/UninstallViewModel.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c570a4634f7b372bc5640f510540da6666fe9fb773044c6e33a9a3626e8091"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ShowNearAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Views/TrayHudWindow.xaml.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"df13269bbd3c949d9bf5472612c0a6ce0ba021d99d93208de015ec2df6ac4e52"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ForwardOutputAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tools/MoShim/Program.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"017b52ed9d3aee6602f5fd6d35ee185d509c89846f33b3d413ccf586488c9e33"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleLineAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tools/McpStdioBridge/Program.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f645bdeee6c94108c445e7031a3f67b7d210368407239f484344e032ad0efe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tools/McpStdioBridge/Program.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6f89c92e8af744051b294998c99ded82b701d95ca1d591107e0101b5690c46"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ForwardToHttpAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tools/McpStdioBridge/Program.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"435c60d86901877169f80dfc83c1c992c8468981d72c595ffe00cc20d5e6c8a1"}},{"ruleId":"X2","level":"note","message":{"text":"Some async methods drop the CancellationToken they accept: 2 async method(s) await work their caller\u0027s cancellation cannot reach: a CancellationToken they hold (a parameter, or the one a framework-fixed signature carries) is never passed on, or the call is handed CancellationToken.None, default or an already-cancelled token. Forward the caller\u0027s token to that call."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f8177554a7c46f307acf08de5582ac728351c2d85898ccd976c050435dc4a114"}},{"ruleId":"X2","level":"warning","message":{"text":"Async call defeats the CancellationToken: LaunchUninstallerAsync: Holds a CancellationToken but hands \u0060CancellationToken.None\u0060 to the awaited call on this line, so the caller\u0027s cancellation never reaches that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd8a7fbb7a5e270729937430ecca52af76b84cdeb74b61fb600438f450d1d96"}},{"ruleId":"X2","level":"warning","message":{"text":"Async call defeats the CancellationToken: RemoveLeftoversAsync: Holds a CancellationToken but hands \u0060CancellationToken.None\u0060 to the awaited call on this line, so the caller\u0027s cancellation never reaches that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"450bd85c4646d5e513c84c598f192794481d0bf26ed53aae65ae31e77c5b5c57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/AppTelemetry.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"933402c1830004f7fe6fcb54fd745fc2ca96fb2846d44eb35d3fc66863605164"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/AppTelemetry.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b162d4141652d8e1be6108187720d187a21f9e5489f2ea724776ce3cfb2f5a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/AppTelemetry.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ee8bedbd21d4250194bebd4ab8faa5f92aecc7e3c2e4297d896b6e0568d23a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/BurrowConductorService.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7152b31ae31a8f23fdd097d39da4cce568db954c3007ebb85ba103a8d11f77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/DiskAnalyzerService.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d68997374370bbed284576f406d2fb9c75a1f3ee77fd494ccb4649cab69dff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/DiskAnalyzerService.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baf8ca2ac19f9a94d3a9ec622780c9bf2d9f51c2840bce1a1cb5b434d7a528e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/InstallerCleanupService.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd16b6b4c187588d9a040fde076bfe35a956a178c56bd54551ab00aef9162696"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (JsonException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/JsonOperationHistoryService.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b991bf001cba75125f73eda6da481e468ddba10e9ca7ca1798cd12ad7c3c07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (JsonException)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/JsonSystemTelemetryHistoryService.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddad4378dbe998225193903bb581fe4ba235dcc073df916a1247a305f67b050b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/JsonSystemTelemetryHistoryService.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2342dc3221ec403e0a1d8bc7cbe5d09372ae85a3beb77de64ea218653e17a24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fe46d7f811979c54cc69111d9f04faf2d34ddfb6cec1f3d6a8ee896d408ffe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf22a97fc0eb9540820ce7ea4a207cae406d60cc334aa941843e87dc9e39de4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4223e808bd38e6ff298d2589d1c83ad07becb7c3a62b9ae224c09ac6080aca4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4596baee1cb096dc2894c13df8a5793efc3f6fd665925fadae27e65e1eac8780"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34f6ec40a0dea96d9284247606867222bc3717fd4643aa89ae982fcf497e571"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0aea4466df45c25ce277606c4952d3a11b45b0e2e92a4f04672a5d30638818"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33f44fc568cf8eb07eb70d64920189ffa29478318f470c4616896a27c4c50d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalStartupDiagnosticsService.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7645d3a7b2aac09281f948bab280e5f411746a7420dc15076c2f77a737cd461"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/MoleEngineService.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d577246fbf66e2aaa9f28be0b52e9a94737dcae97bb7a541e2c9e54a07f9f25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/MoleEngineService.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fc763230de653c61bde0df7bff1a1f2ec50099ecf6fe1013e0c1fdb6847194"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/PurgeArtifactService.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9282aae7952c44760cef52b1bce469e85ef74df393615a47097d2ef4fdace6b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/PurgeArtifactService.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2e5c7afbdb5946219f8dcf2b0e5935118008107243c46cb8e860b6bbd404e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception) when (\u2026)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/PurgeArtifactService.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ec07895c65f7ad864c5ba83bdf2779e1f03b7d8e6bd3c566d3adf36ec019f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/SystemTelemetrySamplerService.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4b5c3c58099e68978c909c5e8b613105472d6bb107ee84337a2755ec1ea373"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"29668758f23dc56c0fd2fbf930e0bb5560a5f9671f56be1d1e3764fbd4c22e3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d8afb10f57d4115a7289ce45e22df2a72dcaae25ff038b8e5d5edc93f98e6d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba64292b07698e3d76d35223cb5ceea26e5295addd38727fa65851d4e06bee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsSystemTelemetryService.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"022fdc9d10567fbb7f43b304b9e2f54ae4a1c486e5b8929b2429ac96549eeb11"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsSystemTelemetryService.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae500cbffa71472f1abd44b4f0ff22fee922d48675ca610d94bcdf9929b4cc08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsTrayIconService.cs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"697eeb8b8900719067b4a7c5a541c8de781ac2fad5147f5631c281049f929150"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f2034e228c99773bf5f26b33b3824345e6ba8e19836ade8c0432cd997990f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/InstallerViewModel.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c1390632c86e1d86a710d7b41e3cd4642044998068f2fe58a19078905944df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/PurgeViewModel.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b990c4a23551b8ac394ae4170f646b10a8ee36f25831c5866c1cb410708cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/PurgeViewModel.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"855eca18f089c0228242f3418eb4c2678322a67510d4a499f4e255d24c8a6672"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060ParseSize\u0060 falls back to \u00600\u0060 when \u0060double.TryParse(number, NumberStyles.Float, CultureInfo.InvariantCulture, out va\u2026\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/Services/CleanPreviewParser.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa28f55b70f546535edd6f564f2b342e0d0d764b409ff5f0d300ed1fddd5be8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060SafeEnumerateFiles\u0060 swallows every exception into \u0060return [];\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/DiskAnalyzerService.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba5712e8f4b82e2e791c9bcd8245ff10cbb60e060314b73545c4d8380e4d61"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060SafeEnumerateDirectories\u0060 swallows every exception into \u0060return [];\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/DiskAnalyzerService.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc6449f14f12392a946bd28a3bcb9be6f5a95c51a58c4fc3d918773c2ade4e8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ApplyHttpSettingsAsync\u0060 swallows every exception and sets \u0060_activeHttpEnabled = false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/LocalMcpServerService.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3094da689256993c2461da23b035ee20c50082ace5baad07c5fb6f8988caa6ec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on unknown code: \u0060GetKind\u0060 maps every unrecognised code to \u0060MoleEngineKind.Executable\u0060, one of the real values, with no log or throw \u2014 a malformed or new code silently reads as a known one. Throw on the unknown code, or log it. If that member is the correct answer for any other code, say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/MoleEngineService.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fbcc47c7dabdd2165d76262d51b410c461d158225d42f2ddd43a748a614992"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ReadConfiguredSearchRoots\u0060 swallows \u0060Exception\u0060 into \u0060return Array.Empty\u003Cstring\u003E();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/PurgeArtifactService.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfff36d594ead07011bf3f8a6132bf5f8b0dcf0abc114405471594f5be0b9d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsReparsePoint\u0060 swallows \u0060Exception\u0060 into \u0060return true;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/PurgeArtifactService.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0769d6afbe566f15dc41f89810147c9d834c10b5a667c29176bedc6a750caa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060HasAnyFile\u0060 swallows \u0060Exception\u0060 into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/PurgeArtifactService.cs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf16addd2bb5fc20d7c32e4774c2a38f3f797c77886c881518f440e38c73a3a9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060FindOnPath\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/SystemMoleEngineProbe.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ee5576cda51a028910be00b795777fcaf755c6e5deaa63aa3f40aeb603dc86"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060ReadInt\u0060 falls back to \u00600\u0060 when \u0060int.TryParse(ReadString(values, key), out var value)\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/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ade319603242922acf575fa5f844d175d750b347d87601ba1ca651dbecb5c4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060ReadLong\u0060 falls back to \u00600\u0060 when \u0060long.TryParse(ReadString(values, key), out var value)\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/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"579e39cee29bb27a4d7b9f85bbf43ea720c98af7e00c7b2f6c8aafe777a08b73"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryMeasureDirectory\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 validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsInstalledApplicationService.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f7ebce2ef9cc60eddbbec5ac16901d6887d5f9c1903b12081f4acd9e09346b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060GetPrimaryIPv4Address\u0060 swallows every exception into \u0060return \u0022unavailable\u0022;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsSystemTelemetryService.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d416084e2dbd9c4dd31346cf9c020226df05ed03ab501515c01a53e446f9e27"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryReadProcessSample\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Services/WindowsSystemTelemetryService.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4234e51af8b2128de13ee61d1273b7cd76f82e10c7fcad8cc1334154e1735f60"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060BuildBreadcrumbText\u0060 swallows every exception into \u0060return \u0022Home\u0022;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/ViewModels/AnalyzeViewModel.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3a18fcf01b0e5db06847326f1d7b381fffda72c1389ea6b3383d756e5188c2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060FindOnPath\u0060 swallows every exception into \u0060return null;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"windows/Tools/MoShim/Program.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e597d1e6ed83266f3741c1fe0fa40e26feb24e125450cb39b96d7f3700791fa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060existing_bodies\u0060 returns \u0060\u0027\u0027\u0060 when \u0060json.JSONDecodeError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":".github/scripts/upstream_watch.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd3b57202abf490a6d0f93a7018241fc3c56ff44ccee51178b3dd32520efe61"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ids\u0060 (in \u0060callDiff\u0060) turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). 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 at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MCP.swift"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b284a674579acc8e008a5eebe140a06816f2c95a89b8ea8dd33850a3ffbd4c2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060patterns\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). 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 at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/MoleWhitelist.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad050e39a707cbedd94e9060be0cefa43c28f4452a4b5f836af2d6bdb3bc4943"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060json\u0060 turns every thrown error into \u0060\u0022[]\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). 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 at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/ProcessExport.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89ee7440a4c74d0da418340e94afea6b340a032162d797da5bf1e5c031d516a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060disabledLabels\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). 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 at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/StartupInventory.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce4f6204ee310f8d8b35fb8b1399225cf0f16f295632f0370bc067c3c0a513b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060run\u0060 turns every thrown error into \u0060-1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). 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 at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/StartupInventory.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1d11f865c9ff1a5c03b3ede23bbddea3e4e81ba63e72223a33366f4c7f9f9b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060scan\u0060 turns every thrown error into \u0060[]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). 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 at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/StartupInventory.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"434a6962f12dc91232530133de2b56148e06c8d33853e93c0d8a2103d9fa580e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loginItemsDump\u0060 turns every thrown error into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). 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 at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"macos/Sources/StartupInventory.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"022809d66ea24f28315e2fbcb562c8a398e80b762a51f1d6a2894efdcc20291b"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"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":20,"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."]}]}