{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"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":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"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":"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":"GlanceProbe.exercise (cyclomatic 127): GlanceProbe.exercise has cyclomatic complexity 127 (threshold 15). Of this number, 126 points are the body\u0027s own statements and 1 belongs to one function item 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a30051c75223f4973c8422ccb00579e4f0d9b1319c35b7b797b8fbc27985d4"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseLaunchpadKeys (cyclomatic 125): GlanceProbe.exerciseLaunchpadKeys has cyclomatic complexity 125 (threshold 15). Of this number, 107 points are the body\u0027s own statements and 18 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadKeysProbe.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b516aef866950ade529d9f15a9a233f3e4b20ce6fadcfaae02a48fce06a6fa"}},{"ruleId":"D1","level":"warning","message":{"text":"ConductorSession.receive (cyclomatic 125): ConductorSession.receive has cyclomatic complexity 125 (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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cea00ded351e98bd281a00238d234f67cb3f06c7db6a1927af4de7c8410d41"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseNotch (cyclomatic 121): GlanceProbe.exerciseNotch has cyclomatic complexity 121 (threshold 15). Of this number, 111 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b4f7a42c18ff1b0695060a9f36fa313a14128878489916b9c44cf28cf1c2d9"}},{"ruleId":"D1","level":"warning","message":{"text":"PresenceLock.handle (cyclomatic 113): PresenceLock.handle has cyclomatic complexity 113 (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":"prototype/Core/PresenceLock.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0f04c5aa1654498ae8f835e78e5f01a1164d48685621ed7a6846ecae8598d4"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2SilentApply.perform (cyclomatic 109): WS2SilentApply.perform has cyclomatic complexity 109 (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":"prototype/App/WS2SilentApply.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e33cabd9b4286e202b8dd63081658e44ffe30b7bf03de2f56b711e04311f4af"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchPanel.apply (cyclomatic 92): NotchPanel.apply has cyclomatic complexity 92 (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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0d431a850a25ef513be6b25cdadfe3c3e6742db8b7ac48dca06430165dcc71"}},{"ruleId":"D1","level":"warning","message":{"text":"main.swift.top-level code (cyclomatic 87): main.swift.top-level code has cyclomatic complexity 87 (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":"prototype/main.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ba303b17ef16f1e1bba736d7fbcf828fa1fe2f27df8aa38575b0a795074ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2SilentReadout.sentence (cyclomatic 83): WS2SilentReadout.sentence has cyclomatic complexity 83 (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":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"395da280d2c9c6d8377919d3681dd4eaf8cc530d9dc553990da66e5ae43556e8"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.shade (cyclomatic 82): AppDelegate.shade has cyclomatic complexity 82 (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 shape REPEATS in the file: one other method here (AppDelegate.shade::installOverlay) 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":"prototype/App/ShadeController.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"301bb6118494819749ce9f824739733a7d0cb2673c7688de10e8d8656e0cfe4e"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseFullScreenDesktops (cyclomatic 79): GlanceProbe.exerciseFullScreenDesktops has cyclomatic complexity 79 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 21 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FullScreenProbe.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daa6ac587f00d4fbc70877b26e0a7bf4663ffe8269edc982864f8fabecf05a7"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseNotchShape (cyclomatic 79): GlanceProbe.exerciseNotchShape has cyclomatic complexity 79 (threshold 15). Of this number, 72 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchShapeProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"db100f0f46099454d0e4ffcd2ee101b98445b4197adda9cfe231901b6ffb2edd"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexWire.receive (cyclomatic 78): CodexWire.receive has cyclomatic complexity 78 (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":"prototype/Core/CodexWire.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b681c4faeadd54f88f33aba4ae64ee5a467c7a7041ee347849bd60d35527e6"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseThumbnail (cyclomatic 77): GlanceProbe.exerciseThumbnail has cyclomatic complexity 77 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 15 belong to 4 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":"prototype/App/ThumbnailProbe.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c1e86a26c22900c7effa275702f3f1d53f6821f58ecf30f3078795254c31f5"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseGestures (cyclomatic 76): GlanceProbe.exerciseGestures has cyclomatic complexity 76 (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":"prototype/App/GestureProbe.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a72ada7ffe5e5a95aa0eb3887e4e9255fd02d038e61c72dd6a3765b11d7e14"}},{"ruleId":"D1","level":"warning","message":{"text":"HabitRules.judge (cyclomatic 66): HabitRules.judge has cyclomatic complexity 66 (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":"prototype/Core/HabitRules.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ecc75ec3a1cc68100906010e5e5dd535177795c40d9487b475ca5990672011"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseStripPeek (cyclomatic 64): GlanceProbe.exerciseStripPeek has cyclomatic complexity 64 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 4 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":"prototype/App/StripPeekProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdaa8feb8f8ce25a8320f8ad71d4d4d8fd7f48ceef28ea3e7a1d1830a4d1cfc"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseSlideOver (cyclomatic 63): GlanceProbe.exerciseSlideOver has cyclomatic complexity 63 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddc2178cacfb0e62ff6c9fdc3f3e4f805b21d39cf207c74a6dc962b89083f7f"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2OwnedLaunchController.receive (cyclomatic 63): WS2OwnedLaunchController.receive has cyclomatic complexity 63 (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":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3dab56c35951ef8295eda3449e1e38d70dd3e2a94935cca66ccc633c6f824c"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceGestureTracker.receive (cyclomatic 60): FaceGestureTracker.receive has cyclomatic complexity 60 (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":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"273b8f57d7f6c1006279548eafc73ea2f5eaba1bc9019bca1f100b4816fec778"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseDockScenarios (cyclomatic 59): GlanceProbe.exerciseDockScenarios has cyclomatic complexity 59 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"800531f9ac6a0e04830933e2fd456ba495d103dd5c800e275167cf9daf6cf66b"}},{"ruleId":"D1","level":"warning","message":{"text":"FoldRenderer.draw (cyclomatic 58): FoldRenderer.draw has cyclomatic complexity 58 (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":"prototype/Effects/FoldRenderer.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b3a7d9448f72335d331d2311eeabf2128cd5bdf932737d5a0a70b8dd2dbf6d"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchContentView.place (cyclomatic 57): NotchContentView.place has cyclomatic complexity 57 (threshold 15). Of this number, 55 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":"prototype/App/Notch/NotchContentView.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6968ec6b50ad18150d8d82b479254525a9bf670a8f39c844eecb98d95ef660d"}},{"ruleId":"D1","level":"warning","message":{"text":"SilentMilestoneProbe.exercise (cyclomatic 56): SilentMilestoneProbe.exercise has cyclomatic complexity 56 (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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a7aadee8c7fa68c62149603ed7622249f33340472f3026a98d25eace65510b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChromeProfile.swift.adobeChromeProfile (cyclomatic 56): ChromeProfile.swift.adobeChromeProfile has cyclomatic complexity 56 (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":"prototype/Window/ChromeProfile.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcd79c831697b79dd41139140f58583d4625974ff22d925354a2b5b0e252555"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSessions.receive (cyclomatic 53): AgentSessions.receive has cyclomatic complexity 53 (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":"prototype/Core/AgentSessions.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c91d5871d9be7e528f72f6a0a8a43493680b4b57eddf371c6e6d237b2def7e"}},{"ruleId":"D1","level":"warning","message":{"text":"BezelCheck.read (cyclomatic 52): BezelCheck.read has cyclomatic complexity 52 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 5 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":"prototype/Core/DisplayShape.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e347d3d2a46f79153bd1fe35c2dafd2457d7f4bc7981eac63070076f766d72"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchPanel.legacyBaseTarget (cyclomatic 52): NotchPanel.legacyBaseTarget has cyclomatic complexity 52 (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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"604ecbb4024711daec4f7db0faa4ac6a9387f29f61c82916ad0cc24a694bdce1"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.handleFlick (cyclomatic 50): TrackpadGestureController.handleFlick has cyclomatic complexity 50 (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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"19eb5230cdfa2aedf4682d50af7635acdf8029b750344dda62f2ea2ed564e8be"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2RemoteHost.profile (cyclomatic 50): WS2RemoteHost.profile has cyclomatic complexity 50 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 3 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"0feccecb336bf017c0b86a347fd7bc5c5f0409d95f2e1a3a8262a7ef1f3a72e9"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.observeFoldHide (cyclomatic 49): AppDelegate.observeFoldHide has cyclomatic complexity 49 (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":"prototype/App/WS2FoldCallbackGuard.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c8329871861dc865dd370153170851946cde459eaa8ce54b5d453e2557b5b4"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2OwnedSessionView.render (cyclomatic 48): WS2OwnedSessionView.render has cyclomatic complexity 48 (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":"prototype/App/WS2OwnedSessionView.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c89f5ff27f6edd8db94daf8bb8d7a89b9ba5adfde894adbb7b60c68bc6749c"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseFinderAlias (cyclomatic 47): GlanceProbe.exerciseFinderAlias has cyclomatic complexity 47 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 17 belong to 6 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":"prototype/App/FinderAliasProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"756057c6463f09ac1539fa74b4629e0122398849aa4c75a94619bb40dcca90e4"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.shade::installOverlay (cyclomatic 45): AppDelegate.shade::installOverlay has cyclomatic complexity 45 (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 shape REPEATS in the file: one other method here (AppDelegate.shade) 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":"prototype/App/ShadeController.swift"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8eff1435bb7a5e783a3eee70c55e2725f7272fa19c38c9fa7076aa8437ca02"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseWinsSwitcher (cyclomatic 44): GlanceProbe.exerciseWinsSwitcher has cyclomatic complexity 44 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 12 belong to 6 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":"prototype/App/WinsSwitcherProbe.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bba201a1cdc41d43cf19ba07d309b6ff84a37bbe719ad9a49faa10782903b6"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2CompanionChannel.receive (cyclomatic 44): WS2CompanionChannel.receive has cyclomatic complexity 44 (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":"prototype/Support/WS2CompanionChannel.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67ddb40e0906bcad0f24711398030f99ed9418d857ad915394f82bba0bf7129"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseSecondDisplayDesktops (cyclomatic 42): GlanceProbe.exerciseSecondDisplayDesktops has cyclomatic complexity 42 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 4 belong to one function item 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":"prototype/App/GapProbesSecondDisplayDesktops.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f94b776e51b1cd9867a55d2c5d35181f325d3e8f2984e01ea1a336db7ae8dc"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.keyStep (cyclomatic 41): TrackpadGestureController.keyStep has cyclomatic complexity 41 (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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffb818a547330b1f6270e3be650857824067fa360570b963f95dd50923a4b0b"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2DeviceActionHost.receive (cyclomatic 41): WS2DeviceActionHost.receive has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2DeviceActionHost.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a05ddfdbb345b7694adda108df3d7be78fc33711458a6dad72175c788c14552"}},{"ruleId":"D1","level":"warning","message":{"text":"OwnerTurnChallenge.receive (cyclomatic 41): OwnerTurnChallenge.receive has cyclomatic complexity 41 (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":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"13043d3a4324b9336b5f03fd5d23f02cdfa4701a748479c3dce29f1900173b1e"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserActionPolicy.preflight (cyclomatic 41): WindowBrowserActionPolicy.preflight has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserActions.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa51b08e54f88659b771f80541030306b88b5090352cdf4841885ce42c515841"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchActivityController.perform (cyclomatic 40): NotchActivityController.perform has cyclomatic complexity 40 (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":"prototype/App/NotchActivityController.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c906e863821b047f80b93662e5987cd7706fbd5ea1b4ebf9eec6a26207ef93"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.decideFlick (cyclomatic 40): TrackpadGestureController.decideFlick has cyclomatic complexity 40 (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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38a721fae0d4a8f9b6440957c1ddddd555ec9ea7fd96b7191e3b16db2918f70"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowFoldEffects.prepareFold (cyclomatic 40): WindowFoldEffects.prepareFold has cyclomatic complexity 40 (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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9667b4a855022ef62ac8b3c13f3669c87781ab8f682b97abec7704f7a6f26d7"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseStrip (cyclomatic 39): GlanceProbe.exerciseStrip has cyclomatic complexity 39 (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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83bbcd3d5ad3700165c92e0d245a931cdc0c54d0ce55e4f8f0be890312f5178"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseLaunchpadTiling (cyclomatic 39): GlanceProbe.exerciseLaunchpadTiling has cyclomatic complexity 39 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 20 belong to 4 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":"prototype/App/LaunchpadTilingProbe.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"757458a99956345e578f1b6d40a56bd4303e266ad46c389aa220b23814b63156"}},{"ruleId":"D1","level":"warning","message":{"text":"HabitWorker.handle (cyclomatic 39): HabitWorker.handle has cyclomatic complexity 39 (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":"prototype/App/HabitContext.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91a8bf6a5bd78cea7fdb2f3f23ecb7806b0c1e0225448a2fcf098dffe0df87e"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideOverRecovery.recoverAbandoned (cyclomatic 39): SlideOverRecovery.recoverAbandoned has cyclomatic complexity 39 (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":"prototype/App/SlideOverRecovery.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"92da6a64e99e5420fc77ebd2380874ca6e622f981e469d23eaba3c41078a83a0"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2GameControllerBridge.sample (cyclomatic 39): WS2GameControllerBridge.sample has cyclomatic complexity 39 (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":"prototype/App/WS2GameControllerBridge.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b87ee19f30bb9441eb6f498e1b01739bb8bb9de4d3d6b064bc17ef0c197448"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateLaunchPolicy.decide (cyclomatic 39): UpdateLaunchPolicy.decide has cyclomatic complexity 39 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 1 belongs 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":"prototype/Core/UpdateDecisions.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d3347d30d4dffb39e78061ef43497297b46bd12237873ca345258155b5f787"}},{"ruleId":"D1","level":"warning","message":{"text":"Reader.value (cyclomatic 39): Reader.value has cyclomatic complexity 39 (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":"prototype/Core/WS2OPACK.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"96099524e450fa1fe2e44a239ef793a0e005c355232cd8caace38539e14ce726"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateGuard.run (cyclomatic 39): UpdateGuard.run has cyclomatic complexity 39 (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":"prototype/Watchdog/main.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47b27565ea7d7fc01a9f7cc4521d537e07f899dbc629b68c3f7b3649cfa2653"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exercisePictureInPicture (cyclomatic 38): GlanceProbe.exercisePictureInPicture has cyclomatic complexity 38 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"49049c768d61d4f585d507f1a76d15452d72d837c8a51e9f985169cded515dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.hitch (cyclomatic 38): GlanceProbe.hitch has cyclomatic complexity 38 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 1 belongs 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":"prototype/App/HitchProbe.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"025662ab862eca88ed2c1b484051025e3cdb375c94a1691057ff6e1b70ea0f4f"}},{"ruleId":"D1","level":"warning","message":{"text":"SilentMilestoneProbe.asyncTerminals (cyclomatic 38): SilentMilestoneProbe.asyncTerminals has cyclomatic complexity 38 (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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b2bd369180bc6d21b8fcdc221dbc8664302f26fd4309700f72159ee0593cd4"}},{"ruleId":"D1","level":"warning","message":{"text":"PresenceLock.reconcile (cyclomatic 38): PresenceLock.reconcile has cyclomatic complexity 38 (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":"prototype/Core/PresenceLock.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f58de2b4b3bf06b44a2ba602095a26214c56b434b47b2a7170651b002b2e047"}},{"ruleId":"D1","level":"warning","message":{"text":"TouchTap.frame (cyclomatic 37): TouchTap.frame has cyclomatic complexity 37 (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":"prototype/Core/TouchTap.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4735315961e0f54b43355b0a858d7b5f246c6984c1c2a14045c80572dea5357e"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchPanel.displayCompact (cyclomatic 37): NotchPanel.displayCompact has cyclomatic complexity 37 (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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e9c3ff4f523ebddc472acff86ea9febb83c20a94976bffc3ae0298f8ed448a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.buildStatusMenuItems (cyclomatic 36): AppDelegate.buildStatusMenuItems has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function item 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":"prototype/App/MenuBarController.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"45aef4339c979f1c3a8dcd5f1a8fc38ae89f1076ae8629d2f70b41bb61edf425"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseSlideOverSpaces (cyclomatic 36): GlanceProbe.exerciseSlideOverSpaces has cyclomatic complexity 36 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GapProbesSlideOver.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"733ca76dec7f1288945771ed9bdbbfb84016a353680e420cbe24b384216e9db7"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseLaunchpad (cyclomatic 36): GlanceProbe.exerciseLaunchpad has cyclomatic complexity 36 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 3 belong to one function item 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"de28489c217848ae488d51d32b95279cfd5c1dbf9428dada34e2d9053d135e92"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseStripOverview (cyclomatic 36): GlanceProbe.exerciseStripOverview has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function item 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":"prototype/App/StripPeekProbe.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d27363ab08fdec45e799d96bc47548b099f9edc12cbd895ddac20c86c6644e6"}},{"ruleId":"D1","level":"warning","message":{"text":"ExplainerElementLayer.recolor (cyclomatic 36): ExplainerElementLayer.recolor has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"54357296a9965c89c7f002bb46a37deb836f542b71231c5376a0409648d38037"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsSearchIndex.search (cyclomatic 36): SettingsSearchIndex.search has cyclomatic complexity 36 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 1 belongs 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":"prototype/Core/SettingsSearch.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"86962a2c877580cd8ce1747c18eacb5c4b3346deb69d186db173b28dd764d79a"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCompactView.draw (cyclomatic 36): NotchCompactView.draw has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4098f9650f9989055f536b61e0af48af8ddb631e9647ad3c46b10878d651bae"}},{"ruleId":"D1","level":"warning","message":{"text":"PreviewRenderer.swift.nativeTitleStripLooksBroken (cyclomatic 36): PreviewRenderer.swift.nativeTitleStripLooksBroken has cyclomatic complexity 36 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 10 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":"prototype/Capture/PreviewRenderer.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"729f46c73a0ea53a8091e31833b2ded025007d2b2ab4c207790870fdd6a8fff4"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseSlideOverBorder (cyclomatic 35): GlanceProbe.exerciseSlideOverBorder has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. 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":"prototype/App/GapProbesSlideOver.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82334e9c93b3ba8cb001fb464330e77ff804acb974612336ea3cf326f772121"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.mouseUp (cyclomatic 35): LaunchpadView.mouseUp has cyclomatic complexity 35 (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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb859465dbd30c51de8a25aed5ec1faa39d08f87768c38b55e47a0942bc3d4ec"}},{"ruleId":"D1","level":"warning","message":{"text":"MeetingLinkDetector.classify (cyclomatic 35): MeetingLinkDetector.classify has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs 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":"prototype/Core/CalendarActivity.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b8ab5540f3451e3f918f3a678b3ea3163469ef3a48908436ae9a5833b59ab7"}},{"ruleId":"D1","level":"warning","message":{"text":"ConductorSession.touch (cyclomatic 35): ConductorSession.touch has cyclomatic complexity 35 (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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9d0c0645d40880c07fe059f74d7c9b92abeee676b22a8c4f9ddea3c55f0db9"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractionCoordinator.acquire (cyclomatic 35): InteractionCoordinator.acquire has cyclomatic complexity 35 (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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b78e8a28eb1a7fc85112793489da4cfc6e442abe31d5d433f70528f3274eab"}},{"ruleId":"D1","level":"warning","message":{"text":"PowerFlashPolicy.observe (cyclomatic 35): PowerFlashPolicy.observe has cyclomatic complexity 35 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 3 belong to one function item 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":"prototype/Core/PowerFlash.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bd1b22ce065d4665315c5432da34e43593a7875a9effd57b56c8bbfd85c8b9"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.wirePanelCallbacks (cyclomatic 35): NotchController.wirePanelCallbacks has cyclomatic complexity 35 (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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7a75a158c2af8520e7907da2e4fc1c53cc05d68a5935ceafd9995a7f33604c"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseFoldDesktops (cyclomatic 34): GlanceProbe.exerciseFoldDesktops 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, 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":"prototype/App/GapProbesFoldDesktops.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec18ea0090ac3b06dc10045c562331d61d7a4fda0d2b74ba2ba63a167b3e0a1"}},{"ruleId":"D1","level":"warning","message":{"text":"HabitWorker.generic (cyclomatic 34): HabitWorker.generic 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":"prototype/App/HabitContext.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1423def30f61c00304371b16b16373904669afb31a07ea956a37a1d28839c350"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.control (cyclomatic 34): LaunchpadView.control 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb09913811990880c9ec5ce7690ba3df7cfbbdec20a9d45690496046631f7d8c"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchActivitySources.poll (cyclomatic 34): NotchActivitySources.poll 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":"prototype/App/NotchActivitySources.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"638656533c6f49e4d0725b9526ba5a7f5d13f3303a052515249a4934ba308675"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.updateFollow (cyclomatic 34): TrackpadGestureController.updateFollow 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b075d7d4e3511418e10d5ae3696ca0fc8ea5fbe1f35386c48fb62d10ce70c0c"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2ConductorView.render (cyclomatic 34): WS2ConductorView.render has cyclomatic complexity 34 (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":"prototype/App/WS2ConductorView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab1bafbd1e49b189fb4e65a17898b63543dca8e173b0674e4198ba81a767481"}},{"ruleId":"D1","level":"warning","message":{"text":"EffectSession.show (cyclomatic 34): EffectSession.show has cyclomatic complexity 34 (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":"prototype/Effects/EffectSession.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"536435877e98067fd244ce110e8a8b76fef8614ede3a0048c3c664008025d786"}},{"ruleId":"D1","level":"warning","message":{"text":"Policies.swift.windowPolicy (cyclomatic 34): Policies.swift.windowPolicy has cyclomatic complexity 34 (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":"prototype/Compatibility/Policies.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cab76268c003d3d49b548bb16ac64c7a73c3ce135f3cc7ed69339fadff78b0"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseFinderColumns (cyclomatic 33): GlanceProbe.exerciseFinderColumns has cyclomatic complexity 33 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 13 belong to 5 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":"prototype/App/FinderColumnsProbe.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70b4c4892e7afde6c11a007a325ba4d7133fd6a34bd0a8b172f72ebbbfb0226"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.scrollWheel (cyclomatic 33): LaunchpadView.scrollWheel 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df7cdbc55420c9fc037b7d461aed5ff6719b0f18325c084a304e6727060aed3"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowSwitcherKeys.handle (cyclomatic 33): WindowSwitcherKeys.handle 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":"prototype/App/WindowSwitcher.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"458c2f664c0bece8d80aa8a55b75f9a8d354bf05668650a700676a0abe972996"}},{"ruleId":"D1","level":"warning","message":{"text":"EffectWindowProbe.run (cyclomatic 33): EffectWindowProbe.run 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":"prototype/Effects/EffectWindowProbe.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"361bed5c2b4be9923216d7eac466e3530f503225809c8e3f58b51e9a805f37ab"}},{"ruleId":"D1","level":"warning","message":{"text":"EventTapCallback.swift.eventTapCallback (cyclomatic 33): EventTapCallback.swift.eventTapCallback 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":"prototype/App/EventTapCallback.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac8822fdd8f5087fd07021237703fa67c4267852e3bccc0908bed7efe8cf6a4"}},{"ruleId":"D1","level":"warning","message":{"text":"HabitWords.lines (cyclomatic 32): HabitWords.lines has cyclomatic complexity 32 (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":"prototype/Core/HabitRules.swift"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f914075af91ca80f72c042bd0991cf52fa991fbf11099fc4d5af85c554c1e44b"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCanvasView.scrollWheel (cyclomatic 32): NotchCanvasView.scrollWheel has cyclomatic complexity 32 (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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f795db749ac970179ba353a53a0b6f0d3100b52b3f05cd164b04d324d6aaae"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.startFocusCurrentAppSession (cyclomatic 31): AppDelegate.startFocusCurrentAppSession has cyclomatic complexity 31 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 13 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FocusSession.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcfef39615f7093a81e16b84b5562d298949f690a05542ec632ae3b2d7b1269"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.holdSetUp (cyclomatic 31): GlanceProbe.holdSetUp has cyclomatic complexity 31 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"prototype/App/HubHoldProbe.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26ff4c9c018b130b7ee6e368ee476f68a27b2dfaf5aa0b036ebd1627ef9ab47"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityCard.update (cyclomatic 31): ActivityCard.update has cyclomatic complexity 31 (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":"prototype/App/NotchActivityView.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a9076ce56f5db7f61c8f502d79b8d2da4c8b2a069dde0f47c86c41bdff8a7d"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2RemoteHost.input (cyclomatic 31): WS2RemoteHost.input has cyclomatic complexity 31 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 3 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"50eb50954fd2c059af099063f0a00e63a28b02b11c02dd52933382a37ac4f1da"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteLayerHost.apply (cyclomatic 31): RemoteLayerHost.apply has cyclomatic complexity 31 (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":"prototype/Core/RemoteLayerHost.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2898b6379839c64f7945eefa29ec75acda15c022fa0a5e8731136527a79cf619"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2SilentProductPort.accepted (cyclomatic 31): WS2SilentProductPort.accepted has cyclomatic complexity 31 (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. This is NOT this file\u0027s highest cyclomatic complexity: WS2SilentWindowEffect.effect (cyclomatic 37) 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":"prototype/Core/WS2SilentProductPort.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c3d4eb04bd5a417176b14f61a3752471d0e0897cab92e584146db5be598584"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2PairSetupServer.advance (cyclomatic 31): WS2PairSetupServer.advance has cyclomatic complexity 31 (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":"prototype/Support/WS2PairSetupServer.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daee0f521bb61a9a1f77b3a36bec6ae2368b99bd6e5817352480968c8a8e1d9"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCanvasView.mouseUp (cyclomatic 31): NotchCanvasView.mouseUp has cyclomatic complexity 31 (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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb59911b159a6e9160a8e9cfdc2ac2241984928fcf37128e3224c1be8a263179"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseSplit (cyclomatic 30): GlanceProbe.exerciseSplit has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"544c8b05e0d1a8df4af5764335c8569d9672aea87748fa030f5fc5db790560ee"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.judgeFlick (cyclomatic 30): TrackpadGestureController.judgeFlick has cyclomatic complexity 30 (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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba77446de3bb94a0d9567262ace4038edbc7631736fa0c26eaa87c378af9b70"}},{"ruleId":"D1","level":"warning","message":{"text":"FocusTimer.handle (cyclomatic 30): FocusTimer.handle 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":"prototype/Core/FocusTimer.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e9251f88e962bbb0b91d55bcb75edadcdbf9dc7563f19219a27411b8b2e3bc"}},{"ruleId":"D1","level":"warning","message":{"text":"MagicTiling.plan (cyclomatic 30): MagicTiling.plan has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function item 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":"prototype/Core/MagicTiling.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad7b086bb520feae611c05fb5395f7ab17b62de1244e256ba14e5da89f3454a"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2ApprovalReview.command (cyclomatic 30): WS2ApprovalReview.command has cyclomatic complexity 30 (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":"prototype/Core/WS2ApprovalReview.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7662cf5c6f2d56c3aaa529d81f55f0505be0cda1e6977b0f7d24dd9131bc2bd5"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeProxyOverlayWindow.sendEvent (cyclomatic 30): NativeProxyOverlayWindow.sendEvent 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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c786e053c4ac3666062598ab27196d098f58268d24dca95050cf35d1bf074699"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserController.refreshPanel (cyclomatic 30): WindowBrowserController.refreshPanel has cyclomatic complexity 30 (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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b7a39905819d7d7272319f60f1f41cff085d49472e597e295bc376a4863fb1"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.handOffFocusBeforeHiding (cyclomatic 29): AppDelegate.handOffFocusBeforeHiding has cyclomatic complexity 29 (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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf440c7410fbfa40733ca84e88e7f03970b79c14955b42ea48bd3820f7aa1ce1"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceController.driveUnhide (cyclomatic 29): GlanceController.driveUnhide has cyclomatic complexity 29 (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":"prototype/App/Glance.swift"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fc5de9b6231fb5926c907a1338b241a20fdbff2d634cb128e176a6f7c3762a"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.run (cyclomatic 29): GlanceProbe.run has cyclomatic complexity 29 (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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56aa26d6cee0646cd4b7e330a99cbeadeb37f4c9c0042e26ba404d045220ad7"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.restoreGuard (cyclomatic 29): GlanceProbe.restoreGuard has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GlanceProbe.swift"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eef4cb2d8432a8839ea6d2ac5c863ecb6c560500288d23c57593ab0b6b9bd82"}},{"ruleId":"D1","level":"warning","message":{"text":"PictureInPictureController.enter (cyclomatic 29): PictureInPictureController.enter 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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"055c1f765c639f37057731266678bc4b2731d9a0ce431e070268dd8be35abea4"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideOverController.validateWindow (cyclomatic 29): SlideOverController.validateWindow has cyclomatic complexity 29 (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":"prototype/App/SlideOver.swift"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1032799958379a64c79f61c5204ffd1c789a5dab66b2d57677d18ee6369dafa"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.dropSplit (cyclomatic 29): TrackpadGestureController.dropSplit has cyclomatic complexity 29 (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":"prototype/App/DropSplitRun.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2329e6cd9272f10305270df4526d865e1749bf5975ce286f6496a89f91a5e3"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2AppRuntime.init (cyclomatic 29): WS2AppRuntime.init has cyclomatic complexity 29 (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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"879e252c13b55c4486efabcd460e2b3d417b4ae3b8e00d1eaf9891073ff5a268"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2HookEvent.parse (cyclomatic 29): WS2HookEvent.parse has cyclomatic complexity 29 (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":"prototype/App/WS2HookServer.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c37dea3c2b683761df81b5b8adcd827b30f64bd40eddd9fb6808f3f674296f6"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2SilentApply.perform (cyclomatic 29): WS2SilentApply.perform has cyclomatic complexity 29 (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":"prototype/App/WS2SilentApply.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a1b529843bdfa9c9642e25ca1fc7c5a286cf96501f80d0bf586278c7a69c60"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.init (cyclomatic 29): NotchController.init 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf5f4ce44c2a0f8dc56bb08f81d29d16c96284d8141f09ec98a8ffeae9d31ef"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.quickLookWindowCandidates (cyclomatic 28): AppDelegate.quickLookWindowCandidates has cyclomatic complexity 28 (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":"prototype/App/FoldExit.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dbabe2fa90e20acc03b3172e48fa515e01db504926df977de5289a19ea9719"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseWindowClasses (cyclomatic 28): GlanceProbe.exerciseWindowClasses has cyclomatic complexity 28 (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":"prototype/WindowBrowser/WindowClassesProbe.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79e49e487ecb5f566050d55455c527fbb992886bafcf3e09b2ee7b1d1768a70"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobalInputFilterState.admit (cyclomatic 28): GlobalInputFilterState.admit has cyclomatic complexity 28 (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":"prototype/App/GlobalInputFilter.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e970b26fabd7f09f93ab2349b958e532d75de7eb0c2f8072009f93467c5a5dc"}},{"ruleId":"D1","level":"warning","message":{"text":"ExplainerElementLayer.apply (cyclomatic 28): ExplainerElementLayer.apply 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":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b3d8badab97e593ba82910a08c1556523f848612f108b4360fdcff88183e03"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.magicTile (cyclomatic 28): TrackpadGestureController.magicTile has cyclomatic complexity 28 (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":"prototype/App/MagicTilingRun.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9731030b68333e236ff97af962c67b45d683181f5db4c6678d9c81d22041bef4"}},{"ruleId":"D1","level":"warning","message":{"text":"ExplainerDirector.handle (cyclomatic 28): ExplainerDirector.handle has cyclomatic complexity 28 (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":"prototype/Core/ExplainerScript.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c0d201bee099cdecf0106b0a76512f559b572c63fa7e80af617e7c5656bbb4"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowFoldEffects.prepareRestore (cyclomatic 28): WindowFoldEffects.prepareRestore has cyclomatic complexity 28 (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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c0a524cc34f649b8d73cd1319e7aeeb4fc9300130cea344d127ad174ed74a9"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.showPeek (cyclomatic 28): NotchController.showPeek has cyclomatic complexity 28 (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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a27c81a6a1a19c46c620621e20f3ab80cf5f33c4c7f17f44090ebbee43a13"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.applyReconcileAXSnapshots (cyclomatic 27): AppDelegate.applyReconcileAXSnapshots has cyclomatic complexity 27 (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":"prototype/App/Reconcile.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d0bedf7903c4b8717d8a9fc62881aa6625829f5728f726e1645870f304aef5"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseWins (cyclomatic 27): GlanceProbe.exerciseWins has cyclomatic complexity 27 (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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"05528cf2497f033e8a2dd84d21b2a7722f48bae862e4716840741d115ae9777a"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollStripController.evaluateColumns (cyclomatic 27): ScrollStripController.evaluateColumns has cyclomatic complexity 27 (threshold 15). Of this number, 25 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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"034bdd08bb1517e81b666f4c4a714f5e00cfdf18999af2c2b833c5f0bf5b6c74"}},{"ruleId":"D1","level":"warning","message":{"text":"ConductorSession.play (cyclomatic 27): ConductorSession.play has cyclomatic complexity 27 (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: ConductorNotch.text (cyclomatic 31) 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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"d161e340bd7887c31188323dbfb2181f32111d509bfb2b3a2326cddb609942a1"}},{"ruleId":"D1","level":"warning","message":{"text":"FocusNavigator.move (cyclomatic 27): FocusNavigator.move has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FocusNavigator.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eca43419f9b9c66eae7c77f83ae8989121ba3395a21d8fa80ce604e9ad1fda6"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.handleHotKey (cyclomatic 26): AppDelegate.handleHotKey has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/EventTap.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fa722fb502fd8ee628730c79f55865be03cba7f09cc09657f2c9ee43f1086f"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseElsewhere (cyclomatic 26): GlanceProbe.exerciseElsewhere has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ElsewhereProbe.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dbdc70a9db7be2606629605717b2a0d7d6275f61c7fc39576ae25aeeb4387a"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.moveReorder (cyclomatic 26): LaunchpadView.moveReorder has cyclomatic complexity 26 (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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"52273c1e69c3958ad06ebae0dbb7f485bf5360837571643d68901c417ca8dee5"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchActivitySources.audioSnapshot (cyclomatic 26): NotchActivitySources.audioSnapshot has cyclomatic complexity 26 (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":"prototype/App/NotchActivitySources.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4dc0a79bd82020361288caa4d4dceb6ee60bc98898f38cbc28a0de05314e39"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2CodexApprovalHost.confirm (cyclomatic 26): WS2CodexApprovalHost.confirm has cyclomatic complexity 26 (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":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"94893315186ba64062b57270b1050123585bf346618b6fc0511fe83cc03cd506"}},{"ruleId":"D1","level":"warning","message":{"text":"HorizontalLadder.next (cyclomatic 26): HorizontalLadder.next has cyclomatic complexity 26 (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: ScreenTile.action (cyclomatic 33) 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":"prototype/Core/TrackpadGesture.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6322e65a0ecd35211a18ff2db809c77756537d8a216363829eb5ba2d1936acd3"}},{"ruleId":"D1","level":"warning","message":{"text":"Writer.value (cyclomatic 26): Writer.value has cyclomatic complexity 26 (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":"prototype/Core/WS2OPACK.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"39958a7bfca606bab0af47b328e631841f1a03632019345d0ac6b54575b9a4fd"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsShotProbe.run (cyclomatic 26): SettingsShotProbe.run 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":"prototype/Effects/SettingsShotProbe.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"280ccb0fcdd443e4fa89715f508541ed25eab99188d39fa8f208ad3c5cf0e3c4"}},{"ruleId":"D1","level":"warning","message":{"text":"SecureLogFile.init (cyclomatic 26): SecureLogFile.init has cyclomatic complexity 26 (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":"prototype/Support/SecureLogFile.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"329080e7c46feb6cd13f7c621925258d7378bb7c736a5f9ad0572aa12b7cb32d"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchPanel.restingTarget (cyclomatic 26): NotchPanel.restingTarget has cyclomatic complexity 26 (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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a921cec19d49319be85c9f3a6fa9067b1709d6a4485a6b3897877ac68d2997"}},{"ruleId":"D1","level":"warning","message":{"text":"teach.frameAt (cyclomatic 26): teach.frameAt has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong 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":"site/teach.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"119e5ae7b18efd95c0a3f647d1f17b50257b7a9166371db99997fa94b691e71b"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.arrangeShadedEntries (cyclomatic 25): AppDelegate.arrangeShadedEntries 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":"prototype/App/ArrangeController.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a718c86317471b79e77daaae57c97299faab1ef33b63ea24820113af7b1dd854"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.frontmostWindowContaining (cyclomatic 25): AppDelegate.frontmostWindowContaining has cyclomatic complexity 25 (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":"prototype/App/EventTap.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ce3137de11bd1615aab21c1da78c038392a255e6a65ade4dc7f308c7019ec7"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.updateFaceAutofillControls (cyclomatic 25): AppDelegate.updateFaceAutofillControls has cyclomatic complexity 25 (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":"prototype/App/FaceAutofillSettings.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d3f4a93b3cc2d06c2fd593426b460142fa893539a23dc7ae2809626e4d0305"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.unshadeReturningElement (cyclomatic 25): AppDelegate.unshadeReturningElement has cyclomatic complexity 25 (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":"prototype/App/FoldExit.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ba8218fcfd5a834306302f6e4233e4ef29987c6083d5334b505bfab044e1e7"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.scheduleFoldVerification (cyclomatic 25): AppDelegate.scheduleFoldVerification has cyclomatic complexity 25 (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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade4a1212ddb4183f6127ca2e4c3c8bab7a0402f60997c320cf064ce60bf80e4"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.performForwardedTrafficAction (cyclomatic 25): AppDelegate.performForwardedTrafficAction has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 5 function items inside it that branch (retryOrFallback, attempt, verifyAfterPointerClick, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FoldTransaction.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"4366ccbabd772ae1d6f1798faad0e1a674dcb73852ed0754c8f2d5881e2c075a"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseMissionControlSurvey (cyclomatic 25): GlanceProbe.exerciseMissionControlSurvey has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce90d51e8389e1b49966fbb68c6faefba6a5fc68abe8d18b42226a14b6d9253d"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.animateOut (cyclomatic 25): LaunchpadView.animateOut 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fdc0f14e01b3f706ca9e6708801f674a581bed059eb62ff183cdb74a0d8a70"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2CodexApprovalHost.present (cyclomatic 25): WS2CodexApprovalHost.present has cyclomatic complexity 25 (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":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a805d6d465ef4344564fb1b48a67f7a1d47fd70cb59730b26a9cde39f055cef9"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceQualityGate.rawHint (cyclomatic 25): FaceQualityGate.rawHint has cyclomatic complexity 25 (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":"prototype/Core/FaceCaptureQuality.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc048d85dda2937f9708026e6c5e89cd1d4e76236503ee1cd9607586c7c14fc3"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteMode.handle (cyclomatic 25): RemoteMode.handle 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":"prototype/Core/RemoteMode.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"168b6e35face966cbebd07641f8bee510264d94e0bf2e9f97b966104e53ef966"}},{"ruleId":"D1","level":"warning","message":{"text":"EffectWindowProbe.verifyTitlebarControls (cyclomatic 25): EffectWindowProbe.verifyTitlebarControls has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function item 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":"prototype/Effects/EffectWindowProbe.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d00342bb193a216395711c21d1e8f7d39a1e11935c4a7f53c55613740cf95b"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserActionPresentation.item (cyclomatic 25): WindowBrowserActionPresentation.item has cyclomatic complexity 25 (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":"prototype/WindowBrowser/WindowBrowserActionPresentation.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f48e3d7c0fe2f5a51d4d35c90cb72550a0d8ccf6ac3dcb3ec593a303fefa67e"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchPanel.alert (cyclomatic 25): NotchPanel.alert has cyclomatic complexity 25 (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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecf9819bfbc8ff15fcd27f4e5439a977ad89cddc28e83ac5238d125bbd6ff7c"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.handleAXNotification (cyclomatic 24): AppDelegate.handleAXNotification 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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"769adcc9ff9c7dd25f17b51130ff2cdf05b35f13073cbaecadb5f0477c436b9a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.sourceWindowLooksUserVisible (cyclomatic 24): AppDelegate.sourceWindowLooksUserVisible 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":"prototype/App/Reconcile.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36976ddbfa1cb599acee31655da8f97bca55e86d502639abc7ffa7cc51cd83b"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseOverhangingEdge (cyclomatic 24): GlanceProbe.exerciseOverhangingEdge has cyclomatic complexity 24 (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":"prototype/App/StripPeekProbe.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfe92906a74058d12fe150c41dcb410970c13bcf437f5b67b9e3c49c58af40b"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadController.show (cyclomatic 24): LaunchpadController.show 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":"prototype/App/LaunchpadController.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5728754d80b1c317320b68f6e727f1064fcecf35be800eecdbff19f9d6d4edd"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.mouseDragged (cyclomatic 24): LaunchpadView.mouseDragged has cyclomatic complexity 24 (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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fccd5dc64ce0863c669a37bf63e4ff01192119563c647dfa924c15d6361c194"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.folderScroll (cyclomatic 24): LaunchpadView.folderScroll 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0e5d19dc158218609d72d51e50fbf1ef89226d926abfcf4547e1b4f71300a3"}},{"ruleId":"D1","level":"warning","message":{"text":"MiddleTitlebarTap.handle (cyclomatic 24): MiddleTitlebarTap.handle 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":"prototype/App/MiddleTitlebarTap.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba15a65c20aa6a54e26327e5d645d3539d0e71aaafe3080f24892bbe3d450aca"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchDemoView.build (cyclomatic 24): NotchDemoView.build 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":"prototype/App/NotchCoach.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a772f21c26591654cf6cf385e36f35fb76499fd675cb35aefb320d32234510a5"}},{"ruleId":"D1","level":"warning","message":{"text":"SilentMilestoneProbe.head (cyclomatic 24): SilentMilestoneProbe.head has cyclomatic complexity 24 (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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0034089f649870c12984108d4cce0f887a1da12fb3013824bccb5c26aafceff"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2PrivacyValues.value (cyclomatic 24): WS2PrivacyValues.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":"prototype/App/WS2PrivacyPane.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4173ed74f40fd8a1f3660b5c8e7236d64ac7a159dff0ce5ac736563773e5c650"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2RemoteEffects.execute (cyclomatic 24): WS2RemoteEffects.execute 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":"prototype/App/WS2RemoteEffects.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d834388ae602c3980d0a5b674b9d66c50b1ef495e1d33f92ffb281b919051a"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeWire.parse (cyclomatic 24): ClaudeWire.parse 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":"prototype/Core/ClaudeWire.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72f8644d0652056dc0984aedb7bb636d16876f97a22b48273c6c7dbb0d6eecf"}},{"ruleId":"D1","level":"warning","message":{"text":"EffectFrameSource.stream (cyclomatic 24): EffectFrameSource.stream has cyclomatic complexity 24 (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":"prototype/Effects/EffectFrameSource.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9be144097de77a31da60fc826256764c6baeded02f7c5f0893a421bbce6cd3"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2CompanionPairSetupChannel.receive (cyclomatic 24): WS2CompanionPairSetupChannel.receive 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":"prototype/Support/WS2CompanionPairSetupChannel.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89954e71b2c75f865a92fdfddefc11927be531f49192451eec1bb37c9ef2544"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserController.updateLivePreview (cyclomatic 24): WindowBrowserController.updateLivePreview has cyclomatic complexity 24 (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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae29f51898e164981156c5c403bb8d0318f2187e019abffe153a152e0b757c22"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.titleSettled (cyclomatic 24): NotchController.titleSettled has cyclomatic complexity 24 (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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"327a00189941a5ca3c28573bcae7c08ad6b3e4150b6aacc3d00b1feda37c67a9"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.collectJournalRescueActions (cyclomatic 23): AppDelegate.collectJournalRescueActions 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":"prototype/Recovery/Rescue.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13f1c6639c085832b614fdc7755cad2e028567722f11329b6830944549c6199"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceObservationWorker.captureOutput (cyclomatic 23): FaceObservationWorker.captureOutput has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item 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":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"41adeb7c74d35c1297acab09192e8602aa5cf18052791f57be2e033383c2b286"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceController.tick (cyclomatic 23): GlanceController.tick 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":"prototype/App/Glance.swift"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47586576c6610cace01cc0bf7959ad9d790a10f9e388205bd1f805aa970714c"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.showVeil (cyclomatic 23): LaunchpadView.showVeil 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf361c6587ae4c9468cb60fad2338e9639af4973c4f05ffdff7c1d47e7d86dad"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideOverController.enter (cyclomatic 23): SlideOverController.enter 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":"prototype/App/SlideOver.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98c7b284b2056849228888863d54682ccf2f44fd25ab507ae13a830f9b3358a"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.showTitleHold (cyclomatic 23): TrackpadGestureController.showTitleHold has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4db128b837ec6c2bb2dbc9e3eada0e5e7bfc74d94db361477858875c938e6a"}},{"ruleId":"D1","level":"warning","message":{"text":"ConductorSession.handleButton (cyclomatic 23): ConductorSession.handleButton has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: ConductorNotch.text (cyclomatic 31) 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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2ef1401421da1a0563b446c379f8bb2b322f8db8930a3afbda0f8d55f4cccd"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceAutofill.decide (cyclomatic 23): FaceAutofill.decide has cyclomatic complexity 23 (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":"prototype/Core/FaceAutofill.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"af982da2dbcea360e0ff59a9e2cfda03841e7ef347870aabc53d446b753cbb6a"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.windowTiles (cyclomatic 23): NotchController.windowTiles has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4b98297ab79c81e17e9b4dfb60a5f9eb7bbe72c82fbc7be8a6bcd0835702e1"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchPanel.earContent (cyclomatic 23): NotchPanel.earContent 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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f7c76f70ae4a72c8e46ff9e9488d01b9e0c23264bc67772bc0446788806094"}},{"ruleId":"D1","level":"warning","message":{"text":"CountdownTimerCard.rebuild (cyclomatic 22): CountdownTimerCard.rebuild 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":"prototype/App/CountdownTimerCard.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"072dfa11fb3ebc4982258e805a63840107351adb2a906351efff7381dafde994"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.capsuleOnscreenCheck (cyclomatic 22): GlanceProbe.capsuleOnscreenCheck 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfad10df533b2abd50c82193a60e9e37622500a82738c81f9fa939efe91a33f3"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseNotchDebugCycle (cyclomatic 22): GlanceProbe.exerciseNotchDebugCycle 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":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"af559dc614a3a93488b23f6423e064fd8cd7da163ea1b3f24059454db6693886"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseMagic (cyclomatic 22): GlanceProbe.exerciseMagic has cyclomatic complexity 22 (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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd669b4788262990f139eca0a47218e5677991a8402b995f21bb545ba963e54"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseHabits (cyclomatic 22): GlanceProbe.exerciseHabits has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/HabitProbe.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa3b9f31f6747245be83c5282a028243e1cc4ff181a510d6a3e8e11e1dcb1b4"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobalShortcut.factoryHotKey (cyclomatic 22): GlobalShortcut.factoryHotKey has cyclomatic complexity 22 (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. This is NOT this file\u0027s highest cyclomatic complexity: GlobalShortcut.hotKeyID (cyclomatic 41) 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":"prototype/App/GlobalShortcuts.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fa808ac4d850f982abd61069da0e8d0f68a2913fa472968218ef21dfabac1a"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchFaceObservationController.start (cyclomatic 22): NotchFaceObservationController.start has cyclomatic complexity 22 (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":"prototype/App/NotchFaceObservations.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ee6908e4346ac0ef36352838b7926d2b10587036fa359a3d45ee03094708b3"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.perform (cyclomatic 22): TrackpadGestureController.perform 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"150c3df4c7d7b3c2a5f64cc68ebc29a843bab75e21433852b328f812d11ae247"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.resize (cyclomatic 22): TrackpadGestureController.resize has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d7ea47ac490ea74ee3fd5a3bb30f9ea27e9948a9e74aea09d475d75f99bcc0"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2SilentHost.asyncObserved (cyclomatic 22): WS2SilentHost.asyncObserved 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":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f258a97cfd198a70e1355983b6c6a5fd3eef8192223acfe9a6a17394c180848e"}},{"ruleId":"D1","level":"warning","message":{"text":"ExplainerDirector.show (cyclomatic 22): ExplainerDirector.show 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":"prototype/Core/ExplainerScript.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06c7c74518c1a4b21b537b1ad405d8da539d362b4b3d1d8d5fab142b37b1099"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchLevelSuppression.decide (cyclomatic 22): NotchLevelSuppression.decide has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchLevelSuppression.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c07c5497d907f128ce20bf0e5ea4dab7c5abbd4c42e45079b3ef7e63edcf32"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2HeadGesture.shake (cyclomatic 22): WS2HeadGesture.shake 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":"prototype/Core/WS2HeadGesture.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2547eccaff1cbe30232bfa41b5f84e68010f5b20d47112230c485f203371a26"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoController.tickDesktop (cyclomatic 22): DuoController.tickDesktop has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/DuoController.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb3b4093f623d1581bc1bf473dbec9f1055e3c5adac470f77d78025eff99286"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoSettingsWindow.liveChanged (cyclomatic 22): DuoSettingsWindow.liveChanged 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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d15a5011a826d800b55a022e252dabe0ce153597729e6915a9cd93597c72b1"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2CompanionCrypto.answerM3 (cyclomatic 22): WS2CompanionCrypto.answerM3 has cyclomatic complexity 22 (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":"prototype/Support/WS2CompanionCrypto.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"badc6369502da66804970b95d31e3ebd8eeb635a8d054f596dfce97f97855cda"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowCatalog.publish (cyclomatic 22): WindowCatalog.publish 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":"prototype/WindowBrowser/WindowCatalog.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"761c0830e39a59431ac698173fa1324e99a9a056156212b16650e085e0f5432f"}},{"ruleId":"D1","level":"warning","message":{"text":"PinnedPreviewController.beginInteraction (cyclomatic 21): PinnedPreviewController.beginInteraction has cyclomatic complexity 21 (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":"prototype/PinnedPreview.swift"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb250650ed3bc2eef7c54023c03eb6461a7d04ca508a7f005efde3e858c33b1"}},{"ruleId":"D1","level":"warning","message":{"text":"ClaudeConductor.receive (cyclomatic 21): ClaudeConductor.receive 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":"prototype/App/ClaudeConductor.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf984beb4c58aeaaa2c4fd49363d4b50c2c6d6b80242c5c6dde1cfcd6e8bf324"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseReduceTransparency (cyclomatic 21): GlanceProbe.exerciseReduceTransparency 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":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c276921f52c75dde896775031c7a4cff58b1a8e2c57860040b9865e623e55cd"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseSlideOverUnminimizable (cyclomatic 21): GlanceProbe.exerciseSlideOverUnminimizable has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GapProbesSlideOver.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a68dfa97415e0d0c706f2a94aece6340786b18ca859ef22d604162f1380abd"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseNotchCalibration (cyclomatic 21): GlanceProbe.exerciseNotchCalibration has cyclomatic complexity 21 (threshold 15). Of this number, 17 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":"prototype/App/NotchShapeProbe.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6381f569fb02eebd5a57df9b9b288cc60baf3ea093caec7075c08f38430852b"}},{"ruleId":"D1","level":"warning","message":{"text":"HabitWorker.readFocus (cyclomatic 21): HabitWorker.readFocus 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":"prototype/App/HabitContext.swift"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0728b7527d66aabe1ff1f9e262adde3930b3fb4cee1ee38c6de43d7de1d4b0d"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.accessibilityChildren (cyclomatic 21): LaunchpadView.accessibilityChildren 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbed1581c868928aabe3b7a7e3b2a79e2549076fdfd093b8d643d326197131ce"}},{"ruleId":"D1","level":"warning","message":{"text":"NowPlayingCard.renderProgress (cyclomatic 21): NowPlayingCard.renderProgress has cyclomatic complexity 21 (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":"prototype/App/NowPlayingCard.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d366400ddb4faa5a0419df3f4c1309c77b5cab0e82e96ec5bac1b189c5dc34"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollTap.handle (cyclomatic 21): ScrollTap.handle 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":"prototype/App/ScrollTap.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d888af424826010f55df1717daf78180f4d5252877cba69fc0017e7b4bd37c4"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideOverController.show (cyclomatic 21): SlideOverController.show 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":"prototype/App/SlideOver.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea855d9f44a3ce2096fdc5c86568f5b87b741f23465c3147ce939390a7f524f8"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.arrangeableWindows (cyclomatic 21): TrackpadGestureController.arrangeableWindows has cyclomatic complexity 21 (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":"prototype/App/MagicTilingRun.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3ee55f0c62eae182b7bc137cd5ecb31d2d5e7a81b2e4ebd7b03c52fd4dee1e"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateLaunch.recordLaunch (cyclomatic 21): UpdateLaunch.recordLaunch 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":"prototype/App/UpdaterLaunch.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9062c89015ff950fe52d49cdb7130343992e93520325828f4f19a1f5aa628c89"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2AppRuntime.openConductor (cyclomatic 21): WS2AppRuntime.openConductor has cyclomatic complexity 21 (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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e839d812818070a0d7f87f4a7e572d2e64dda28756136b19608f26f398c5244"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2SilentHost.offer (cyclomatic 21): WS2SilentHost.offer has cyclomatic complexity 21 (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":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedc40a4074b6dc3f92534bda3168ce34a5a61a2f60c894ed772f56abd8d8c68"}},{"ruleId":"D1","level":"warning","message":{"text":"MorphRetarget.kickKeyframes (cyclomatic 21): MorphRetarget.kickKeyframes has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 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":"prototype/Core/FlickMotion.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d1a7339684a32f483710866acbe160085cbc1240a08d21f18ecc7b8b6e4b25"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoController.prepareDesktop (cyclomatic 21): DuoController.prepareDesktop 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":"prototype/Effects/DuoController.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9604e95998fd9ecec314d8ff7b4c627d618e35be561c577ba6acdb911e995b"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserContentView.keyDown (cyclomatic 21): WindowBrowserContentView.keyDown has cyclomatic complexity 21 (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":"prototype/WindowBrowser/WindowBrowserContentView.swift"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5011160c4bd7f8cca83ed45f387d23eed56cb60842d5a569c6ba41f675b172"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserShotProbe.render (cyclomatic 21): WindowBrowserShotProbe.render has cyclomatic complexity 21 (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":"prototype/WindowBrowser/WindowBrowserShotProbe.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d992acfd4ed9d99948a818ac3af0384bf3ee3281a30079c1889b273b6ebab248"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCanvasView.morph (cyclomatic 21): NotchCanvasView.morph 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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66b1834506faf68ea06a89f20a33b75bc4b0359b96fbc37d0b9b77ea2d0bd90"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCanvasView.performMorph (cyclomatic 21): NotchCanvasView.performMorph has cyclomatic complexity 21 (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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78267df89172f90bc43d551b248d194c6933d6f1e2bb6834da3aa7ba1ec3353"}},{"ruleId":"D1","level":"warning","message":{"text":"Compact.same (cyclomatic 21): Compact.same has cyclomatic complexity 21 (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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e46bbf5c1e4bedf5e53d19986e0ce40432d9c20a08d946ac9bb97f5733b3426"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchTileView.drawOngoing (cyclomatic 21): NotchTileView.drawOngoing 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":"prototype/App/Notch/NotchRowViews.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"65346b3e5edb6b76d481d4b0bffe6d1b07abec43b26af51418b324d0972d1963"}},{"ruleId":"D1","level":"warning","message":{"text":"AXWindow.swift.chromeHeight (cyclomatic 21): AXWindow.swift.chromeHeight has cyclomatic complexity 21 (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":"prototype/Window/AXWindow.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1821ec9bad4b7b8b463f036c76152ad281ef0415829d70ffac0da84aa7480e"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowStreamCapture.stream (cyclomatic 20): WindowStreamCapture.stream 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":"prototype/ScreenCaptureBridge.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cfccc0815e703c972ae4520defe604bfd1cc37ea9e0db1245b9b5a00343f7c"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.performTitleBarDoubleClickAction (cyclomatic 20): AppDelegate.performTitleBarDoubleClickAction 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":"prototype/App/EventTap.swift"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f693e00aa4a591074c6e0d657139a7b298b9cb8ba1b94733065b28f76e0cb85"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.retargetToActiveSpaceWindow (cyclomatic 20): AppDelegate.retargetToActiveSpaceWindow has cyclomatic complexity 20 (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":"prototype/App/ShadeController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb07d6ad492cce6978e5da5dea4116b742c5675ff7ce833403fa84e0518b6ab"}},{"ruleId":"D1","level":"warning","message":{"text":"HabitCenter.apply (cyclomatic 20): HabitCenter.apply 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":"prototype/App/HabitContext.swift"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de2eb4f898f8f80fc9c1d188276010d20a537411ea3d6eabfa245890ce1d923"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBarRoom.measure (cyclomatic 20): MenuBarRoom.measure 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":"prototype/App/NotchWatch.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5d64be2489baa334576bdc28f0dd3c29d0236a0849a1211185448fb022838b"}},{"ruleId":"D1","level":"warning","message":{"text":"NowPlayingArtworkDecoder.decode (cyclomatic 20): NowPlayingArtworkDecoder.decode has cyclomatic complexity 20 (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":"prototype/App/NowPlayingArtwork.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1342e592531da1d74f69d35c421cd0a2534002d81ca62a2631574919c6c9ec3f"}},{"ruleId":"D1","level":"warning","message":{"text":"PinchEventTap.noteTouches (cyclomatic 20): PinchEventTap.noteTouches 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":"prototype/App/PinchEventTap.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea5a7ef222c6f20d019ff02a4788493898061e0ab4a253385cce4a540c935b7"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideOverController.move (cyclomatic 20): SlideOverController.move 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":"prototype/App/SlideOver.swift"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"5731b29e4f23b98c29d8728c3c79b73d82a5fc90d34000fb44eec84c8f156c00"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideOverController.beginResize (cyclomatic 20): SlideOverController.beginResize has cyclomatic complexity 20 (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":"prototype/App/SlideOver.swift"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"b441cc4c5afeda2c7324656e7c0bbf8a99df31d310b7fc6b88b9e3c8741e21b8"}},{"ruleId":"D1","level":"warning","message":{"text":"SplitViewController.land (cyclomatic 20): SplitViewController.land 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":"prototype/App/SplitView.swift"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c71a04493b8f599e521dfa32b1f6a91d5c442a0519bd8c6efacb56ea5aa5a1f"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.refreshMonitors (cyclomatic 20): TrackpadGestureController.refreshMonitors 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c02d272d599a59ac4bd75ef56762f346b8c5a1d799f33ab0b4b1784f6aa6b1e"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2AppRuntime.openModelPicker (cyclomatic 20): WS2AppRuntime.openModelPicker has cyclomatic complexity 20 (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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80945f4caa4e738c9190bc037ae1ccac4f9cac7829536562970a4ecbe92c990"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2HookSessions.apply (cyclomatic 20): WS2HookSessions.apply 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":"prototype/App/WS2HookServer.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea117505565f76aa89efebcad44d851d60ea7fec806611006a8280d6b34d9fb"}},{"ruleId":"D1","level":"warning","message":{"text":"BystanderPolicy.observe (cyclomatic 20): BystanderPolicy.observe 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":"prototype/Core/BystanderPolicy.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab55d289248c4be8946ea41fc2382a2f47a8dafb21c64a4c323ee4e5f2e46507"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollStrip.move (cyclomatic 20): ScrollStrip.move 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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf63d66d22821e1c7cf313c93e601622718ec77da5e304c05f4ebeb5b58ab6e"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2AppUninstallPlan.scan (cyclomatic 20): WS2AppUninstallPlan.scan has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 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":"prototype/Core/WS2AppUninstallPlan.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13b7301a15f6d1463b74d4b48f8086a4cc713f6eb073057f77bce57414696f6"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2CameraChoice.decide (cyclomatic 20): WS2CameraChoice.decide has cyclomatic complexity 20 (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":"prototype/Core/WS2CameraChoice.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"51553aa1837e72add33bfa0aa7c321e58a4a99ac1b62ae07394b6089371406dd"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2LocalLaunchProfile.admitsEffectiveConfig (cyclomatic 20): WS2LocalLaunchProfile.admitsEffectiveConfig 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":"prototype/Support/WS2LocalLaunchProfile.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63b3a82f22fcce422ca3f7486ee2f7cac3aa5c55f89f6908629abf88d748b61"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowCatalogProbe.run (cyclomatic 20): WindowCatalogProbe.run has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs 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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"066c36e821d40ead4297d73ad715de7d2066eef021737586368308e7bbbfd2b7"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserDiscovery.discover (cyclomatic 20): WindowBrowserDiscovery.discover 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":"prototype/WindowBrowser/WindowBrowserDiscovery.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"336fd7789c595a839d2e9aba81ab7a7fa979a97ff5ec266276163e5140cca670"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserGeometry.layoutPlan (cyclomatic 20): WindowBrowserGeometry.layoutPlan 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":"prototype/WindowBrowser/WindowBrowserGeometry.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0f1bfb19719c538fdf52c3be1cb6ead9b71bffa912a9e087d6d968dd7f0b78"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCanvasView.routeRowScroll (cyclomatic 20): NotchCanvasView.routeRowScroll 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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"184d27d7f77ec7bc92d4f3825912fb52780cc37f4aedeeb503a354cba3a2e711"}},{"ruleId":"D1","level":"warning","message":{"text":"Content.same (cyclomatic 20): Content.same has cyclomatic complexity 20 (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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81d5523be6b4360f9fc36050b61c9fa9cc9ddc93f448ff947b83c99edad754b"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCompactView.update (cyclomatic 20): NotchCompactView.update 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":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ca53b0efce524993449c8e31b2bdd51066dc9aa6ed47345de8197661c82be0"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.finishTuck (cyclomatic 20): NotchController.finishTuck 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fd9f1f4a063e3ee137ee4d469972a0f0809b413cc368d5585a8db286203bc6"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.announceWhenFree (cyclomatic 20): NotchController.announceWhenFree 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"60be579c1c0e435cc5e8233ed1a3bbcd7648e05c9cd43512a741c9bd41c37b8c"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.applicationDidFinishLaunching (cyclomatic 19): AppDelegate.applicationDidFinishLaunching 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":"prototype/WindowShade.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"506b55d2fae3bea52d2f15b9c499526ca3ee8cf6e8b929746385223345bce236"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.handleTitleBarTripleClick (cyclomatic 19): AppDelegate.handleTitleBarTripleClick 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":"prototype/App/EventTap.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"35801a14f7f6a49f19c284db4b3e4b068ffbc587873230c44249186c11231d0b"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.reapplyShadeHide (cyclomatic 19): AppDelegate.reapplyShadeHide 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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"84807ee0eb40a46e6fd22e4b125ab4ff73631e4e2b4a51bdd861b7b7322c26f7"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.observeRestoredWindow (cyclomatic 19): AppDelegate.observeRestoredWindow 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":"prototype/Effects/RestoreVerification.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"835cd1e5777705667045974ce537d6708d47a63784cc05f0409a0b0c1e3f9ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.rescueActionVerified (cyclomatic 19): AppDelegate.rescueActionVerified 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":"prototype/Recovery/Rescue.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d48cd9e843fdfcdd35e6574c2d6147c1a4db9013dfefc34a6329df46d3466a8"}},{"ruleId":"D1","level":"warning","message":{"text":"AudioLevelController.reevaluate (cyclomatic 19): AudioLevelController.reevaluate 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":"prototype/App/AudioLevelTap.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e8bff05bd236209613a8237a0cd8477b3dd35e81ed4066b95dc2e61440fe9a"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceRegionPixels.rgbSamples (cyclomatic 19): FaceRegionPixels.rgbSamples has cyclomatic complexity 19 (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":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e557d2222169782dc19ae13b61d1a8e73c8f126408745041fa73632176a76b80"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseShelfPeek (cyclomatic 19): GlanceProbe.exerciseShelfPeek 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":"prototype/App/NotchShelfProbe.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d666098ad9347f79a8db14104d14b6702803ccddb4787bb05c9ffbd009608814"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.layoutPill (cyclomatic 19): LaunchpadView.layoutPill 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc83dcfef4d5c81044316e389f26e4d7043860ddb7a3d877c074f1b640ee324"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.target (cyclomatic 19): LaunchpadView.target 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6fa5b566d410fd7cb51f3f2678a773f305d3f1c6563b947022714ca0ab24b5"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.showZone (cyclomatic 19): LaunchpadView.showZone 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0afbc0a8493ec254609e2b6f192cd76a45cdebd0ef22297bf50e8d488357fea"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBarRoom.scanCover (cyclomatic 19): MenuBarRoom.scanCover has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function items inside it that branch (scan, layer). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchWatch.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1514e0c455cdcfe273b4915b50935a4f9bc10849784d13a82899c9b456e532"}},{"ruleId":"D1","level":"warning","message":{"text":"SLSOffscreenCheckProbe.exercise (cyclomatic 19): SLSOffscreenCheckProbe.exercise 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":"prototype/App/SLSOffscreenCheckProbe.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffd30ea62b1ee929c9c992afacbdfd4e5a7e35edf67898adb4724f4166cb987"}},{"ruleId":"D1","level":"warning","message":{"text":"ExplainerElementLayer.build (cyclomatic 19): ExplainerElementLayer.build has cyclomatic complexity 19 (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":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dd7b97a77a713e655319dd26d6a881102272822d72c9bceee8a01b16e081ea"}},{"ruleId":"D1","level":"warning","message":{"text":"SilentCoverProbe.exercise (cyclomatic 19): SilentCoverProbe.exercise 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":"prototype/App/SilentCoverProbe.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8829d2d4f6a35f98cb112a86403d55b8d8ca60f1ee37d896e4580c327346a6"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideOverController.endEdgeDrag (cyclomatic 19): SlideOverController.endEdgeDrag 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":"prototype/App/SlideOver.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"141ae39ffc10de6a42d3ee212f9fbcfa3e9f97af3487c1ad61aaf7248e569428"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideOverController.pin (cyclomatic 19): SlideOverController.pin 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":"prototype/App/SlideOver.swift"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"603ec11e94a83f02cb186153cc2508ece5d4e829ec826ef6a16feaa88c71cb59"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtworkPalette.make (cyclomatic 19): ArtworkPalette.make has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs 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":"prototype/Core/ArtworkPalette.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45ad70a3cd942faf4b268796cf03eb48809dca94c38af5099de9893d2302340"}},{"ruleId":"D1","level":"warning","message":{"text":"ConductorSession.expire (cyclomatic 19): ConductorSession.expire 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. This is NOT this file\u0027s highest cyclomatic complexity: ConductorNotch.text (cyclomatic 31) 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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37a71d472fcbc54ca8287339f1afff69ce6a521bdf623a3d26255402c09fc92"}},{"ruleId":"D1","level":"warning","message":{"text":"CornerFitter.fit (cyclomatic 19): CornerFitter.fit 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":"prototype/Core/DisplayShape.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd35a61de37b6d980062f762a24a52b4e463b4e1d9dc935a3493b12d48c8f7a"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceEnrollmentFlow.collect (cyclomatic 19): FaceEnrollmentFlow.collect 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":"prototype/Core/FaceEnrollmentFlow.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6420a0fed88ded4e3496ae7fbbad50a6b1c1b34a9920c88168755e7bc5752cd"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceGestureTracker.usable (cyclomatic 19): FaceGestureTracker.usable 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":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b7e898eab2b76e7ab6fa15ec00d0f1a2bbd32181c05d65697f4e111ad0cb17"}},{"ruleId":"D1","level":"warning","message":{"text":"MiddleDrag.update (cyclomatic 19): MiddleDrag.update 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":"prototype/Core/MiddleDrag.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3af1c9386ab8cb4d171fab4b95ff2da77be5e49c50f1db27ffcbf8f26c27dd6"}},{"ruleId":"D1","level":"warning","message":{"text":"SeamLayout.fitted (cyclomatic 19): SeamLayout.fitted 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":"prototype/Core/SeamLayout.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9703ede0d958e50232885ac14988e9bfec5d7e427b8ec28edbdde92bce171c4e"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2HeadGesture.nod (cyclomatic 19): WS2HeadGesture.nod 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":"prototype/Core/WS2HeadGesture.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad05b8437bff9cbe88c50972ec481cdfe341395f61b116994acc3daf7ff6672"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2Posture.decide (cyclomatic 19): WS2Posture.decide has cyclomatic complexity 19 (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":"prototype/Core/WS2Posture.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"286ff8a0c31bd624925a47a39b2229324efdca7ae04a7a99be756d7abe2ca9e5"}},{"ruleId":"D1","level":"warning","message":{"text":"DockProbeSupport.firstAppItemGeometry (cyclomatic 19): DockProbeSupport.firstAppItemGeometry 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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b93aeba8fc045fc639dad4a91bd4eab375b43b10bd83409bf5005532ccb52e2"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserController.handleImmediate (cyclomatic 19): WindowBrowserController.handleImmediate 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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"f396a17e3b984d885960b4c06ba7e0a8f67090829efe25d8187a4ed40282e17a"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserSurfaceStyle.applyCard (cyclomatic 19): WindowBrowserSurfaceStyle.applyCard 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":"prototype/WindowBrowser/WindowBrowserViews.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9453dc6395ed205aa8291d7902bd460b333cb86dedadff10487a53067acc3d"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchPanel.updateVisibility (cyclomatic 19): NotchPanel.updateVisibility 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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58173b0f7d6d445b9e7506468849c72f33d681d89dfaeb5e0a3a90b7f46e098"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchPanel.hintText (cyclomatic 19): NotchPanel.hintText 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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":2421}}}],"partialFingerprints":{"codehealthFindingId/v1":"806c7b03565fd7c05444cafb1a67faed45b2bd29c3fbc0d734d0694cd0c3dbae"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchTileView.drawAwayCell (cyclomatic 19): NotchTileView.drawAwayCell has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 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":"prototype/App/Notch/NotchRowViews.swift"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4ade6ec81c075fe91b28f2d7457fa61df266aaa3c71d7dca16072792ea0934"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.applyFeature (cyclomatic 18): AppDelegate.applyFeature has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: AppDelegate.explainerAction (cyclomatic 24) 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":"prototype/App/Preferences.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f196e52083fb9e26b6e9371a341193b2053266ccabe4ae515fc3d77845d74a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.makeShadePlan (cyclomatic 18): AppDelegate.makeShadePlan 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":"prototype/App/ShadeController.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4833de6b3bff52db3510b07668bb964c38bd4dff162be45516fe72f3e02420"}},{"ruleId":"D1","level":"warning","message":{"text":"CarryController.layout (cyclomatic 18): CarryController.layout 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":"prototype/App/Carry.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"491b798e8241c324e73d72e2ecfb0bd8928d567984b454b383d0967356ebc54c"}},{"ruleId":"D1","level":"warning","message":{"text":"FocusTimerCard.render (cyclomatic 18): FocusTimerCard.render 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":"prototype/App/FocusTimerCard.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d3af735183c1f7df370270a0301548da62bc99476f94a10f19748e31ede78d"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseCarry (cyclomatic 18): GlanceProbe.exerciseCarry 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5a9bc775eefdf476a4da9fc306f82803c32fce6c0a740d42844d0a4a156dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseDisplayHotplug (cyclomatic 18): GlanceProbe.exerciseDisplayHotplug has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebfdd4d309ef920795806910a5d1f6e074d718e77142926d2ab48a71081ae75"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.moveFolderDrag (cyclomatic 18): LaunchpadView.moveFolderDrag 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"026995fa5a81cc338cd7c62f015a8bd0a7357cfe00aef10800a998edac5cfdfc"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadView.spring (cyclomatic 18): LaunchpadView.spring 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":"prototype/App/LaunchpadOpenWith.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b34de509c1c424ffc51d09b34b7dc801f8b6ed6cbb8fa31233161f0f3206d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchActivityController.publish (cyclomatic 18): NotchActivityController.publish has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to one function item inside it that branches (equivalent). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityController.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1dc703290a634a9935373590162c36fb96f4d3a2891c9e56c6b26c147a2066"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchAuthenticationController.authorize (cyclomatic 18): NotchAuthenticationController.authorize 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":"prototype/App/NotchAuthentication.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1788f3fb0c55508431dbc97a84c5fb0239b7e9cebd27b180bd6fba011b0b200e"}},{"ruleId":"D1","level":"warning","message":{"text":"MenuBarRoom.menuRoom (cyclomatic 18): MenuBarRoom.menuRoom 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":"prototype/App/NotchWatch.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e656582706ab67fc3e8996a8795c855f9a1fcf704f5f30132a48c764b04a6e69"}},{"ruleId":"D1","level":"warning","message":{"text":"PresenceLockDriver.apply (cyclomatic 18): PresenceLockDriver.apply has cyclomatic complexity 18 (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":"prototype/App/PresenceLockDriver.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf51ace743cf1f1f4b3719d47457d1fd116196f0859015eac555995787b1da31"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2AgentSessionView.render (cyclomatic 18): WS2AgentSessionView.render has cyclomatic complexity 18 (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":"prototype/App/WS2AgentSessionView.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f0d7e9ffe64b3c2229b6d7fae974e1691829fa3313a8252b96813d07e8c8ce"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2OwnedCodexSession.init (cyclomatic 18): WS2OwnedCodexSession.init 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":"prototype/App/WS2OwnedCodexSession.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6e8ede3b838dc3e22bb6481039ff9b5d20d85386b3e294cdcee205e78e31e2"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2RemoteHost.receive (cyclomatic 18): WS2RemoteHost.receive 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b3473262b323b2109baa76fa16f278a634328d947a649e32e3c9152a081b7c"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2RemoteHost.finish (cyclomatic 18): WS2RemoteHost.finish 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88918700b6029f1d59c3a3c358787c5dc2cf0f7ca6276d1485dd5eb9f175fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2SilentHost.startPersonalPhrasesIfConfigured (cyclomatic 18): WS2SilentHost.startPersonalPhrasesIfConfigured 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":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"578569a47546358a4787cd979a5e5148a9273dc8c6be5e1b44310684736d4ea9"}},{"ruleId":"D1","level":"warning","message":{"text":"WelcomeView.show (cyclomatic 18): WelcomeView.show 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":"prototype/App/Welcome.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e26bed931ce40ad566bf9137609edb5d99f7c411057abf1ffad98b8a3f3647"}},{"ruleId":"D1","level":"warning","message":{"text":"AwaySummary.build (cyclomatic 18): AwaySummary.build 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":"prototype/Core/AwaySummary.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"467b10a36487d5800ffd74e25b818f31808a56e062b657abcc58f5fba08a6cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"ElsewhereWindows.plan (cyclomatic 18): ElsewhereWindows.plan 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":"prototype/Core/ElsewhereWindows.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"229f25b9efbd5b732bdd601be7c5725a13209fdebeae6e88a7facfe72369560d"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceThresholdCalibration.isValid (cyclomatic 18): FaceThresholdCalibration.isValid 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":"prototype/Core/FaceThresholdCalibration.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc775e2236ac57949cd16694863cc56302185433f8e385d697400be026a87cc"}},{"ruleId":"D1","level":"warning","message":{"text":"GazeCalibrationFit.fit (cyclomatic 18): GazeCalibrationFit.fit has cyclomatic complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/GazeAttention.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea86e9f875fdbdd23b0e459321bedfd757b78327293742713dba8e53b4d5166e"}},{"ruleId":"D1","level":"warning","message":{"text":"HabitMenuKey.init (cyclomatic 18): HabitMenuKey.init has cyclomatic complexity 18 (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. This is NOT this file\u0027s highest cyclomatic complexity: HabitKey.name (cyclomatic 19) 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":"prototype/Core/HabitRules.swift"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f99e466a1626949291156764c0639e91f3fea572fc78db37675cf3e559f15b"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractionCoordinator.admit (cyclomatic 18): InteractionCoordinator.admit 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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7076fe6b2db267f02fdaee72e8794eb06fe644b654d58e1123fcf6e64a982a"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteEventRouter.route (cyclomatic 18): RemoteEventRouter.route has cyclomatic complexity 18 (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":"prototype/Core/RemoteEventRouter.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c80466f91a70d5add93eed013382d288d892e76a56d3bf6b9d5f90f65a5c46"}},{"ruleId":"D1","level":"warning","message":{"text":"GestureRecognizer.swipeFrame (cyclomatic 18): GestureRecognizer.swipeFrame 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: ScreenTile.action (cyclomatic 33) 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":"prototype/Core/TrackpadGesture.swift"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9e618854acee63c3573315a2b3827bc7f85e3b52f20eedb4079ba6c64c0b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2DeviceInputGate.button (cyclomatic 18): WS2DeviceInputGate.button 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":"prototype/Core/WS2DeviceInputGate.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57c302fad68bfa3988dad3ebdf0d97608bca9ae16d3ee1405f9979285264b94"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2SilentIntent.admit (cyclomatic 18): WS2SilentIntent.admit 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":"prototype/Core/WS2SilentIntent.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac23e8cbe7b149bf54a70fb27f6446c9d05f5eabc82c6a16db5ef3303420fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2SilentSession.confirm (cyclomatic 18): WS2SilentSession.confirm 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":"prototype/Core/WS2SilentSession.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d76b5a3eccc324917e6980d576f6a2e9c18e56d49f7300c61973cd28569d89"}},{"ruleId":"D1","level":"warning","message":{"text":"AppleSPUAccelerometer.receive (cyclomatic 18): AppleSPUAccelerometer.receive 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":"prototype/Effects/AppleSPUAccelerometer.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1891bca50c6897e1a18cd4da95876c3e021b47e16538091fba89412cbb19fdf"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowFoldEffects.fallback (cyclomatic 18): WindowFoldEffects.fallback 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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63cec369c8dfb50a18295ba86d726ef42b6d1939077efd4339aeb198a5001b1"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2DuplexProcess.init (cyclomatic 18): WS2DuplexProcess.init 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":"prototype/Support/WS2DuplexProcess.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac71bf802788b5453e3773563b300ac21a7e20c77ec7a497eb84576ac751317"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2HookConfiguration.preview (cyclomatic 18): WS2HookConfiguration.preview 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":"prototype/Support/WS2HookConfiguration.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f50e8f4cdd61852eba86e788c558fee31c804e6c3040b43d8fccc05911179b5"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowStateHub.reconcile (cyclomatic 18): WindowStateHub.reconcile 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":"prototype/Window/WindowStateHub.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8be3c9baa7ef4982cc7e6c339b7ed98ee2284827e98064144bf2c6d1a23c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserController.configurePanel (cyclomatic 18): WindowBrowserController.configurePanel 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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac83327c986a06292bbe8c9a3575d6f306785152e36bc24236428b2ac428a62"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserController.requestThumbnails (cyclomatic 18): WindowBrowserController.requestThumbnails 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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"257ee248a689210e4f4f1eee79bc61710785d9079366c0b10a2aef1fae41d155"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowPlacementGeometry.targetFrame (cyclomatic 18): WindowPlacementGeometry.targetFrame has cyclomatic complexity 18 (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":"prototype/WindowBrowser/WindowPlacement.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"635dfd12bf84a7d011f3e7fb9d84307f0c9f3eebe30000b5db1b5c0f511afb09"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.mergeIntoBurst (cyclomatic 18): NotchController.mergeIntoBurst 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f228ef8d355e08ede024b22e694a4bdfd6a0ef45262c867ff3dd37f77ff60b62"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchShoulders.move (cyclomatic 18): NotchShoulders.move 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":"prototype/App/Notch/NotchShoulders.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff5f8a7109294441c51fb6380cfb5e3992b168fd36b0563e08d8d2154df05b2"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadeStrip.swift.dominantIconColor (cyclomatic 18): ShadeStrip.swift.dominantIconColor 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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d9da8c7b9aa5912e0da4feac612ff56530e889dab3e872cede13db187cfcc0"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.hideWindow (cyclomatic 17): AppDelegate.hideWindow 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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"889c8dbbe48a110934281558ea513461c740907d7dd1ad028519f9981954ab22"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.windowBrowserManagedSnapshots (cyclomatic 17): AppDelegate.windowBrowserManagedSnapshots 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":"prototype/WindowBrowser/WindowBrowserAppDelegate.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8758811a49e0f2682f07e39eab21e47ec9e2a06f80bc347e86b90266193f1fe"}},{"ruleId":"D1","level":"warning","message":{"text":"BystanderTuck.tuckPrivateWindows (cyclomatic 17): BystanderTuck.tuckPrivateWindows has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/BystanderTuck.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e84acb3c426dc84db128e1be355ca0d4fe8aada542128b5f5e83d0fbbe07e7"}},{"ruleId":"D1","level":"warning","message":{"text":"DirectionKeyPresets.choose (cyclomatic 17): DirectionKeyPresets.choose has cyclomatic complexity 17 (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":"prototype/App/DirectionKeyPresets.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"575c072d1dcc5a9d09a65adb75d21cade5a0793ca5eede9e74365af08f5b386b"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceAlignment.geometry (cyclomatic 17): FaceAlignment.geometry has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceEmbedder.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6aa227c6272675c6e49daa1984d64ac24e37104f13e934764e4e76eb62ac1f2"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceScanExperiment.scanFrame (cyclomatic 17): FaceScanExperiment.scanFrame has cyclomatic complexity 17 (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":"prototype/App/FaceScanExperiment.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5495d5ee0e7a3bdda588cc5a9027faed4063536d2e91b4e2e3addeb6e471865"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceScanExperiment.challengeFrame (cyclomatic 17): FaceScanExperiment.challengeFrame 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":"prototype/App/FaceScanExperiment.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"8740159164491a1844464b1425fbdcaa46e17873acdd10cddf8c765dd9180c5a"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceController.thumbnailTarget (cyclomatic 17): GlanceController.thumbnailTarget has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Glance.swift"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18d16d3a180123da30b5e7ba39c18775f87bcb5aba45007d5d3dd03433d6ba3"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseDockGestures (cyclomatic 17): GlanceProbe.exerciseDockGestures has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/DockSwipeProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7561dd1f41e72e91c91e53d2d8b108bedf1b232342ac807c2adc7b00cc2dd19"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseBrowserIdentity (cyclomatic 17): GlanceProbe.exerciseBrowserIdentity has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserInstanceProbe.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdbd245ac117460160ab04b10f8dabd87b8019d09ae4d7f56dc7d03b5532319"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseBrowserMore (cyclomatic 17): GlanceProbe.exerciseBrowserMore has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserMoreProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"35baea05f99888396a9ebcad0ad4ef78f63f88658b0cfef498dd752259f8b8b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Card.update (cyclomatic 17): Card.update has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadActivities.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c3d898d08c5cbbbef53a1f014c5b5549de64810a77d752d5fac6e2cd2af153"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchActivityView.update (cyclomatic 17): NotchActivityView.update has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityView.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca9598d5ca2ff3c891c5bce3aa21eff2cc0762de9e9e025cdff648d7f55931b"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchActivityView.swipe (cyclomatic 17): NotchActivityView.swipe 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":"prototype/App/NotchActivityView.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e42942828b2925b920125839d6f26edac9664e1395853a7b41766185d0812fd"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchSpaceGate.readFocusedWindow (cyclomatic 17): NotchSpaceGate.readFocusedWindow has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchSpaceGate.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6cb8074d609b39e88b7548c2818e425027c36b26faf50061544f91f1aaf589"}},{"ruleId":"D1","level":"warning","message":{"text":"PresencePrivateTuck.tuck (cyclomatic 17): PresencePrivateTuck.tuck has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PresenceLockDriver.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d998cd33f90420e345fc10bbbe81c191acc7bf0ab137677fbc7d7250ff57c1"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollStripController.applyWatch (cyclomatic 17): ScrollStripController.applyWatch 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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69a79f7095bfe8cde84f5c4c0eaec887451271e5f4b046fa9e2d7db94034fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"SplitViewController.settle (cyclomatic 17): SplitViewController.settle has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SplitView.swift"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62e18d2e790efe1cf2ad0b92299d7315c048a901485108cc087b0b0673b0f71"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.doubleTap (cyclomatic 17): TrackpadGestureController.doubleTap has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"855c935ff6508917569c68644e9542c3e49a628186b6b9b8a8e4c59608abebf2"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2AppRuntime.handleFocusEffects (cyclomatic 17): WS2AppRuntime.handleFocusEffects has cyclomatic complexity 17 (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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"517c3f391b6395def2886c2c193b50ddefe5fc224418c95d67ba5a000fa19421"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2ConductorPageView.renderSessions (cyclomatic 17): WS2ConductorPageView.renderSessions 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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a207691f78f29fe2883a6cb811fdeb048610fb52aa0237266aa27b36c2bc17"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2HookApprovalHost.allow (cyclomatic 17): WS2HookApprovalHost.allow has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookApprovalHost.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d65840acd906b4d57ec80c8870c12b5b47e49ffd96ce7784f3b9920cd332d99"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2OwnedLaunchController.synchronizeThreadAndTurn (cyclomatic 17): WS2OwnedLaunchController.synchronizeThreadAndTurn 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":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2449690af574c30273766c0c812d84a4b26ae81df10bd4e6f37c6c678aaef7"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowGlide.run (cyclomatic 17): WindowGlide.run 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":"prototype/App/WindowGlide.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44e14c48d0e1249220bb0001e515654a7c5977a2c3a32bcb055646bfe753d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptureIndicatorRemoval.detect (cyclomatic 17): CaptureIndicatorRemoval.detect has cyclomatic complexity 17 (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":"prototype/Capture/CaptureIndicatorRemoval.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f3dfd24f99bc280616edceaae1531114ffc1038f08bfbad8a897cbeea93e0e"}},{"ruleId":"D1","level":"warning","message":{"text":"Outline.points (cyclomatic 17): Outline.points has cyclomatic complexity 17 (threshold 15). Of this number, 15 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":"prototype/Core/DisplayShape.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"489119c2aed274f031ca6ac038c5d3d5dcbb58a45143465f7d1484c28135f638"}},{"ruleId":"D1","level":"warning","message":{"text":"FileShelfModel.add (cyclomatic 17): FileShelfModel.add 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":"prototype/Core/FileShelfModel.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cb092a7cc973ea6ab43c53a30b24b46a28c47c9d21133750615fc2a570d8cf"}},{"ruleId":"D1","level":"warning","message":{"text":"MiddleDrag.handle (cyclomatic 17): MiddleDrag.handle 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":"prototype/Core/MiddleDrag.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81b4b8a6efaaecfa0eb7a13c47552c11ea98aedeb6fc1c4393ffe0025cec0a4"}},{"ruleId":"D1","level":"warning","message":{"text":"CodingSessionActivities.apply (cyclomatic 17): CodingSessionActivities.apply 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":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"59059fa47184bcea71b7af695aeaef0c3c17f8805f2428dfacefd24349a3b987"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSessionWindowMatch.strength (cyclomatic 17): AgentSessionWindowMatch.strength has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"96271b8dd205329d11c819898ed5545564fe5462a1a566618d3ad0f65d07f1b3"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchGlancePlan.route (cyclomatic 17): NotchGlancePlan.route 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":"prototype/Core/NotchGlancePlan.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b295c3427776e36f63bce5b1619ad2a768224f6a50bce0a42dff83e349040a4"}},{"ruleId":"D1","level":"warning","message":{"text":"PresenceLockGlue.commands (cyclomatic 17): PresenceLockGlue.commands has cyclomatic complexity 17 (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":"prototype/Core/PresenceLockGlue.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31f524e3a24a044200259345adc6954ab19c31fcbd8a9e6dba4024fc46557e5"}},{"ruleId":"D1","level":"warning","message":{"text":"SeamLayout.isPair (cyclomatic 17): SeamLayout.isPair has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/SeamLayout.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d201817b16fa73bcf476adee7af966e61bea832689a0664f75b16f385fb1959"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2FoldCallbackStamp.accepts (cyclomatic 17): WS2FoldCallbackStamp.accepts has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2FoldCallbackStamp.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e15adb8eb59d7b0ffa7ccc75496f82b6d955d96c6561ce273f703c9caee92f3"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.value (cyclomatic 17): Parser.value 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":"prototype/Core/WS2StrictJSON.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9290ef58e72901b51f36d40d197dd05ba62059243cd65463c5bed74e704038b5"}},{"ruleId":"D1","level":"warning","message":{"text":"EffectFrameAwaiter.first (cyclomatic 17): EffectFrameAwaiter.first has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/EffectFrameAwaiter.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fd85b9f2ff2086418ef750746145e57f7ee70b76d7d7ebc3080b6592d801ea"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsDesignPreview.compareCropGeometry (cyclomatic 17): SettingsDesignPreview.compareCropGeometry has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs 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":"prototype/Effects/SettingsDesignPreview.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"432788c0266943e17d96bc43c91bc67c34abaadd1a57f589f2f77ed12f6042d1"}},{"ruleId":"D1","level":"warning","message":{"text":"JournalNumeric.spaceID (cyclomatic 17): JournalNumeric.spaceID has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Recovery/JournalNumeric.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d278a5adb551c2d608fec73d122c64b1b2fa2fc51683c5fe6f15fb3f47520aa8"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2CompanionChannel.sendEvent (cyclomatic 17): WS2CompanionChannel.sendEvent has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2CompanionChannel.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8f155a69428dadb22583488c1ac0f98fd9c691dd36872af74ce90e4df2e19e"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2DuplexProcess.writeReady (cyclomatic 17): WS2DuplexProcess.writeReady 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":"prototype/Support/WS2DuplexProcess.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3aa6b354e1306f008b525d63cd5166d60009286a8c2fd58ffbcd121a37a2f0"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserController.beginCardDrag (cyclomatic 17): WindowBrowserController.beginCardDrag has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"6221948d1944d8690636142661357755394dc2f5b72f7c0c6524a9fe67d1e84e"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowBrowserContentPlan.index (cyclomatic 17): WindowBrowserContentPlan.index 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":"prototype/WindowBrowser/WindowBrowserGeometry.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc1bc2ad840afabded7494b20fd657783efe674468112a71b6e1b30a49c01ed"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCanvasView.present (cyclomatic 17): NotchCanvasView.present has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fe6dec8d5773e693979aaa7fbe20153d35d8149d7199f320acc1b5ec49b4a0"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.hoverChanged (cyclomatic 17): NotchController.hoverChanged 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3fc69690e35ba7207af5ddadaec36fa58562f76317c01548dd460f355616b5"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchController.presentLevel (cyclomatic 17): NotchController.presentLevel has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d509869d6bfb74f9525ee81caa694a0fea2da807aef41b389772bdd9ba6c1a"}},{"ruleId":"D1","level":"warning","message":{"text":"history.arrange (cyclomatic 17): history.arrange has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 4 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":"site/history.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1bc71f4643516dc3128ea702d6fa6cd0b0b2795af6ccf94799cfdd17ca2071"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.restoreArrangedOverlayFrames (cyclomatic 16): AppDelegate.restoreArrangedOverlayFrames has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function item 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":"prototype/App/ArrangeController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca41ad4b4e4b312a894e0b9821220b221c66cfeb755862fcf132808217b4397"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.screenParametersChanged (cyclomatic 16): AppDelegate.screenParametersChanged 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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"db61d9fa0ffacec0825ea00f2470a920fa269155d85c37987d4d5a3f2a50cd6b"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDelegate.arrangeThumbnailEntries (cyclomatic 16): AppDelegate.arrangeThumbnailEntries 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":"prototype/App/Thumbnail.swift"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a4af6ab6e93dd9d34072e5a5d293c9865569c60f702f58fa0c0737c57d70b0"}},{"ruleId":"D1","level":"warning","message":{"text":"FileShelfNameLayout.lines (cyclomatic 16): FileShelfNameLayout.lines has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FileShelfView.swift"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd346b45f0c1faae283e91fcaeba9479cb9e42fbef309b032469ef9d3efa4ce5"}},{"ruleId":"D1","level":"warning","message":{"text":"FileShelfView.rowsChanged (cyclomatic 16): FileShelfView.rowsChanged 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":"prototype/App/FileShelfView.swift"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"4259e69b8864a25517e04ece39104e8b7a816859132c6edfae8ef45aa665765b"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseDockAutohideFrames (cyclomatic 16): GlanceProbe.exerciseDockAutohideFrames has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5921e06e7be5054df78f1b26ad41cfc730eee256675833a82004c60d864ea67"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseFlicks (cyclomatic 16): GlanceProbe.exerciseFlicks 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":2281}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f846dd543dee0a5200c42bb5cfdd02c78cf3dcc325cace2020b412a1b21158"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceProbe.exerciseQuietDefaults (cyclomatic 16): GlanceProbe.exerciseQuietDefaults 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":"prototype/App/QuietDefaultsProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5424828719b72d638687dd1e56e246100eafd0e251a9affc5d57a5e487167d56"}},{"ruleId":"D1","level":"warning","message":{"text":"HabitCenter.mouse (cyclomatic 16): HabitCenter.mouse 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":"prototype/App/HabitContext.swift"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9131a82bbe30e086061bec5149f762ba1cc47e08c09f4d66660de9c906c24e0"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchpadController.place (cyclomatic 16): LaunchpadController.place 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":"prototype/App/LaunchpadController.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eecf65c0f8f374939091657ff3c027774445a4a16fdd663772320b3a35fc585"}},{"ruleId":"D1","level":"warning","message":{"text":"CGEventPasswordTyper.type (cyclomatic 16): CGEventPasswordTyper.type 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":"prototype/App/LockScreenPasswordEntry.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bac55071c1dacd5d5f72cdcea444c287bf4cfe9e3286082fa317eab466e629"}},{"ruleId":"D1","level":"warning","message":{"text":"NowPlayingCard.crossfadeVolume (cyclomatic 16): NowPlayingCard.crossfadeVolume 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":"prototype/App/NowPlayingCard.swift"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fc6b36412704676c73fe1aabbcbc6731e40920765febbf3d16dc338e7bf876"}},{"ruleId":"D1","level":"warning","message":{"text":"StripPeek.verdict (cyclomatic 16): StripPeek.verdict 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":"prototype/App/ScrollStripPeek.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"29295834156a6a88786aec8904338021cc206e4cd5fb8ac1690be4352c3448df"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollStripController.lateProbe (cyclomatic 16): ScrollStripController.lateProbe has cyclomatic complexity 16 (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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50a7f1b606e07ed565e29f530ad5b087dc65290ed43ee44b2b7d46d5da26196"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsExplainerView.apply (cyclomatic 16): SettingsExplainerView.apply 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":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"371972f36f884cc75574874cf8067bae271d264701615bfb2fa2c4ce5c3fb714"}},{"ruleId":"D1","level":"warning","message":{"text":"SlideOverController.flipToFreeEdge (cyclomatic 16): SlideOverController.flipToFreeEdge has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SlideOver.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fc95cb43af29a34164d5ffa5f5f74ac4d6319e44ca08a60a33352cbed0958c"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.touchesChanged (cyclomatic 16): TrackpadGestureController.touchesChanged 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"456875b7828829414cff6de841020e292039988399ae8a605b4bd0151fdb90ac"}},{"ruleId":"D1","level":"warning","message":{"text":"TrackpadGestureController.moveToNextDisplay (cyclomatic 16): TrackpadGestureController.moveToNextDisplay has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/MagicTilingRun.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c193d73ecb14319df6dfa6880153f879bb0b03dd86c20bca3a6211cf99a1b1b0"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2CodexApprovalHost.receive (cyclomatic 16): WS2CodexApprovalHost.receive 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":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc75c1ecfb1258980532ab63fe47ce2afc82f451377b028a490b49031731e079"}},{"ruleId":"D1","level":"warning","message":{"text":"WelcomeView.updateGrants (cyclomatic 16): WelcomeView.updateGrants has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Welcome.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"03168a41f878d5fb6146569628e9533837b0dddeb730044e86198b5817d45758"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowSwitcher.collect (cyclomatic 16): WindowSwitcher.collect 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":"prototype/App/WindowSwitcher.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1eeaba8b42b0c7ded4932fc0a0c2cd451dc00d4e48eb89471545d938f8001c"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptureIndicatorProbe.capture (cyclomatic 16): CaptureIndicatorProbe.capture 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":"prototype/Capture/CaptureIndicatorProbe.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f7188a989dbc1e5a16cf2be7545de9bf464082d94a6a4c53ffc274ce09b344"}},{"ruleId":"D1","level":"warning","message":{"text":"ConductorRecognizer.toneCandidate (cyclomatic 16): ConductorRecognizer.toneCandidate 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":"prototype/Core/ConductorGesture.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaaed1bd8f54dd247c031faf2b7f2a2906fe8530674a038e1d39003877f19b1"}},{"ruleId":"D1","level":"warning","message":{"text":"DisplayShape.resolve (cyclomatic 16): DisplayShape.resolve 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":"prototype/Core/DisplayShape.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"2300b0b893f72fbfce0569f80d0cd21ecb724c830244cff31dc660561e60ffd0"}},{"ruleId":"D1","level":"warning","message":{"text":"FaceGestureTracker.stable (cyclomatic 16): FaceGestureTracker.stable has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f09c5092f5727ccfd1450e80f7e94f67d44b52e47db8a0dfdb2f9acb1ad031"}},{"ruleId":"D1","level":"warning","message":{"text":"FileShelfEntry.isValid (cyclomatic 16): FileShelfEntry.isValid has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FileShelfModel.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"949be9215183f4afc760d202c3b32840049295367360bdbdcf60d37be21b18f4"}},{"ruleId":"D1","level":"warning","message":{"text":"GazeFeatures.eye (cyclomatic 16): GazeFeatures.eye 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":"prototype/Core/GazeAttention.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f6af872ba4e5b7c7bbebca0f34e9b7ef320d966adb9d28283150fba23aadf0"}},{"ruleId":"D1","level":"warning","message":{"text":"GlanceIntent.sample (cyclomatic 16): GlanceIntent.sample 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":"prototype/Core/GlanceIntent.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b4c94c1dd95a0f1368666704b3f15cc30194959b8b0e45c3d1c218acc9846b"}},{"ruleId":"D1","level":"warning","message":{"text":"HabitWords.demo (cyclomatic 16): HabitWords.demo has cyclomatic complexity 16 (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. This is NOT this file\u0027s highest cyclomatic complexity: HabitKey.name (cyclomatic 19) 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":"prototype/Core/HabitRules.swift"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f4c81042c7df43715b56998c123e27e3f7fbbbb63a4bd33ada40d15dcaea40"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractionCoordinator.remind (cyclomatic 16): InteractionCoordinator.remind 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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ccaddce56698f5d282dec43d6a6b191d9f64364408bbef767bb6fe4c628413"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchActivityStore.upsert (cyclomatic 16): NotchActivityStore.upsert 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":"prototype/Core/NotchActivities.swift"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c44561bbc50b4e8d4fc77209ba9f2c7dda3722c1b93cc2a6180622ddd2dcf10"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollSession.scroll (cyclomatic 16): ScrollSession.scroll has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ScrollSession.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9323982b37f466bfeb0586948e1cf8dd968614d63d76b8f7500e1461acd669"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollStrip.seam (cyclomatic 16): ScrollStrip.seam has cyclomatic complexity 16 (threshold 15). Of this number, 11 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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"68143f6059317b38966378765e2a11d64076cbf669e60b2c261b9ea7961a283d"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.number (cyclomatic 16): Parser.number 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":"prototype/Core/WS2StrictJSON.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2034bd3346ed47313a2f6bf47bfb6f2e4226716372d99d9670fb15f4dcb09fc8"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoController.settingsChanged (cyclomatic 16): DuoController.settingsChanged has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/DuoController.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2720529553c011f41115912dd655af4bb40b2541544fbbbe5e13abadba3dd543"}},{"ruleId":"D1","level":"warning","message":{"text":"JournalNumeric.exactUInt32 (cyclomatic 16): JournalNumeric.exactUInt32 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":"prototype/Recovery/JournalNumeric.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f2bf952aae9622b1ac983f9fa2eb9dad245d7adce3daba54e0c34ab31ebccf"}},{"ruleId":"D1","level":"warning","message":{"text":"WS2DuplexProcess.readReady (cyclomatic 16): WS2DuplexProcess.readReady 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":"prototype/Support/WS2DuplexProcess.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6125025038e86f6582b7d3accdbbb3187e7f5ee40a843c3dcea77e3c622725d3"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowStateHub.diff (cyclomatic 16): WindowStateHub.diff 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":"prototype/Window/WindowStateHub.swift"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"615b77902d5170f4e8be8150c2a7fee25128628c8275826ab80c4d4ab1f50e0f"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowThumbnailService.request (cyclomatic 16): WindowThumbnailService.request 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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa4abc6ef9b42e18f7b73a3b165279f7c072a7483616d23a45e62aa71495a98"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCanvasView.setAuthentication (cyclomatic 16): NotchCanvasView.setAuthentication 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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"da40848605bea6f817f288d11a0c9a17cf6dbb3b7410c7e4ed42f9c684eb7f6e"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchCanvasView.placeCompanion (cyclomatic 16): NotchCanvasView.placeCompanion 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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"2898e17e440808265fede6191a1e4a39abfd0ab85a2375883a2c13aec6977b98"}},{"ruleId":"D1","level":"warning","message":{"text":"NotchPanel.minimumShapes (cyclomatic 16): NotchPanel.minimumShapes 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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff25424098ff38db99f00884008ce90c33c5f28a235ce85f4383e0ef5d5a946"}},{"ruleId":"D1","level":"warning","message":{"text":"Compact.layoutSame (cyclomatic 16): Compact.layoutSame has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab6dc02d28898a15b60b7edcf226bfd8db1b65d9bb440e3809ce03e2e755677"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseLaunchpadKeys (cognitive 149): GlanceProbe.exerciseLaunchpadKeys has cognitive complexity 149 (threshold 15). Drivers by points: boolean chains 61, if/else 40 (47 pts), ternaries 21 (32 pts), loops 5 (6 pts), match/switch 1 (3 pts) (nesting depth added 21). Of this number, 130 points are the body\u0027s own statements and 19 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadKeysProbe.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dd2bb221b55f421076954720ce86f08999808a787bd620f7a9fac6182de4d3"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exercise (cognitive 144): GlanceProbe.exercise has cognitive complexity 144 (threshold 15). Drivers by points: if/else 99 (112 pts), boolean chains 23, loops 4 (7 pts), ternaries 2 (nesting depth added 16). Of this number, 142 points are the body\u0027s own statements and 2 belong 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"45100efa886810a9d941ce40e249a0165f7f8f424959ba35dfb85e380f50c01d"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseFullScreenDesktops (cognitive 141): GlanceProbe.exerciseFullScreenDesktops has cognitive complexity 141 (threshold 15). Drivers by points: if/else 34 (79 pts), boolean chains 34, ternaries 7 (23 pts), error handling 2 (3 pts), loops 2 (nesting depth added 62). Of this number, 117 points are the body\u0027s own statements and 24 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FullScreenProbe.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a476cd376f39b245d6ac303699e79ffcd7db2bb4210cf7ff081d78132c069d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConductorSession.receive (cognitive 140): ConductorSession.receive has cognitive complexity 140 (threshold 15). Drivers by points: if/else 40 (78 pts), boolean chains 57, match/switch 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 40). 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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ad06533e9cde825327b30d12db31a2d5380f007afaf944b098d380236b01d8"}},{"ruleId":"D2","level":"warning","message":{"text":"main.swift.top-level code (cognitive 136): main.swift.top-level code has cognitive complexity 136 (threshold 15). Drivers by points: if/else 57 (74 pts), ternaries 11 (34 pts), loops 6 (13 pts), boolean chains 11, error handling 2 (4 pts) (nesting depth added 49). 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":"prototype/main.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1025e99973059438883c5d16e5f16c0d2a50451a14ecfeb097f2bb2731177e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseNotch (cognitive 135): GlanceProbe.exerciseNotch has cognitive complexity 135 (threshold 15). Drivers by points: boolean chains 70, ternaries 22 (30 pts), if/else 24 (27 pts), loops 8 (nesting depth added 11). Of this number, 123 points are the body\u0027s own statements and 12 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"de90008de6940b14133c7146db427727203d0f275e43c495a4652e40a8f7e12b"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentApply.perform (cognitive 133): WS2SilentApply.perform has cognitive complexity 133 (threshold 15). Drivers by points: if/else 31 (70 pts), boolean chains 32, ternaries 9 (24 pts), match/switch 4 (7 pts) (nesting depth added 57). 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":"prototype/App/WS2SilentApply.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ffee11fb0b3791bb1cf70065169c3b5038ef17a3f994c442d37bc2d6e4e4c1"}},{"ruleId":"D2","level":"warning","message":{"text":"PresenceLock.handle (cognitive 132): PresenceLock.handle has cognitive complexity 132 (threshold 15). Drivers by points: if/else 33 (65 pts), boolean chains 60, ternaries 2 (4 pts), match/switch 2 (3 pts) (nesting depth added 35). 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":"prototype/Core/PresenceLock.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae111fed7f4fd8fcebd0e70048c3867edad4dc7e2788949092a67bbdd209604"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2OwnedLaunchController.receive (cognitive 121): WS2OwnedLaunchController.receive has cognitive complexity 121 (threshold 15). Drivers by points: if/else 20 (61 pts), boolean chains 24, ternaries 4 (16 pts), match/switch 4 (14 pts), error handling 2 (6 pts) (nesting depth added 67). 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":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"458228030294cab2105b8301471a010f8dde91dad662b6ec8583bf70c7b73502"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexWire.receive (cognitive 112): CodexWire.receive has cognitive complexity 112 (threshold 15). Drivers by points: if/else 40 (74 pts), boolean chains 35, loops 1 (2 pts), match/switch 1 (nesting depth added 35). 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":"prototype/Core/CodexWire.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05f5484eaaa2403be530758d789c331b41ae99e3a7c60f476866cd507c125b5"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseDockScenarios (cognitive 110): GlanceProbe.exerciseDockScenarios has cognitive complexity 110 (threshold 15). Drivers by points: if/else 37 (62 pts), ternaries 9 (23 pts), boolean chains 13, loops 7 (12 pts) (nesting depth added 44). Of this number, 104 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"962624f03dfbb4dd36c4db25c73e1c0e7913900ee5be22e3fc60209e27d4c249"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchContentView.place (cognitive 105): NotchContentView.place has cognitive complexity 105 (threshold 15). Drivers by points: if/else 25 (47 pts), ternaries 12 (32 pts), boolean chains 22, loops 3 (4 pts) (nesting depth added 43). Of this number, 103 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchContentView.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8441845234a88c30075f85de48170f217e2617e19e812d1ededacf33d6866318"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CompanionChannel.receive (cognitive 99): WS2CompanionChannel.receive has cognitive complexity 99 (threshold 15). Drivers by points: if/else 26 (74 pts), ternaries 4 (12 pts), boolean chains 10, match/switch 1 (2 pts), error handling 1 (nesting depth added 57). 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":"prototype/Support/WS2CompanionChannel.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e9a67c9e314da6a9063feea56fb0215435af843a31c90c39dedc62b270ed63"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchPanel.apply (cognitive 94): NotchPanel.apply has cognitive complexity 94 (threshold 15). Drivers by points: boolean chains 56, ternaries 25 (28 pts), if/else 10 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cff95a2bebded707dad8e432ca1b215a96e917b45e979a96d5c6c5d11e2fcb0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.shade (cognitive 93): AppDelegate.shade has cognitive complexity 93 (threshold 15). Drivers by points: if/else 64 (78 pts), boolean chains 56, ternaries 16 (22 pts) (nesting depth added 20). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (AppDelegate.shade::installOverlay) 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":"prototype/App/ShadeController.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0ffd9f4168d2fcad3cfc4308d69d85d1622bb76c4abf653c1ca3b2f4247b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseThumbnail (cognitive 86): GlanceProbe.exerciseThumbnail has cognitive complexity 86 (threshold 15). Drivers by points: boolean chains 40, if/else 34 (39 pts), ternaries 3 (4 pts), loops 1 (2 pts), error handling 1 (nesting depth added 7). Of this number, 71 points are the body\u0027s own statements and 15 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ThumbnailProbe.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c45950334ea13944bb8fbdf0026cb4ffa131e38ee66ae50bda8546d2d74284"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitRules.judge (cognitive 86): HabitRules.judge has cognitive complexity 86 (threshold 15). Drivers by points: if/else 33 (61 pts), boolean chains 14, ternaries 5 (10 pts), match/switch 1 (nesting depth added 33). 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":"prototype/Core/HabitRules.swift"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dccf4d0766e902cba7a6d8bab3ba2e0a24ca237bbd8a04ee341822e11564b26"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseNotchShape (cognitive 84): GlanceProbe.exerciseNotchShape has cognitive complexity 84 (threshold 15). Drivers by points: boolean chains 56, ternaries 11 (14 pts), if/else 7 (9 pts), loops 4 (5 pts) (nesting depth added 6). Of this number, 73 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchShapeProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd0cd97a9cbe5f17fb4685b98326ab72d4bfe211dd18e92f5930242bbbf14a4"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseGestures (cognitive 81): GlanceProbe.exerciseGestures has cognitive complexity 81 (threshold 15). Drivers by points: boolean chains 42, if/else 30 (32 pts), ternaries 4 (5 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"992ef011375409a9d9e41009a74effcb9528b2abf6682b0e6f8feea8ddbf335c"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchPanel.legacyBaseTarget (cognitive 78): NotchPanel.legacyBaseTarget has cognitive complexity 78 (threshold 15). Drivers by points: ternaries 15 (35 pts), if/else 18 (28 pts), boolean chains 9, match/switch 3 (6 pts) (nesting depth added 33). 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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fb0ad8c15359ad0a3870b8f0b24a5d60fc0a26a41df234f8b1313f4a3297d7"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.handleFlick (cognitive 74): TrackpadGestureController.handleFlick has cognitive complexity 74 (threshold 15). Drivers by points: if/else 23 (47 pts), boolean chains 22, ternaries 2 (4 pts), match/switch 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"915991bda42bab4f7029b04cf83f21cd15876d45c0d1477971c8254a79058fd6"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSessions.receive (cognitive 72): AgentSessions.receive has cognitive complexity 72 (threshold 15). Drivers by points: if/else 25 (46 pts), boolean chains 13, ternaries 5 (10 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 27). 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":"prototype/Core/AgentSessions.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"262152e309045464484e7d548339c5dc669186a33164a46b1200149e17645b01"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseSlideOver (cognitive 70): GlanceProbe.exerciseSlideOver has cognitive complexity 70 (threshold 15). Drivers by points: boolean chains 28, if/else 19 (21 pts), ternaries 18 (21 pts) (nesting depth added 5). Of this number, 67 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cea4f976b0624b1f02d90b6e999b79a6bc2286e37e77ecf4acceb1c7be07a7"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsSearchIndex.search (cognitive 70): SettingsSearchIndex.search has cognitive complexity 70 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 6 (15 pts), boolean chains 9, ternaries 3 (6 pts), match/switch 1 (4 pts) (nesting depth added 35). Of this number, 68 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":"prototype/Core/SettingsSearch.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"15810bdd3f72058ac59cacd1b894feebc525b398aebb7e87060da5889b9dc35a"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseStripPeek (cognitive 68): GlanceProbe.exerciseStripPeek has cognitive complexity 68 (threshold 15). Drivers by points: boolean chains 31, ternaries 17 (20 pts), if/else 16, loops 1 (nesting depth added 3). Of this number, 64 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/StripPeekProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a66f70b976de4edc3f4f6b561a606a825678770ecbddc952289cbc81ca8888"}},{"ruleId":"D2","level":"warning","message":{"text":"BezelCheck.read (cognitive 68): BezelCheck.read has cognitive complexity 68 (threshold 15). Drivers by points: if/else 21 (35 pts), boolean chains 27, ternaries 2 (5 pts), loops 1 (nesting depth added 17). Of this number, 60 points are the body\u0027s own statements and 8 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":"prototype/Core/DisplayShape.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"25381f078343f5df3f2d3cead63588de6029e69c3657e8dd8614d5fe67bff598"}},{"ruleId":"D2","level":"warning","message":{"text":"FoldRenderer.draw (cognitive 68): FoldRenderer.draw has cognitive complexity 68 (threshold 15). Drivers by points: if/else 28 (39 pts), boolean chains 28, ternaries 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":"prototype/Effects/FoldRenderer.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e51957632fcb8fa928ae09ec6135acec6b32fcbde7b09c5a7280612e2410eb"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.hitch (cognitive 65): GlanceProbe.hitch has cognitive complexity 65 (threshold 15). Drivers by points: if/else 16 (30 pts), ternaries 8 (14 pts), boolean chains 9, loops 5 (9 pts), error handling 2 (3 pts) (nesting depth added 25). Of this number, 64 points are the body\u0027s own statements and 1 belongs 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":"prototype/App/HitchProbe.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bd54c51f5a0541bc62f39b8b898473ef929fe35f7a7436ff5039103c29ca6e"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2RemoteHost.profile (cognitive 64): WS2RemoteHost.profile has cognitive complexity 64 (threshold 15). Drivers by points: if/else 23 (44 pts), boolean chains 8, match/switch 4 (7 pts), loops 2 (4 pts), ternaries 1 (nesting depth added 26). Of this number, 62 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"445662eae7e0264dcd16d683ab943a4aa5ad337491b817023bfd91638bdbd7e4"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceGestureTracker.receive (cognitive 64): FaceGestureTracker.receive has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 36, if/else 18 (24 pts), ternaries 2 (3 pts), match/switch 1 (nesting depth added 7). 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":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1930dd0ef11a37038170183ebb58fa6495ea12fdc6bf091e326c3bae46c4f9d3"}},{"ruleId":"D2","level":"warning","message":{"text":"SilentMilestoneProbe.exercise (cognitive 63): SilentMilestoneProbe.exercise has cognitive complexity 63 (threshold 15). Drivers by points: if/else 30 (33 pts), boolean chains 28, error handling 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, 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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b452e927b0b0517fb97ccd12d72e0a6f6bb8b7de73df56d3bfede1641e09c3e"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2DeviceActionHost.receive (cognitive 61): WS2DeviceActionHost.receive has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (34 pts), boolean chains 19, error handling 1 (3 pts), match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 26). 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":"prototype/App/WS2DeviceActionHost.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da89e8c7970ad27aa3382a2fd9cb7eb31d279028e8caa9be19721d3aca51431"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserActionPolicy.preflight (cognitive 61): WindowBrowserActionPolicy.preflight has cognitive complexity 61 (threshold 15). Drivers by points: if/else 28 (57 pts), ternaries 1 (3 pts), match/switch 1 (nesting depth added 31). 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":"prototype/WindowBrowser/WindowBrowserActions.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0290f34ef775cc20c1b317a122b79074e4c3c8ab589bc006e58401e64386b87d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromeProfile.swift.adobeChromeProfile (cognitive 58): ChromeProfile.swift.adobeChromeProfile has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 46, if/else 7 (8 pts), ternaries 2 (4 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Window/ChromeProfile.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f36c3061bb8392f7520f8aeab56f3c327636454a4c821e043c8e806767ff30a"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseFinderAlias (cognitive 57): GlanceProbe.exerciseFinderAlias has cognitive complexity 57 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 17, ternaries 6 (10 pts), loops 4 (5 pts) (nesting depth added 10). Of this number, 34 points are the body\u0027s own statements and 23 belong to 6 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":"prototype/App/FinderAliasProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cec5c67176ffbb08cf03f09e591d2b8f046a388ce6992871325daaa39fc0d66"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsShotProbe.run (cognitive 57): SettingsShotProbe.run has cognitive complexity 57 (threshold 15). Drivers by points: if/else 8 (21 pts), ternaries 6 (20 pts), loops 6 (11 pts), boolean chains 5 (nesting depth added 32). Of this number, 54 points are the body\u0027s own statements and 3 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":"prototype/Effects/SettingsShotProbe.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6dbfc67d8ce7011734940b93038c18e856b36523f0fbfa06f3452ea753327a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.observeFoldHide (cognitive 56): AppDelegate.observeFoldHide has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 22, if/else 13 (21 pts), ternaries 6 (12 pts), match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2FoldCallbackGuard.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaffa87862ecc44892591d6c1d0fc98cf4304e8fc9723f38a66d64fca81a977c"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.shade::installOverlay (cognitive 55): AppDelegate.shade::installOverlay has cognitive complexity 55 (threshold 15). Drivers by points: if/else 26 (34 pts), boolean chains 17, ternaries 4 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (AppDelegate.shade) 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":"prototype/App/ShadeController.swift"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bde5d87f271e1ad8fe1716fe09db7a0865d8ab5a1b64a3737060b08c6bf0cb"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverRecovery.recoverAbandoned (cognitive 55): SlideOverRecovery.recoverAbandoned has cognitive complexity 55 (threshold 15). Drivers by points: boolean chains 27, if/else 9 (25 pts), loops 2 (3 pts) (nesting depth added 17). 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":"prototype/App/SlideOverRecovery.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48d5a64f1aa25b2a5f01ba0b8ce575c06f6c982bb2743326155e9e3b247b921"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateGuard.run (cognitive 55): UpdateGuard.run has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (40 pts), boolean chains 7, loops 4 (5 pts), match/switch 2 (3 pts) (nesting depth added 23). 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":"prototype/Watchdog/main.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"31afb5c4e3d902b3f5c4fb0416078b2090593017dc8070e04fa27ff5951c2ead"}},{"ruleId":"D2","level":"warning","message":{"text":"TouchTap.frame (cognitive 54): TouchTap.frame has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 11, loops 5 (7 pts), ternaries 3 (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":"prototype/Core/TouchTap.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"821af341ebb823e66e722f4095941c21340aba45beeb995321a451a61941e5af"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCompactView.draw (cognitive 54): NotchCompactView.draw has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (26 pts), ternaries 10 (19 pts), boolean chains 9 (nesting depth added 19). 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":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a313499d5518eae419ae6f69871c4c5477ea8baf79ea628f1839d3561147d4"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.arrangeShadedEntries (cognitive 53): AppDelegate.arrangeShadedEntries has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (39 pts), ternaries 2 (6 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ArrangeController.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"942e8c64db14592f411532c7493cfde824b92edac5fec7504bcd16e7ba513358"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2GameControllerBridge.sample (cognitive 53): WS2GameControllerBridge.sample has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 20, loops 3 (6 pts), error handling 1 (3 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":"prototype/App/WS2GameControllerBridge.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c851036d7dec8a465bd48e00c425a881c63971b18972ae5fef9f5313035368"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchPanel.displayCompact (cognitive 53): NotchPanel.displayCompact has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 15 (30 pts), boolean chains 16, if/else 5 (7 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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7f4ecbac7de8371941996158fd1b41df000ab55c70a3afda6ce263cdf39343"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseLaunchpadTiling (cognitive 52): GlanceProbe.exerciseLaunchpadTiling has cognitive complexity 52 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 10, ternaries 4 (9 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 11). Of this number, 29 points are the body\u0027s own statements and 23 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":"prototype/App/LaunchpadTilingProbe.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ee495387d2c7b4e0edcf99255657448aea8c7ea2da028d511b5e78539ebbae"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.decideFlick (cognitive 52): TrackpadGestureController.decideFlick has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 9 (20 pts), boolean chains 18, if/else 9 (12 pts), match/switch 1 (2 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"35055f8a4ecd690bfc30c9fc86cc8c2d850c3100f7488077c7a0fcea9c966b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ExplainerElementLayer.recolor (cognitive 51): ExplainerElementLayer.recolor has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 18 (40 pts), loops 3 (5 pts), if/else 3 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"49097d13aa8eae8166461f1ce9745714259453e1183bbda7a64e18a553cbafda"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.updateFollow (cognitive 51): TrackpadGestureController.updateFollow has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 13, ternaries 4 (9 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b4f7864c1d70f57b7c09f6a4b42c414f741257e337844211fbc708290868a2"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader.value (cognitive 51): Reader.value has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (29 pts), ternaries 6 (12 pts), boolean chains 4, loops 2 (4 pts), match/switch 2 (nesting depth added 22). 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":"prototype/Core/WS2OPACK.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca2024f55896b0ee5a018c67537b5412ca20fdd217a2d405d6eace67338c365"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowFoldEffects.prepareFold (cognitive 51): WindowFoldEffects.prepareFold has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 25, if/else 13 (24 pts), error handling 1, ternaries 1 (nesting depth added 11). 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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ec57bd41053a0ce19b7a7dd64910cbb1ef903f1efea3adac0608e44e8242b2"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCanvasView.scrollWheel (cognitive 51): NotchCanvasView.scrollWheel has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (36 pts), boolean chains 8, ternaries 3 (6 pts), match/switch 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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f6e0e7004eb62ba239a37f8a84ca49cfb31e4d86f837f5359bd134dfd9dcc8"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateLaunchPolicy.decide (cognitive 50): UpdateLaunchPolicy.decide has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 8 (22 pts), if/else 9 (17 pts), boolean chains 7, match/switch 2 (4 pts) (nesting depth added 24). Of this number, 49 points are the body\u0027s own statements and 1 belongs 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":"prototype/Core/UpdateDecisions.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c226a2823bf8dda3017cb371ae88434d720bea2c69c0ea10d921ed2d18f4aafa"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentReadout.sentence (cognitive 50): WS2SilentReadout.sentence has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 11 (22 pts), if/else 11 (21 pts), boolean chains 6, match/switch 1 (nesting depth added 21). 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":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8ec11618ff57cf63823443d71f60575fb5631119ddf6909b294e924c56e236"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2PairSetupServer.advance (cognitive 50): WS2PairSetupServer.advance has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (35 pts), boolean chains 12, match/switch 1 (2 pts), error handling 1 (nesting depth added 23). 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":"prototype/Support/WS2PairSetupServer.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa0304dc4597fcd6c767f94c187191d0a9485964cad570f79b49c2a54de7267"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseWinsSwitcher (cognitive 49): GlanceProbe.exerciseWinsSwitcher has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 16, ternaries 8 (9 pts), loops 2 (nesting depth added 4). Of this number, 36 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WinsSwitcherProbe.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb2a616e0902b2f37b1933f5a1714ccad2582f97cb8bc0df467edbd53428298"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.moveReorder (cognitive 49): LaunchpadView.moveReorder has cognitive complexity 49 (threshold 15). Drivers by points: if/else 18 (30 pts), ternaries 5 (14 pts), boolean chains 5 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbeb62071f0fa42d234ae071ccc5adf248893778d615b5f69c1eb9b68615ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchActivitySources.audioSnapshot (cognitive 49): NotchActivitySources.audioSnapshot has cognitive complexity 49 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 3 (13 pts), boolean chains 12, loops 1 (2 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivitySources.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e23e3e64eb7a1c070073ab69475343ff077b1f1817fc1f7c4087dfecfbaad0"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2OwnedSessionView.render (cognitive 49): WS2OwnedSessionView.render has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 35, if/else 7 (9 pts), ternaries 5 (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":"prototype/App/WS2OwnedSessionView.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a257991d5b3251dc8326844da3a98f0b58e7c652b64c9a1356d803c76219d60a"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsDesignPreview.compareCropGeometry (cognitive 49): SettingsDesignPreview.compareCropGeometry has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (35 pts), loops 3 (7 pts), ternaries 2 (6 pts), error handling 1 (nesting depth added 32). Of this number, 47 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/SettingsDesignPreview.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a81bd1cca5afca19a151968aeca599b43eb2fd1da8ae568974510ee16e475c"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.control (cognitive 48): LaunchpadView.control has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (31 pts), boolean chains 8, ternaries 2 (5 pts), match/switch 2 (4 pts) (nesting depth added 19). 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82f16e87bcc3708c27db2c0a6f6e870536b3698513e3f0f50f83c1702241a75"}},{"ruleId":"D2","level":"warning","message":{"text":"HorizontalLadder.next (cognitive 48): HorizontalLadder.next has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 12 (29 pts), if/else 10 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/TrackpadGesture.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bd520f633720704897b705c6f7e99c5eb0d9411f36733230cb78db4c93d14b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.buildStatusMenuItems (cognitive 47): AppDelegate.buildStatusMenuItems has cognitive complexity 47 (threshold 15). Drivers by points: if/else 24 (26 pts), loops 5 (10 pts), ternaries 3 (6 pts), boolean chains 5 (nesting depth added 10). Of this number, 45 points are the body\u0027s own statements and 2 belong 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":"prototype/App/MenuBarController.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dca2766e567dfb6b5a5913bddddd9f453b22c8cd1511c969c2b20bd1945cad"}},{"ruleId":"D2","level":"warning","message":{"text":"SecureLogFile.init (cognitive 47): SecureLogFile.init has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 12, error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/SecureLogFile.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"562660fd38541ba02f3f5ad967705f6868988fafb9a6e581a1ec432a26fb9900"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseSecondDisplayDesktops (cognitive 46): GlanceProbe.exerciseSecondDisplayDesktops has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 17, if/else 15, ternaries 10 (14 pts) (nesting depth added 4). Of this number, 42 points are the body\u0027s own statements and 4 belong 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":"prototype/App/GapProbesSecondDisplayDesktops.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac21c64af5e6cca8f872a1166af5e8d88a26ae5691bc4a27a11e5dc5afd1019"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitWorker.handle (cognitive 46): HabitWorker.handle has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 10, ternaries 4 (8 pts), match/switch 2 (4 pts), loops 1 (2 pts) (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":"prototype/App/HabitContext.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68357d2d25c8131969a0ff7d1ec274ec236acfed363d12bae75fa159e2d8365"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewRenderer.swift.nativeTitleStripLooksBroken (cognitive 45): PreviewRenderer.swift.nativeTitleStripLooksBroken has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 15, loops 6 (9 pts), ternaries 3 (nesting depth added 10). Of this number, 29 points are the body\u0027s own statements and 16 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":"prototype/Capture/PreviewRenderer.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f552a9b7cb381c784922f489a199b2468f311bb98ae034be49c9e21d758025ac"}},{"ruleId":"D2","level":"warning","message":{"text":"SilentMilestoneProbe.asyncTerminals (cognitive 44): SilentMilestoneProbe.asyncTerminals has cognitive complexity 44 (threshold 15). Drivers by points: if/else 29, boolean chains 15. 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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d731d4122c8764d3ad60a72c57160c12e09d1b6875ccef6b3c4e5146a967fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.quickLookWindowCandidates (cognitive 43): AppDelegate.quickLookWindowCandidates has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 14, loops 4 (5 pts), ternaries 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FoldExit.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c074fce4a132374f60982dd68e6109d412a2ab61b60be19d6d9daa2fd8a1928"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseReduceTransparency (cognitive 43): GlanceProbe.exerciseReduceTransparency has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 11 (24 pts), if/else 7 (13 pts), boolean chains 3, loops 2 (3 pts) (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":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcb20dff32d409b0fbdc254fb8e81ffe6acaed20f8521c74419871e608101a9"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.keyStep (cognitive 43): TrackpadGestureController.keyStep has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 26, if/else 12 (15 pts), ternaries 2 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"9043e7d01f1c682788b9fd764a80f12f083b484ee7ea34901026747c2ef49deb"}},{"ruleId":"D2","level":"warning","message":{"text":"OwnerTurnChallenge.receive (cognitive 43): OwnerTurnChallenge.receive has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 23, if/else 15 (17 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9822144af95bdee39eade644d570c4a058ee2f1b7d723ee4f0bacef3f6d474"}},{"ruleId":"D2","level":"warning","message":{"text":"PresenceLock.reconcile (cognitive 43): PresenceLock.reconcile has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 19, loops 1, match/switch 1 (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, 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":"prototype/Core/PresenceLock.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc39d6b6b74833ea35bd1e5c982267316dcfcbda4b7680a334e030737ffb2225"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.scrollWheel (cognitive 42): LaunchpadView.scrollWheel has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 12, ternaries 2 (4 pts), match/switch 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f93421fc076c4ec1a409e5f0b7c28ec21b666a5367512b0acb7b2cda9a954c"}},{"ruleId":"D2","level":"warning","message":{"text":"MeetingLinkDetector.classify (cognitive 42): MeetingLinkDetector.classify has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 17, ternaries 7 (14 pts), if/else 11 (nesting depth added 7). Of this number, 41 points are the body\u0027s own statements and 1 belongs 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":"prototype/Core/CalendarActivity.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfdda00d4265cec759c6afa743101783c55e4282b38d540fc6004031d987f63"}},{"ruleId":"D2","level":"warning","message":{"text":"ConductorSession.touch (cognitive 42): ConductorSession.touch has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 11, match/switch 3 (6 pts), ternaries 2 (5 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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc4d93dfc7b6b381359267e1cf87350ea1f7aa44d1b647a4327327bc49ab738"}},{"ruleId":"D2","level":"warning","message":{"text":"EffectWindowProbe.run (cognitive 42): EffectWindowProbe.run has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 18, error handling 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":"prototype/Effects/EffectWindowProbe.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4894be243ebea904205dfa430da08f4841799b3f3b11040ec232be380df95000"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCanvasView.mouseUp (cognitive 42): NotchCanvasView.mouseUp has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 14, ternaries 1 (4 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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f50a6a9d230876ad395354c5af06323d12fc75d7139f6d27df353db152df2ce"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.showPeek (cognitive 42): NotchController.showPeek has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 7, ternaries 2 (4 pts), match/switch 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a655b701bfc25c1a36983f207b75193761ddf21fb9fae03e2f515b2769150ea"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseWins (cognitive 41): GlanceProbe.exerciseWins has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 6 (13 pts), boolean chains 11, if/else 10 (11 pts), loops 3 (6 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"26835149d2b8289e020094dc490498d4f584de242e5225f5280e0475f66ff58a"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseStrip (cognitive 41): GlanceProbe.exerciseStrip has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 18, if/else 10 (11 pts), ternaries 8 (9 pts), loops 2, error handling 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, 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb4dfd7ed20cc8f6aa231c28d0e80fd69b2cee886e269ec98ce66adb7829b98"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitWorker.generic (cognitive 41): HabitWorker.generic has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 18, ternaries 2 (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":"prototype/App/HabitContext.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7662c5076ca8dce44a03458412096eb61ad78ce74c7e992a5f5353f213d7f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.applyReconcileAXSnapshots (cognitive 40): AppDelegate.applyReconcileAXSnapshots has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 13, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Reconcile.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a91fbe328d4ac67985eea35485c97634c3639c2c85807086188176341be6974"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.collectJournalRescueActions (cognitive 40): AppDelegate.collectJournalRescueActions has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 18). 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":"prototype/Recovery/Rescue.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d6f2d0993c702eb17e3c7da486ada4dd153a7c7d745c25f23551e9f8b8431e"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionCoordinator.acquire (cognitive 40): InteractionCoordinator.acquire has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 20, if/else 13 (18 pts), ternaries 1 (2 pts) (nesting depth added 6). 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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8722fcbdc1bb2135b5df9e0dd22943fd5d7bde89145f80b417bc20e1e7756300"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.startFocusCurrentAppSession (cognitive 39): AppDelegate.startFocusCurrentAppSession has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 7, loops 6 (7 pts), ternaries 1 (nesting depth added 9). Of this number, 24 points are the body\u0027s own statements and 15 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FocusSession.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c511447d215ffc688d31d8fc87bf2c0e8fa169d9a69e4f0864babf4c242d68"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exercisePictureInPicture (cognitive 39): GlanceProbe.exercisePictureInPicture has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 19, ternaries 10, if/else 7 (9 pts), loops 1 (nesting depth added 2). Of this number, 31 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c164206baccf83682f6d6cbf3e83423c7882d9e539d54d2e7b9e87e0a78dde"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseLaunchpad (cognitive 39): GlanceProbe.exerciseLaunchpad has cognitive complexity 39 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 14 (nesting depth added 3). Of this number, 36 points are the body\u0027s own statements and 3 belong 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef6b63f79bbbcd3792d57b91cf519e7a0da3b3b56395de662ec3a9a2eb52f13"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseWindowClasses (cognitive 39): GlanceProbe.exerciseWindowClasses has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 9 (18 pts), if/else 8 (11 pts), boolean chains 8, loops 2 (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":"prototype/WindowBrowser/WindowClassesProbe.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0bd65a7ee6132e94695642033d4d6e2a32c5f9a8fbfbd55f4abb7c41a259b2"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.mouseUp (cognitive 39): LaunchpadView.mouseUp has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (33 pts), boolean chains 3, match/switch 2 (3 pts) (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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0efeac883c40c597517644cd43fa2b1f31436cf545dd266421be4b9f0e29583"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityCard.update (cognitive 39): ActivityCard.update has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 20 (28 pts), if/else 8, boolean chains 3 (nesting depth added 8). 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":"prototype/App/NotchActivityView.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ebdf4830d1dc5e77e3728f79a591df54fd4717ed92b9622d6d7f61ff65680b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConductorSession.play (cognitive 39): ConductorSession.play has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 10, ternaries 1 (4 pts) (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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3080a22b0ea8f754d99bcafab0df91c06e4e9c35e14108f6d21f28a8432e1dd"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.handleAXNotification (cognitive 38): AppDelegate.handleAXNotification has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 9 (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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1112b75411e981fe4573986348d6dbfd61df2ebdd37934b2dc28dee2b1c74cd"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.capsuleOnscreenCheck (cognitive 38): GlanceProbe.capsuleOnscreenCheck has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 7, loops 4 (7 pts), ternaries 3 (7 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf763cb7e779913ed51fc4aeaa0bcb0cad7cf6559b7c8d8c581154f12506d634"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseFoldDesktops (cognitive 38): GlanceProbe.exerciseFoldDesktops has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 16, ternaries 8 (12 pts), if/else 10 (nesting depth added 4). Of this number, 34 points are the body\u0027s own statements and 4 belong 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":"prototype/App/GapProbesFoldDesktops.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2e4faabbfaf5fcd8aa7ec162599e4c8ac7b44167e07a4ea37ea5ced785da7a"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseSlideOverBorder (cognitive 38): GlanceProbe.exerciseSlideOverBorder has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 17, ternaries 8 (10 pts), if/else 7, loops 3 (4 pts) (nesting depth added 3). Of this number, 36 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GapProbesSlideOver.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b59bf728b475b8222db397500f8cde62fab1b441f13815e3904f536c5a59bf4"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.animateOut (cognitive 38): LaunchpadView.animateOut has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 9 (13 pts), boolean chains 7, loops 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d644d1efa55aa6d41174dce9fef5d8dda362430a438e50784c4c88ca017925"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowFoldEffects.prepareRestore (cognitive 38): WindowFoldEffects.prepareRestore has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 14, error handling 1, ternaries 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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa0207900ff4d88948710abb061813e1426fb9455e9d9ce506228525a36845b"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.wirePanelCallbacks (cognitive 38): NotchController.wirePanelCallbacks has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 12, match/switch 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, 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a50623ca7dbdc7186d08750d74778bfccadc6badd9ac398d11c2c63691b82f2"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseSlideOverSpaces (cognitive 37): GlanceProbe.exerciseSlideOverSpaces has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 16, ternaries 10 (11 pts), if/else 10 (nesting depth added 1). Of this number, 31 points are the body\u0027s own statements and 6 belong to 2 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":"prototype/App/GapProbesSlideOver.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c352eeb497485ea3d00dd82ba7a62334b2492899baf5c22d6459ffcc319575c1"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseStripOverview (cognitive 37): GlanceProbe.exerciseStripOverview has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 14, ternaries 11 (12 pts), if/else 9, loops 1 (2 pts) (nesting depth added 2). Of this number, 35 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"prototype/App/StripPeekProbe.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddd1959c6c18698eecc6134088d0f7a6f9030ceebd02e56c5cbd3cdb3c08d31"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchActivitySources.poll (cognitive 37): NotchActivitySources.poll has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 11, ternaries 7 (11 pts), loops 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivitySources.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40ee842f8fc8c2182b373c0b63af453cb5b776e6c8a70929b5133a2b1c5fbcf"}},{"ruleId":"D2","level":"warning","message":{"text":"MagicTiling.plan (cognitive 37): MagicTiling.plan has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 15 (22 pts), if/else 9, boolean chains 5, loops 1 (nesting depth added 7). Of this number, 36 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":"prototype/Core/MagicTiling.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2695c1eea8ac09a6dfa80481e5c8e912496f017a59d9aa318f2827ef9faf4342"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeProxyOverlayWindow.sendEvent (cognitive 37): NativeProxyOverlayWindow.sendEvent has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 14 (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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"658989b4b10ebac3619abf1addd9179af0f0c08472520e291b0ef754d183bd42"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowCatalog.publish (cognitive 37): WindowCatalog.publish has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (30 pts), boolean chains 5, loops 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":"prototype/WindowBrowser/WindowCatalog.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1eb147c6a922c495641a68f30bbd58ac85cdc10ba82ebb74a7c69790933b331"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.handOffFocusBeforeHiding (cognitive 36): AppDelegate.handOffFocusBeforeHiding has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 19, if/else 6 (13 pts), loops 3 (4 pts) (nesting depth added 8). 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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1d1077412baedbbf2368aa349489294b95cc6aa55c5428e99e6408738dbcf7"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseFinderColumns (cognitive 36): GlanceProbe.exerciseFinderColumns has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 13, ternaries 4 (5 pts), loops 2 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 17 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FinderColumnsProbe.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bded6f477712713122e587f45744d5fdfb0d674fa7d89987c4fbc7350d8d0da7"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.holdSetUp (cognitive 36): GlanceProbe.holdSetUp has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 6 (12 pts), boolean chains 7, match/switch 1 (nesting depth added 13). Of this number, 35 points are the body\u0027s own statements and 1 belongs 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":"prototype/App/HubHoldProbe.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"afebf33fe830a23480c41516a40722a85be5407c616b162b29eb442261b7693f"}},{"ruleId":"D2","level":"warning","message":{"text":"MiddleTitlebarTap.handle (cognitive 36): MiddleTitlebarTap.handle has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 4, match/switch 3 (4 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":"prototype/App/MiddleTitlebarTap.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6af05fe0303f2d50f151ccde746522dc16e752b56e7c7a23a75f463eabc1a78"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2RemoteHost.input (cognitive 36): WS2RemoteHost.input has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 9, ternaries 4 (8 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 10). Of this number, 32 points are the body\u0027s own statements and 4 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c51738e87b91bb6df186fb4aa400f34be38c68ce5c880c699e940f672fa572"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowSwitcherKeys.handle (cognitive 36): WindowSwitcherKeys.handle has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 4 (9 pts), boolean chains 7, match/switch 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":"prototype/App/WindowSwitcher.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8761a1f9916bdccea7be04166d1ac47ee77c52bdc4aeafedd04418b55bd85d"}},{"ruleId":"D2","level":"warning","message":{"text":"PowerFlashPolicy.observe (cognitive 36): PowerFlashPolicy.observe has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 16, match/switch 1 (nesting depth added 4). Of this number, 35 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/PowerFlash.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"015c3917bf30f515de9f5a0d016e309d3cc77df18ff717c568f33b36fa98c335"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2HeadGesture.shake (cognitive 36): WS2HeadGesture.shake has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 9, loops 1 (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":"prototype/Core/WS2HeadGesture.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2464a1d166f42c7e274dee99424c426135fb69a999b3cc9b8b7b9b35542f94"}},{"ruleId":"D2","level":"warning","message":{"text":"PictureInPictureController.enter (cognitive 35): PictureInPictureController.enter has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 9, error handling 3, loops 1 (2 pts) (nesting depth added 6). 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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"41727407cd976eaf6c6e237d620cb551d9334e1d1808321ce4c360c76dc76a53"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2AppRuntime.init (cognitive 35): WS2AppRuntime.init has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 5, match/switch 3 (5 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c4eb7f1493b9baf0adce958482698395eb9cef011cbc40a8f522cfd787e7c8"}},{"ruleId":"D2","level":"warning","message":{"text":"DockProbeSupport.firstAppItemGeometry (cognitive 35): DockProbeSupport.firstAppItemGeometry has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (9 pts), boolean chains 8 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2fdd4e79ce0ac741dfaec5447d3c477dadb9f4ba3d9db8dfd7ff56935a8b94"}},{"ruleId":"D2","level":"warning","message":{"text":"EventTapCallback.swift.eventTapCallback (cognitive 35): EventTapCallback.swift.eventTapCallback has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (20 pts), ternaries 5 (10 pts), match/switch 2 (3 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":"prototype/App/EventTapCallback.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ea6cfd38a7b3deedb46d3d34a94f2df2a9d81986008015e9a096befd0f1b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollStripController.evaluateColumns (cognitive 34): ScrollStripController.evaluateColumns has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 10, match/switch 1 (4 pts), loops 2 (3 pts) (nesting depth added 10). Of this number, 32 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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7c93dbf220886ee3fb0e6fe7f3254cc3d5c637ca7a2b06c6eeacc0123a2690"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.magicTile (cognitive 34): TrackpadGestureController.magicTile has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 9, loops 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/MagicTilingRun.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cb6afd90e9bd4adecb0a82c7cc0631938c8b729113c3a05362cfe926ce4fef"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentApply.perform (cognitive 34): WS2SilentApply.perform has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (26 pts), ternaries 3 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 16). 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":"prototype/App/WS2SilentApply.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d855def71a9b0ad87d1262a68a3ed023c4c33d0d30af4b803583d678d50654"}},{"ruleId":"D2","level":"warning","message":{"text":"ExplainerDirector.handle (cognitive 34): ExplainerDirector.handle has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 6, ternaries 2 (5 pts), match/switch 1 (nesting depth added 15). 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":"prototype/Core/ExplainerScript.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7df5bf10aef96f71f900d0b086ba6bde046a287f9dbb23a52b116091feecf2"}},{"ruleId":"D2","level":"warning","message":{"text":"FileShelfModel.add (cognitive 34): FileShelfModel.add has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 5 (7 pts), ternaries 2 (7 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":"prototype/Core/FileShelfModel.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8eb0a765d2ecfa590f77a6f26926d8cef340f667d291564c85c237f3a47d38c"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer.value (cognitive 34): Writer.value has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 4 (11 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (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":"prototype/Core/WS2OPACK.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"200e7e8285252e94310577dcf4f273028c879ccae4767d6df1e9aa5cad0421bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Policies.swift.windowPolicy (cognitive 34): Policies.swift.windowPolicy has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 23, if/else 11. 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":"prototype/Compatibility/Policies.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b806f4ae551b46740bf40173f8bbe775fd33909d9b56c4e253289fa1705fc27"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceController.driveUnhide (cognitive 33): GlanceController.driveUnhide has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 19, if/else 9 (14 pts) (nesting depth added 5). 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":"prototype/App/Glance.swift"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf6ce2616d9dc3760e942a2fa6205f37011936d2e3922bb44e92593e13122f1"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitWorker.readFocus (cognitive 33): HabitWorker.readFocus has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 7, loops 2 (4 pts) (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":"prototype/App/HabitContext.swift"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c15bce65dee3d602573bb90d1a3165f530f5ef21fd8865d52a317b092cd8687"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.folderScroll (cognitive 33): LaunchpadView.folderScroll has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 6, ternaries 2 (4 pts), match/switch 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c47644acf79e7affe7b07c8fa894bc4a1931823a7a7d3096e6abbf5873f6b8"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2HeadGesture.nod (cognitive 33): WS2HeadGesture.nod has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 6, loops 1 (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":"prototype/Core/WS2HeadGesture.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b066a7810a937bfb7f211fe29160726cfa2981f56c37e72f55c005ef38bafc05"}},{"ruleId":"D2","level":"warning","message":{"text":"EffectSession.show (cognitive 33): EffectSession.show has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 20, if/else 13. 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":"prototype/Effects/EffectSession.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc48b1bb8fff3b1b3d4876b5ae0049bf2f948256ab4022294a05aa5509b1d39c"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.unshadeReturningElement (cognitive 32): AppDelegate.unshadeReturningElement has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 6, ternaries 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FoldExit.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e17cc4126d527f7004ddc65340f448c256ee9520cc10640764605d073a10aa"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.moveFolderDrag (cognitive 32): LaunchpadView.moveFolderDrag has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 5 (11 pts), boolean chains 2 (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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"43533c952b45ea325edf945a65585257c60d192f4fbd39be95a8aa8b47b13294"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CodexApprovalHost.confirm (cognitive 32): WS2CodexApprovalHost.confirm has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 8, ternaries 2 (5 pts), error handling 2 (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":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62e8094b9848010349e58051e7175a1b3ffa79dc3e4bd355d99db4fcb4b7784"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2HookEvent.parse (cognitive 32): WS2HookEvent.parse has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 19, if/else 8 (11 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookServer.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3e3285f07975d9a34f9426e03c56d15fd78f8c2d3fbd027c8bc9626808560c"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteLayerHost.apply (cognitive 32): RemoteLayerHost.apply has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6, match/switch 4 (6 pts), ternaries 2 (5 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":"prototype/Core/RemoteLayerHost.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a4cf3d8b04f545847e8b2cf4731ae03f1cae89dd86b873e5c9809b8b05471c"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteMode.handle (cognitive 32): RemoteMode.handle has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 5 (10 pts), boolean chains 5, match/switch 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":"prototype/Core/RemoteMode.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9945d8696a08d536de5ae9f6d124ca531450ce019cdea090ee200b3f396b09e"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CompanionPairSetupChannel.receive (cognitive 32): WS2CompanionPairSetupChannel.receive has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 12, ternaries 1 (2 pts), error handling 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":"prototype/Support/WS2CompanionPairSetupChannel.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"470c0694700c772067bb506f521cff41fecdbdd585dcbc3dadbfd740f0585a0d"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2DuplexProcess.writeReady (cognitive 32): WS2DuplexProcess.writeReady has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2DuplexProcess.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9569f13e26435d03a8878047e9f5702afe1eebb306fdcfe0dd25523d714c1b20"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2HookConfiguration.preview (cognitive 32): WS2HookConfiguration.preview has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 3, ternaries 1 (3 pts), 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":"prototype/Support/WS2HookConfiguration.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1f805762d8b2d6cef24d800497c49ea7e0acf4c65b859bd68cbc972d767f94"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserController.refreshPanel (cognitive 32): WindowBrowserController.refreshPanel has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 14, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"122ddc7f53bda4bd59c3e3dbee321936c147e843d2a3d9c1d9cb27bd30a523ec"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadController.show (cognitive 31): LaunchpadController.show has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 3, match/switch 1 (2 pts), ternaries 2 (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":"prototype/App/LaunchpadController.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"286fb8b626c6091a933308b9418551fa7d8a4ac40b00d0f793b00bd45520007c"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCanvasView.morph (cognitive 31): NotchCanvasView.morph has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 9 (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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e171c1263ca833f47eb0305d94fe772a8aec0bb855227a7c59ac586724049d6"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.windowTiles (cognitive 31): NotchController.windowTiles has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 4 (8 pts), loops 5 (6 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 11). Of this number, 28 points are the body\u0027s own statements and 3 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9d5f9d4f952daf0c9cc426f4be70a8b849b285c7ae7754402719a4b1f9b9b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadeStrip.swift.dominantIconColor (cognitive 31): ShadeStrip.swift.dominantIconColor has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (3 pts) (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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"690eecfd4025df5a69d82b8fc8dcfa0bbd4dc90550cdb2097c83ebc8363e363e"}},{"ruleId":"D2","level":"warning","message":{"text":"CountdownTimerCard.rebuild (cognitive 30): CountdownTimerCard.rebuild has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11 (21 pts), boolean chains 6, loops 1 (2 pts), match/switch 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":"prototype/App/CountdownTimerCard.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3fa342dab407806b3d9e90c591744175a2ca674ef3a6dc5435bb0ab87e40f3"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.restoreGuard (cognitive 30): GlanceProbe.restoreGuard has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 16, ternaries 8 (10 pts), if/else 3, error handling 1 (nesting depth added 2). Of this number, 27 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GlanceProbe.swift"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a18f98e3937dfe660766f6f2ddfdcb69ee9fc87d4eb6748b8e7583c5f1bedc"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseMissionControlSurvey (cognitive 30): GlanceProbe.exerciseMissionControlSurvey has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 6 (10 pts), match/switch 3 (4 pts), boolean chains 3, error handling 1, loops 1 (nesting depth added 7). Of this number, 29 points are the body\u0027s own statements and 1 belongs 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fc20cc88b4011378a4c732e24c5eef4252c8c8f64aadb1c0f7dcdf98a42ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseSplit (cognitive 30): GlanceProbe.exerciseSplit has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 21, if/else 4 (5 pts), ternaries 3, loops 1 (nesting depth added 1). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efd81e3a96fbc654e9f25df3d300d85c46985262943d5a8732cab3e0311b1d6"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseNotchCalibration (cognitive 30): GlanceProbe.exerciseNotchCalibration has cognitive complexity 30 (threshold 15). Drivers by points: loops 6 (10 pts), ternaries 3 (9 pts), boolean chains 6, if/else 5 (nesting depth added 10). Of this number, 26 points are the body\u0027s own statements and 4 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":"prototype/App/NotchShapeProbe.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"34830661148072b3b40b05e238e54e5af299452f72891e0bb51ae11bb846ae0e"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalInputFilterState.admit (cognitive 30): GlobalInputFilterState.admit has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 14, if/else 12 (14 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GlobalInputFilter.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bdfd9528f1e2dff8ee19a9ca77b616ee1ed57a6889fb0c34f4d35a4b2aabd8"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.accessibilityChildren (cognitive 30): LaunchpadView.accessibilityChildren has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 4 (7 pts), match/switch 2 (5 pts) (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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dea8be7cd5e0530f9460ec9df92449cd507f061890e1c83f38f6cca38362e2"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchActivityController.perform (cognitive 30): NotchActivityController.perform has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 4 (7 pts), boolean chains 4 (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":"prototype/App/NotchActivityController.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71cd51cbdd6b24fd32b8b1fb8d3963363a1a7e430dcfd834e2d07e09c5db727"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.judgeFlick (cognitive 30): TrackpadGestureController.judgeFlick has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 10, ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b33609c8390953a1006d6b7f3531aff65dd4d2b70270f20c724a25e689ce75"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2ConductorView.render (cognitive 30): WS2ConductorView.render has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7, ternaries 3 (7 pts), loops 3 (4 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2ConductorView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"297a3ccf1d7c7d7d4c52b2e3a948d738e4b36ea0d030418b09605a2ab4ac9906"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2ApprovalReview.command (cognitive 30): WS2ApprovalReview.command has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 18, if/else 8 (10 pts), loops 1, match/switch 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":"prototype/Core/WS2ApprovalReview.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5225ab10e58716deb323cf8ce8a10e1af609a5ea16037e73ba5dabf7d02417fd"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserSurfaceStyle.applyCard (cognitive 30): WindowBrowserSurfaceStyle.applyCard has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 11 (12 pts), boolean chains 3 (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":"prototype/WindowBrowser/WindowBrowserViews.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3cd9b455c3bcdf62b4cc075e3ef5281f315a3287620ed45256b62e94914d69"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.performTitleBarDoubleClickAction (cognitive 29): AppDelegate.performTitleBarDoubleClickAction has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/EventTap.swift"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff55b7f5c0d0e36326f73fa84ce1c25ad866c91c2ac21abba0343572430cd88b"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceController.tick (cognitive 29): GlanceController.tick has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (12 pts), loops 2, ternaries 1 (2 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":"prototype/App/Glance.swift"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a59951e956dad37c305821c3519ebe2ecc7698eb709efbfe33274d41dd78827"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.run (cognitive 29): GlanceProbe.run has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 14, if/else 10, error handling 3 (4 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GlanceProbe.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"458496e169b17a30cb0714703d22978f5f2d9acd299e93d615d2c39cb84afb6f"}},{"ruleId":"D2","level":"warning","message":{"text":"SilentCoverProbe.exercise (cognitive 29): SilentCoverProbe.exercise has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 7, error handling 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SilentCoverProbe.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"be617f0d05613a176584e81ab0232fb125bc6acf4a8a45592bbff1e1ff665411"}},{"ruleId":"D2","level":"warning","message":{"text":"SilentMilestoneProbe.head (cognitive 29): SilentMilestoneProbe.head has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 10, ternaries 2, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3e899b1173449102b0009a00766b81e081529ab00d868a24cb4bfb8339c8cc"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.validateWindow (cognitive 29): SlideOverController.validateWindow has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 19, if/else 9 (10 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SlideOver.swift"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"27595ea548b247b29d3f6099ed33c7f3656fa6507ffba6e69a90dbb4f534f3f8"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CodexApprovalHost.present (cognitive 29): WS2CodexApprovalHost.present has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 16, if/else 5 (7 pts), error handling 2 (5 pts), loops 1 (nesting depth added 5). 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":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caa2754340fce4c7c4e565b3e5775a6596688dd7ebd33ca7100246b423b0229"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2OwnedLaunchController.synchronizeThreadAndTurn (cognitive 29): WS2OwnedLaunchController.synchronizeThreadAndTurn has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 5 (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":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8acf171f4631e72fffad1d7897a6031cf9f6b7ecc82b3223b55cf3911361a75"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowGlide.run (cognitive 29): WindowGlide.run has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 3, 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":"prototype/App/WindowGlide.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ee29b9161401b44dedf1fce4d5aa0a815680b0451a1ad4198b7586cab8d5bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ConductorSession.handleButton (cognitive 29): ConductorSession.handleButton has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 7, ternaries 2 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ConductorSession.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c500ddac2a642cdde5e8b92c029d1d5c33f634c998d58d39dc5d5b0001fa00e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ExplainerDirector.show (cognitive 29): ExplainerDirector.show has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 8, ternaries 1 (3 pts), 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":"prototype/Core/ExplainerScript.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5291adfd0f7646e6d34f5e19110a1bb135365393af8d5d61285f0c8478d90cdb"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.init (cognitive 29): NotchController.init has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12, loops 8, ternaries 3 (6 pts), boolean chains 2, match/switch 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3a70474caa08ebc8ebc627a5b892f59bab350bdc375d1fa5789025b26afdf4"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchPanel.restingTarget (cognitive 29): NotchPanel.restingTarget has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 14, if/else 8 (11 pts), ternaries 3 (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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"de21ac1e826dc4a67608d445d76192f6f817ae12ba87e4910bf85b5833acdf7c"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchTileView.drawAwayCell (cognitive 29): NotchTileView.drawAwayCell has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, ternaries 3 (5 pts) (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 6 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":"prototype/App/Notch/NotchRowViews.swift"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cda1bdcca1c6d9630e28957aad019ab791dfefee7f13bafa29c49c2e223242"}},{"ruleId":"D2","level":"warning","message":{"text":"FileShelfStore.sweep (cognitive 28): FileShelfStore.sweep has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (5 pts), ternaries 2 (4 pts), boolean chains 3 (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":"prototype/App/FileShelfStore.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3995de6972955c8e31514d0f5b35fa6a48af70cd422464c3d0a98a016f5fd82"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseNotchDebugCycle (cognitive 28): GlanceProbe.exerciseNotchDebugCycle has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 8, loops 4, if/else 2 (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":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a613ee266a23b6b29e16cfcf87bb1452dcec5e2b8088e7613bfb0575755434fa"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchActivityView.swipe (cognitive 28): NotchActivityView.swipe has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 3, ternaries 1 (2 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":"prototype/App/NotchActivityView.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8179cc49f009007966d541c4fdbeb66598494a1c2e608903b7b02688bbd384"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsExplainerView.apply (cognitive 28): SettingsExplainerView.apply has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (8 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6aff6c2c5419942725d0f101adebb76aad3dcd10034c9bf85c7ea0d3a458434"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.perform (cognitive 28): TrackpadGestureController.perform has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 1 (nesting depth added 13). 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b786c01df71b40eaac18bd77f3db0cd48b1d28f4feb45d7e546f5297226e7dfe"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.dropSplit (cognitive 28): TrackpadGestureController.dropSplit has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 16, if/else 7 (8 pts), ternaries 1 (2 pts), loops 1, match/switch 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":"prototype/App/DropSplitRun.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe474702d39827531e33b6d80256c0bac101ed0b9dab7e7ce9b3468456a36fa"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2ConductorPageView.renderSessions (cognitive 28): WS2ConductorPageView.renderSessions has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 5 (8 pts), loops 4 (7 pts), boolean chains 2, error handling 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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea543c467321cd59800d328fcb06f8fb2f54ee996a1be444e5b74bbacc0059a4"}},{"ruleId":"D2","level":"warning","message":{"text":"SeamLayout.fitted (cognitive 28): SeamLayout.fitted has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 4 (8 pts), boolean chains 3, loops 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":"prototype/Core/SeamLayout.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e3479c94e5cbbe2e0359c904ffdd41b4f90329ba0cb90f31f763c0b337cadb"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoController.prepareDesktop (cognitive 28): DuoController.prepareDesktop has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 8, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/DuoController.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23c8aaebf3dc3d7a54229248808ecd7e9d06d26b8bb65431cccc58fde684333"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoSettingsWindow.liveChanged (cognitive 28): DuoSettingsWindow.liveChanged has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 9, error handling 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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc65a9939039be388fc703cadbdf5747212787dcc05e9636d7eb3119e82a50c8"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowCatalogProbe.run (cognitive 28): WindowCatalogProbe.run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 6, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 3 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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"8894d838d302caf944eabac7bba2a1409c775f6c9dc2bd86f7fa54707fcda3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserController.handleImmediate (cognitive 28): WindowBrowserController.handleImmediate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 2 (6 pts), boolean chains 4, match/switch 1 (nesting depth added 13). 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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cea4430ba1a97cac0fec957127da69345b351b228074e1af6bd3fecf26dc1b"}},{"ruleId":"D2","level":"warning","message":{"text":"teach.frameAt (cognitive 28): teach.frameAt has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 6 (7 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 3 belong 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":"site/teach.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8181d4a32c77675dff917220129d7555995335389ab260c7c0dbb51d2999ee"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.performForwardedTrafficAction (cognitive 27): AppDelegate.performForwardedTrafficAction has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 5, match/switch 1 (nesting depth added 6). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 5 function items inside it that branch (attempt, retryOrFallback, verifyAfterPointerClick, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FoldTransaction.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"25831ce9bc279ccd445d42f32f9135f098ba85472f72e26dd2f50ad1e11d88f2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.windowBrowserManagedSnapshots (cognitive 27): AppDelegate.windowBrowserManagedSnapshots has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (5 pts), match/switch 2 (4 pts), loops 3 (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":"prototype/WindowBrowser/WindowBrowserAppDelegate.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"972f4eed4ed6624d16accab15c350d2f522854a9a3b33623cd2fb383e38d7151"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceObservationHub.activate (cognitive 27): FaceObservationHub.activate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 2 (3 pts), loops 1 (3 pts), boolean chains 2 (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":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8e4e72eb6da0f7a3e4f426f36654c833091aef581ee6f4f6f8faf3636f2dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"ExplainerElementLayer.apply (cognitive 27): ExplainerElementLayer.apply has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 8, match/switch 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, 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":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e063cfc548e89cedfaa8e2d8b62f08a715ccdf4ecd53aa2b1cbdf187584d019"}},{"ruleId":"D2","level":"warning","message":{"text":"SplitViewController.land (cognitive 27): SplitViewController.land has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 7, if/else 4 (7 pts), loops 1 (2 pts), match/switch 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":"prototype/App/SplitView.swift"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6de45f6ae297a2c3714aff17763340ee7108263a89143f60872ec1146fe980"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeWire.parse (cognitive 27): ClaudeWire.parse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 9, match/switch 2 (3 pts), ternaries 1 (2 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":"prototype/Core/ClaudeWire.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e60c7bf6ee190bf9c8d0461d72a0d804142eec98f4b75b32a80f87ccd041b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Outline.points (cognitive 27): Outline.points has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (8 pts), match/switch 1 (2 pts) (nesting depth added 15). Of this number, 25 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":"prototype/Core/DisplayShape.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"994d68d7856dcde4583a86a314be0f22469e33a99c7fe319b0b796b0912de611"}},{"ruleId":"D2","level":"warning","message":{"text":"CornerFitter.fit (cognitive 27): CornerFitter.fit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 7, loops 3 (4 pts), ternaries 1 (3 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":"prototype/Core/DisplayShape.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"756158db4c263779e08fc8e1a8c275e25e249fd5cdd064cd79bd352c6bdad9ba"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceQualityGate.rawHint (cognitive 27): FaceQualityGate.rawHint has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 12 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceCaptureQuality.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a563afd9a16fb93cc8f642e151abc19eac12af7ccedcc1d614c86c8908b124c"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusTimer.handle (cognitive 27): FocusTimer.handle has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 5, 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":"prototype/Core/FocusTimer.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4fbe4dcd03a8d1ef5a82910896d59b14144f2281a6cc95a8c8f26be9a81966"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollStrip.seam (cognitive 27): ScrollStrip.seam has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2 (7 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 10). Of this number, 21 points are the body\u0027s own statements and 6 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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b31af2c6b8d9b54a901308e7028729545b160c7f7d1b5e970f7b435ae22e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.string (cognitive 27): Parser.string has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2StrictJSON.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8322e252eed65a0fd9ac70a46b11386b14d20646352f289893d9b9df951e9a0"}},{"ruleId":"D2","level":"warning","message":{"text":"EffectWindowProbe.verifyTitlebarControls (cognitive 27): EffectWindowProbe.verifyTitlebarControls has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 11, ternaries 1 (2 pts), loops 1 (nesting depth added 3). Of this number, 25 points are the body\u0027s own statements and 2 belong 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/EffectWindowProbe.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a7322af8ff055f641a48fe0f6f58467fb0c39645318b2f1d77d9b0af09106f"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CompanionCrypto.answerM3 (cognitive 27): WS2CompanionCrypto.answerM3 has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, if/else 6 (12 pts), error handling 1 (nesting depth added 6). 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":"prototype/Support/WS2CompanionCrypto.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"58725b6276679cce163d6954a7bacabb8bcfbe911d3f7d6c58c8dee44ea072b6"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CompanionTCPTransport.received (cognitive 27): WS2CompanionTCPTransport.received has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 1 (3 pts), boolean chains 1, error handling 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":"prototype/Support/WS2CompanionTCPTransport.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f80c033dace455d73ee6dacab502c6c366a417ae20a84b1d6323f701000178"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2DuplexProcess.readReady (cognitive 27): WS2DuplexProcess.readReady has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts) (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":"prototype/Support/WS2DuplexProcess.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23f21a7b2ddf25e8dbc53e2e93d45cd5eb2d4d43c9177ae75396eab330a0084"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchPanel.alert (cognitive 27): NotchPanel.alert has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, if/else 10 (13 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef77522dbb5553cc93e03a4df7219b4c83d6c01220d4cfeeae4f698119f7f7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.frontmostWindowContaining (cognitive 26): AppDelegate.frontmostWindowContaining has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 16, if/else 8 (10 pts) (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":"prototype/App/EventTap.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"53526a28dbfc19e6ffde6400e3549f8a6186f6eabb2de873cfcec30199534d50"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.applyFeature (cognitive 26): AppDelegate.applyFeature has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (25 pts), 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":"prototype/App/Preferences.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9248db92a7c2733bcd9c1fbd8470fe928b6425f10bb74f81b1f6a98264966d1"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceRegionPixels.rgbSamples (cognitive 26): FaceRegionPixels.rgbSamples has cognitive complexity 26 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 6 (8 pts), boolean chains 7, match/switch 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":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc26b5686c29ef4fd2f7e37e7099aebb97829f494ce43f292d2e607029a07442"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseElsewhere (cognitive 26): GlanceProbe.exerciseElsewhere has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 7 (8 pts), ternaries 5, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ElsewhereProbe.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b8e3dccce2c57f9f9be1359236aa8433980c85bd0247b742c8e6925f6583d2"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.mouseDragged (cognitive 26): LaunchpadView.mouseDragged has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 7, match/switch 1 (2 pts) (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, 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"c260623574893f2b6d5a6c491c54cbf4fda5f359340a4d210abcd8e14473599d"}},{"ruleId":"D2","level":"warning","message":{"text":"PinchEventTap.noteTouches (cognitive 26): PinchEventTap.noteTouches has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 6 (8 pts), ternaries 3 (5 pts), boolean chains 4 (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":"prototype/App/PinchEventTap.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b4af19966a6b085818571e991e8cf00457e54a82d789aa8ff39260f901b5fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SLSOffscreenCheckProbe.exercise (cognitive 26): SLSOffscreenCheckProbe.exercise has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SLSOffscreenCheckProbe.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e6d6f19e3efc0f8cbef84880a3b22ee95607e5fe8fccdf46c92eae84e0c1c0"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.refreshMonitors (cognitive 26): TrackpadGestureController.refreshMonitors has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8febbf2c61801bef79d4fd76ca5b1d94a3b4b8281a5081ec92e8d6daace7b282"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2RemoteBonjourListener.init (cognitive 26): WS2RemoteBonjourListener.init has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (7 pts), boolean chains 4, match/switch 1 (3 pts), error handling 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d9a7707855d001e520a24a1f9711a49f22e5d3843995fbe45a3726f22179ca"}},{"ruleId":"D2","level":"warning","message":{"text":"MorphRetarget.kickKeyframes (cognitive 26): MorphRetarget.kickKeyframes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 9, loops 2 (3 pts), ternaries 1 (nesting depth added 5). Of this number, 19 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":"prototype/Core/FlickMotion.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fd03071b7abd6a4e5592ef6d11aab53c8740b75401fdc2ef6319dd710b3523"}},{"ruleId":"D2","level":"warning","message":{"text":"MiddleDrag.update (cognitive 26): MiddleDrag.update has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 10 (11 pts), boolean chains 2 (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":"prototype/Core/MiddleDrag.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"858352c1ce7f20558d52cb6e6736a69ff9c244e3a9006359411903bfbb8f6bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2AppUninstallPlan.scan (cognitive 26): WS2AppUninstallPlan.scan has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, loops 1 (2 pts), ternaries 2 (nesting depth added 7). Of this number, 24 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2AppUninstallPlan.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8260d7988105e344d8007c7252aca42aa273a4719922730a47adedda56c186c"}},{"ruleId":"D2","level":"warning","message":{"text":"Decoder.feed (cognitive 26): Decoder.feed has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2CompanionFrame.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b777bdf02bd12824e6fec224546eb8133323c3e7469b05b618de7c9562a6753d"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserNewWindow.scan (cognitive 26): WindowBrowserNewWindow.scan has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 4 (10 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserNewWindow.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db558fe5fb1d49184de13d7da68a67e95d0836fd45115b7f84b6d22c523b50a"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCompactView.update (cognitive 26): NotchCompactView.update has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 8 (9 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebb492fef451017b4876ece21107457787a5dd1d4abeeae30ed7cb193832b95"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.handleHotKey (cognitive 25): AppDelegate.handleHotKey has cognitive complexity 25 (threshold 15). Drivers by points: if/else 23, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/EventTap.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"06976b589e051d35a15ef7a7fe545df6b4856d722c968775e57181ff6b5cf209"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.updateFaceAutofillControls (cognitive 25): AppDelegate.updateFaceAutofillControls has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 8, ternaries 1 (3 pts), match/switch 1 (2 pts), 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":"prototype/App/FaceAutofillSettings.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e8f877020a5eaa756920d51843d7d8661095057efad78c35f034dbe2fea151"}},{"ruleId":"D2","level":"warning","message":{"text":"CarryController.layout (cognitive 25): CarryController.layout has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 7, 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":"prototype/App/Carry.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"737c3a0e6d6f2092f047c21df1267bbe48267a95908f1ae2b83c243f2a1b6e4b"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseShelfPeek (cognitive 25): GlanceProbe.exerciseShelfPeek has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6, ternaries 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchShelfProbe.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e97e669ebf7c1b97d5702e5f435332ac19a6c923b0cf20457437f739867940"}},{"ruleId":"D2","level":"warning","message":{"text":"ExplainerElementLayer.build (cognitive 25): ExplainerElementLayer.build has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (13 pts), ternaries 4 (9 pts), if/else 1 (2 pts), match/switch 1 (nesting depth added 13). 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":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"95998cea838142cc8fc517e13b10ab287d10909a696e0c1bc82fc6d67d32da81"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.resize (cognitive 25): TrackpadGestureController.resize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5, ternaries 2 (5 pts), match/switch 2 (3 pts) (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, 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9dd8de8cd57a43817410a287682d241cc26e96c76ac030ffe6a908c2904885"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtworkPalette.make (cognitive 25): ArtworkPalette.make has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, loops 3 (nesting depth added 7). Of this number, 24 points are the body\u0027s own statements and 1 belongs 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":"prototype/Core/ArtworkPalette.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"08568efbe9b38d0e81dfc27f865b265931146296aa2a17a0368f493f86c8b016"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusNavigator.move (cognitive 25): FocusNavigator.move has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 10, match/switch 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":"prototype/Core/FocusNavigator.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"135640e680b8df52539900fe815081df8ae6e0cffb1d6ee48657d03994d6f778"}},{"ruleId":"D2","level":"warning","message":{"text":"EffectFrameSource.stream (cognitive 25): EffectFrameSource.stream has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 10 (12 pts) (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":"prototype/Effects/EffectFrameSource.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"41070224587759cb64c041e057370b8b8f5eb13f5aee0670f96480271927eb61"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2LocalLaunchProfile.admitsEffectiveConfig (cognitive 25): WS2LocalLaunchProfile.admitsEffectiveConfig has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (9 pts), loops 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2LocalLaunchProfile.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5115b32f1a40e56b8f27ee51ad948ec1c0e37d31e4bc26531b532d67d60ea744"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserController.requestThumbnails (cognitive 25): WindowBrowserController.requestThumbnails has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 1 (3 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"6991662d11c07d74b3c525e9e0c6ba2251b590205af231d3e7f37f005922b079"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserDiscovery.discover (cognitive 25): WindowBrowserDiscovery.discover has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserDiscovery.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3aa64dcc66406bcdcb5c5b2bfe26aeafca42e70063fb975e48ec029c8f96edb"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserGeometry.layoutPlan (cognitive 25): WindowBrowserGeometry.layoutPlan has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 9 (10 pts), boolean chains 2, match/switch 1 (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, 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":"prototype/WindowBrowser/WindowBrowserGeometry.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16112ccb6f3093627e5608ff0bedbaece1a8bcf14e74bc5baf12024a16785d3"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCanvasView.routeRowScroll (cognitive 25): NotchCanvasView.routeRowScroll has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 10 (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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1b45c75a5519deeb97f8b4385801895cd7d08981e7bbf53dc1c40cd2dfc36c"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchTileView.drawOngoing (cognitive 25): NotchTileView.drawOngoing has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 8 (10 pts), boolean chains 2, match/switch 2 (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":"prototype/App/Notch/NotchRowViews.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"58599d902b9c51356ee7883460920e330abe91dd69a649ac0c452beb68215645"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.sourceWindowLooksUserVisible (cognitive 24): AppDelegate.sourceWindowLooksUserVisible has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 3, match/switch 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":"prototype/App/Reconcile.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"da898c63951a63efe2805f6a4109845bfcec72f9d04b09e96596a29361656aa0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.arrangeThumbnailEntries (cognitive 24): AppDelegate.arrangeThumbnailEntries has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 6 (9 pts), boolean chains 2 (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":"prototype/App/Thumbnail.swift"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a2730e9401ea59adf83a90707332180567de6d7b8e901b7a30364b3596f522"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioLevelSink.consume (cognitive 24): AudioLevelSink.consume has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/AudioLevelTap.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"22644e0ac050a8ba6fa9cdc467e740d970b94d8cae36c116f47cc88856b20830"}},{"ruleId":"D2","level":"warning","message":{"text":"ConductorClaudeProbe.poll (cognitive 24): ConductorClaudeProbe.poll has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (10 pts), boolean chains 2 (nesting depth added 11). Of this number, 14 points are the body\u0027s own statements and 10 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":"prototype/App/ConductorClaudeProbe.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"257a4aabba81bf19a4c6b8c923ae35907931c0177ff01575ad422e29f3fe90a3"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.animateIn (cognitive 24): LaunchpadView.animateIn has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (6 pts), ternaries 3 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1773}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f99d8a0ea9a54b8792d4e63d8fd263d93c7f8689b3c4dd0c39c04f620cb583"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.showVeil (cognitive 24): LaunchpadView.showVeil has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 8, if/else 4 (5 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5d3b8b7be450bfa81ee9850164de682a0182ab0165d65d7cd4e9a353edb97f"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.enter (cognitive 24): SlideOverController.enter has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 10, ternaries 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":"prototype/App/SlideOver.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aab31eb4bfc5c35522698b01f6f71c44326161358f0197c8a96c1b884aa8459"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.show (cognitive 24): SlideOverController.show has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 10, 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":"prototype/App/SlideOver.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7081871fc2624691d3c768414438935b3d3730ee2135590f630b2e48884db3c3"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.arrangeableWindows (cognitive 24): TrackpadGestureController.arrangeableWindows has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 4 (8 pts), loops 3 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/MagicTilingRun.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4a2c8335851a66d357d73425750204922c3128c8200741321cf4a25d24f432"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2AppRuntime.handleFocusEffects (cognitive 24): WS2AppRuntime.handleFocusEffects has cognitive complexity 24 (threshold 15). Drivers by points: error handling 4 (12 pts), if/else 2 (6 pts), ternaries 1 (3 pts), match/switch 1 (2 pts), loops 1 (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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead5454e4809db3597b28d181891f91df251080dd79649837878094e5c8c9d43"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CodexApprovalHost.receive (cognitive 24): WS2CodexApprovalHost.receive has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 8, loops 2 (4 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8392b842d133f412d7a6618cad4e6d6ba582e1ae399e6638b7b3e440b5f76e8b"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentHost.asyncObserved (cognitive 24): WS2SilentHost.asyncObserved has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 4 (7 pts), boolean chains 4, match/switch 1 (nesting depth added 9). 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":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f0f41cdf49831a00589bb945e97ec83bdd6c88a0c31b0ea91aeb7bfd88db33"}},{"ruleId":"D2","level":"warning","message":{"text":"MiddleDrag.handle (cognitive 24): MiddleDrag.handle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 3 (7 pts), boolean chains 1, match/switch 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":"prototype/Core/MiddleDrag.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c8d2590e1528ac9f485362f84ae32d216b105503cf6669c4d85c997583e431"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollStrip.move (cognitive 24): ScrollStrip.move has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, ternaries 2 (4 pts), match/switch 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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"378a271048968355fe09ad43a0e6f31558e0b3f9a979e96ddad9d832eeb908d8"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalIdentity.parse (cognitive 24): TerminalIdentity.parse has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, match/switch 1 (2 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":"prototype/Core/TerminalIdentity.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2977f6c09fefb9648ff97939791b0993055fb69afb599e4e24b305cea6a9c9e"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.number (cognitive 24): Parser.number has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (6 pts), boolean chains 3 (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":"prototype/Core/WS2StrictJSON.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc372bd804c8576af4eb8e181882e390c525d6c3456dbc02a03ad7291d0836f"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SRPMontgomery.multiply (cognitive 24): WS2SRPMontgomery.multiply has cognitive complexity 24 (threshold 15). Drivers by points: loops 7 (12 pts), if/else 5 (9 pts), ternaries 1 (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":"prototype/Support/WS2PureSRP.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"795f8aa68588f933f351c77cee6c8aa567725a53ea6ab92abe0fd3808f8a2c74"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserController.updateLivePreview (cognitive 24): WindowBrowserController.updateLivePreview has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 16, if/else 7 (8 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"0632f4da76f8e171355d1f26233e5e295bad870c8751bd5136a5b901eb72c67a"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserShotProbe.render (cognitive 24): WindowBrowserShotProbe.render has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 5, loops 2 (3 pts), ternaries 3 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserShotProbe.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c71445b7dec2c2b35cf3846167bc3efaaa5438e87df5795e3d9435f4ebf073"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCanvasView.performMorph (cognitive 24): NotchCanvasView.performMorph has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 5 (6 pts), boolean chains 5 (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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cc8113ff78edb4b9a39ff3376c351a7e16bd872e4e6f3244bf39f351895f85"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.handleTitleBarTripleClick (cognitive 23): AppDelegate.handleTitleBarTripleClick has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5 (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":"prototype/App/EventTap.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e2cc618a774c68a135905d6414b641199a6eebe66d8f1977f95122f03d8967"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.scheduleFoldVerification (cognitive 23): AppDelegate.scheduleFoldVerification has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (9 pts), match/switch 1, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FoldTransaction.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a81285b8ea274e51ba62820a3b13644bbfc8bc764e0e347969c8ca48b122e0"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseMagic (cognitive 23): GlanceProbe.exerciseMagic has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 14, ternaries 4 (5 pts), if/else 4 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34c26aa6d6873763423ac05a2c72552a6139691bd8d5f6090c64111c602757a"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.smoothFlicks (cognitive 23): GlanceProbe.smoothFlicks has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 2 (5 pts), loops 2 (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":"prototype/App/GestureProbe.swift"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"9757f2dfc8cf572b7178680f37760d40b922272180e8bcb294dbec514038b49f"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseOverhangingEdge (cognitive 23): GlanceProbe.exerciseOverhangingEdge has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 17, if/else 5, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/StripPeekProbe.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"11baf60ec2fa452c153fb3cee0948f1735f251fa04dd222b82db1f3035fca247"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchFaceObservationController.start (cognitive 23): NotchFaceObservationController.start has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (10 pts), match/switch 1 (2 pts), error handling 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":"prototype/App/NotchFaceObservations.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"070aa9b080647e57e9613060085c22745e2636247aa441b101fd682dacd24f74"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarRoom.measure (cognitive 23): MenuBarRoom.measure has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 7 (9 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"prototype/App/NotchWatch.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"588b25b62301a632a54b57703d2c84a0aee27bfe38f83fa0a1c8a120e628e8f2"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarRoom.menuRoom (cognitive 23): MenuBarRoom.menuRoom has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 10, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchWatch.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e747c75987e941f528a897307971eedf3600c43248ba765f57d7715a9a5fbea1"}},{"ruleId":"D2","level":"warning","message":{"text":"MenuBarRoom.scanCover::scan (cognitive 23): MenuBarRoom.scanCover::scan has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 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":"prototype/App/NotchWatch.swift"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c912c295bd3f370ba385734148d676e939cb61e3b5f66dc8458a486a5ac2e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2RemoteHost.receive (cognitive 23): WS2RemoteHost.receive has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, match/switch 1 (2 pts), error handling 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"0431387e849eea7ff90b2ea629736c967ada608d91b412e803bb9322c4e2dead"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowSwitcher.collect (cognitive 23): WindowSwitcher.collect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 7, ternaries 2 (4 pts), loops 2 (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":"prototype/App/WindowSwitcher.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2400b2ff63035be478891e2e184a2250abf72e0bdb4e0dc526f29d9e520ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaySummary.build (cognitive 23): AwaySummary.build has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 pts), loops 5, 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":"prototype/Core/AwaySummary.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"532486f40a48820dcb12a145389d099f2bea83b74c9a508aa4f6a7fe8bb98632"}},{"ruleId":"D2","level":"warning","message":{"text":"ElsewhereWindows.plan (cognitive 23): ElsewhereWindows.plan has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (8 pts), loops 3 (4 pts) (nesting depth added 5). 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":"prototype/Core/ElsewhereWindows.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1588d7b1b039e632c25ecf3ecdfb87c12136dd01f2272436d244bfdb434b85"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceIntent.sample (cognitive 23): GlanceIntent.sample has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 3, 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":"prototype/Core/GlanceIntent.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6a4a13c520cf6c1d4d790c662c81f6dca512f8cb26fbf806a91d63633d964e"}},{"ruleId":"D2","level":"warning","message":{"text":"Hysteresis.observe (cognitive 23): Hysteresis.observe has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, ternaries 1 (2 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":"prototype/Core/NotchRoomPolicy.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"17091a7b698b9b318852158db523f2df5c21568d6d0c929e257f77537d2d6c06"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoController.tickDesktop (cognitive 23): DuoController.tickDesktop has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 9 (10 pts), ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/DuoController.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"67092c88f55d7f0c50904c8a3da2b589a473da691f68aba8f09912ad3e159081"}},{"ruleId":"D2","level":"warning","message":{"text":"LockOverlayController.refresh (cognitive 23): LockOverlayController.refresh has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 1 (3 pts), boolean chains 2, loops 1 (2 pts), match/switch 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":"prototype/Effects/LockOverlayController.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5455c6d818651b93b588c6c266aec5ec82fe3029ab4471239d00b6423d2de9"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserIdentityProbe.checkForeignWindow (cognitive 23): WindowBrowserIdentityProbe.checkForeignWindow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 2 (6 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserIdentityProbe.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de4574472a41bced549ef039f97218375f78445b33683c2c563134043a3c42a"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCanvasView.present (cognitive 23): NotchCanvasView.present has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da1753cbe0a53af0810d0d8d3bd39283fa43bf38f8ad5560022b7bcb89586c0"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCanvasView.placeCompanion (cognitive 23): NotchCanvasView.placeCompanion has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 7 (8 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef41e56133a3a800d5402163845190aa412f1a844bc239a185f7628d8a432f9"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.awayCellText (cognitive 23): NotchController.awayCellText has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (16 pts), if/else 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 11). 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b83d7207af41af4154008b8945106aefd2ff3b42cd812e7a7f60c374170d47"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.titleSettled (cognitive 23): NotchController.titleSettled has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 9, ternaries 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b2460bb6228689659288576ec760f8c5fa5226f3a71a36e66f91e8f1d68dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchPanel.earContent (cognitive 23): NotchPanel.earContent has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, boolean chains 7, ternaries 3 (5 pts), match/switch 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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"286a1c63baa06f4cab7e55f3fb96ecf1e2d925b1fd604552e4067ad37d1146f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ClaudeConductor.receive (cognitive 22): ClaudeConductor.receive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, loops 1 (2 pts), 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":"prototype/App/ClaudeConductor.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"095c3b0a98cc0a8ce0ade4583295a1dcc2e63c3dd8df5f455bce0ee6e33f723c"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectionKeyPresets.choose (cognitive 22): DirectionKeyPresets.choose has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 4 (7 pts), boolean chains 4, ternaries 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":"prototype/App/DirectionKeyPresets.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"36539c7c0db38ad7cd15c9407e5f9c33d7e193fb92b04d0d6e1efec970742d91"}},{"ruleId":"D2","level":"warning","message":{"text":"FileShelfView.rowsChanged (cognitive 22): FileShelfView.rowsChanged has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, ternaries 3 (4 pts), loops 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":"prototype/App/FileShelfView.swift"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"15738ed62d0baa8f1223d62e50a6d78255dcccd21787102749a763de24093708"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.layoutPill (cognitive 22): LaunchpadView.layoutPill has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 9, boolean chains 4 (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, 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bd1a661ac4b45846b2231380a988390f313e028f35a94680381ce9088c160a"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.showZone (cognitive 22): LaunchpadView.showZone has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 3, boolean chains 1, match/switch 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc80c653d19273d97ac6a0372a52e52f4ef4d4c3169c688fada3c974a626aaf4"}},{"ruleId":"D2","level":"warning","message":{"text":"NowPlayingCard.crossfadeVolume (cognitive 22): NowPlayingCard.crossfadeVolume has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (9 pts), loops 4 (6 pts), if/else 4, 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":"prototype/App/NowPlayingCard.swift"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba443e9cf015c0ee7cd0f9cc8151b28a1a0090ffdb8ad7823b7ce46dc7f4b86"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.endEdgeDrag (cognitive 22): SlideOverController.endEdgeDrag has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, ternaries 4 (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":"prototype/App/SlideOver.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bc718751970e011312e0d976feff2d270d86226fe0e1149809ac6d352ce6fb"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.showTitleHold (cognitive 22): TrackpadGestureController.showTitleHold has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 18, if/else 3, loops 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd90dbce9b82801b68950a3a53b020dd82236c469b4f88df104421aadf71c287"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentHost.offer (cognitive 22): WS2SilentHost.offer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b90a8933ec5ceb9383ab6179439034e03824554525194d0a0d775006e78287b"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptureIndicatorRemoval.detect (cognitive 22): CaptureIndicatorRemoval.detect has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 5 (7 pts), boolean chains 6 (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":"prototype/Capture/CaptureIndicatorRemoval.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb692a7b706303f79ffccfba0e1b1c3001b8f6d3aa68a18c0ce1c815a99c29"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexWire.ingest (cognitive 22): CodexWire.ingest has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 1 (2 pts), boolean chains 1, error handling 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":"prototype/Core/CodexWire.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebad62e4587b10611adbf44b6c66fa1abef327ff3f7f6b2b92d52463af0e650f"}},{"ruleId":"D2","level":"warning","message":{"text":"GazeCalibrationFit.fit (cognitive 22): GazeCalibrationFit.fit has cognitive complexity 22 (threshold 15). Drivers by points: loops 10 (15 pts), boolean chains 4, if/else 2, ternaries 1 (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/GazeAttention.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"831af98bd3e10cbc370088ed29718af06cabd566f55c23d59db65a1e6d3f8715"}},{"ruleId":"D2","level":"warning","message":{"text":"GazeAttention.receive (cognitive 22): GazeAttention.receive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (19 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":"prototype/Core/GazeAttention.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"da02a103098f8b91c2c7afa092c13bf52a823f5d08dd94ac96c776fedf57e576"}},{"ruleId":"D2","level":"warning","message":{"text":"StripNotchExchange.seam (cognitive 22): StripNotchExchange.seam has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (4 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 5 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":"prototype/Core/StripNotchExchange.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9dc8c189317a4add7b819cc4dd18ba2256d24b4b41d9960ca31bec3d2ea738"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CameraChoice.match (cognitive 22): WS2CameraChoice.match has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (8 pts), boolean chains 1, match/switch 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":"prototype/Core/WS2CameraChoice.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7e648963147188e1e59aed7829c0e68303b4c65a2981d8613d64542808cb06"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowFoldEffects.fallback (cognitive 22): WindowFoldEffects.fallback has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8 (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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79f918b770740dbc3be2641fe0ad62f6a7f45e350064c51332e23b2628f939a"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2BoundedInput.readAll (cognitive 22): WS2BoundedInput.readAll has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, 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":"prototype/Support/WS2BoundedInput.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c1c436a2e068589d066628725b49544eddc750511657eb82d8d68f406f2be6"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserActionPresentation.item (cognitive 22): WindowBrowserActionPresentation.item has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 8, ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 3). 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":"prototype/WindowBrowser/WindowBrowserActionPresentation.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2cf1a0a5102df0d65c75e12649fd15b8c23d4c7fc715dd73b03df93653bb84"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.hoverChanged (cognitive 22): NotchController.hoverChanged has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7 (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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0863364050c77196e6e90508be0314bdc81f7ecdba2c19582d062d6d40686a"}},{"ruleId":"D2","level":"warning","message":{"text":"privacy.privacyModel (cognitive 22): privacy.privacyModel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 9). Of this number, 21 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":"site/scripts/privacy.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29267310245ffc074f52990d5be446a5dff1cbbd663ec9caf037ee877223331"}},{"ruleId":"D2","level":"warning","message":{"text":"PinnedPreviewController.beginInteraction (cognitive 21): PinnedPreviewController.beginInteraction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 9 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/PinnedPreview.swift"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"84112eb9b483193849a71557dd348b1f24578cbb6399d142cdf0186dc02b2ffd"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.reapplyShadeHide (cognitive 21): AppDelegate.reapplyShadeHide has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, ternaries 1 (2 pts), 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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb564633af75cda1ed34c164be530ee3e7b299dc2de80c857e6762459c0dadd"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.retargetToActiveSpaceWindow (cognitive 21): AppDelegate.retargetToActiveSpaceWindow has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (7 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":"prototype/App/ShadeController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f8e547db0aaa2354ea34a2420f42f81bef0f456901e0410f036ccb50967a00"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.collectParkedWindowRescueActions (cognitive 21): AppDelegate.collectParkedWindowRescueActions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, loops 3 (4 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":"prototype/Recovery/Rescue.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa59cec3bed8b395da9e81860a77caeafa94894f2afa5602c7d872d90e1584e4"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceObservationWorker.captureOutput (cognitive 21): FaceObservationWorker.captureOutput has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 5, match/switch 1 (2 pts), ternaries 2, error handling 1 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5e83534d9e43fd6d337cb20b2afe6d0166f373405a86bcc0a06b3d66073a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseCarry (cognitive 21): GlanceProbe.exerciseCarry has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 4, ternaries 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, 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d77a3e2b72da228cfa133c0e3bef4de060c837a1bd0b80e208998c40bfe82f"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.foldTiming (cognitive 21): GlanceProbe.foldTiming has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 4 (7 pts), boolean chains 6, 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2476291015234c72421850462bade5c2b5d82f862e61ce3590eb4a0ba6f2c78"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseHabits (cognitive 21): GlanceProbe.exerciseHabits has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 6, if/else 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/HabitProbe.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"055f1752fe98dbb164e7f3be30f9b7e07e30d4b5cd7f46a0f0587a21f8a3a530"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadActivityCards.render (cognitive 21): LaunchpadActivityCards.render has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (9 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadActivities.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"798ed196acac0b6d46747952c452452cced046b2d0266463acdb07b2423e8ed3"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadFolderOverlay.placeCells (cognitive 21): LaunchpadFolderOverlay.placeCells has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, loops 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af5be716564526a822a061a0c3c3fd27ca64163b35028c28dfe65e29d1ad98c"}},{"ruleId":"D2","level":"warning","message":{"text":"NowPlayingCard.renderProgress (cognitive 21): NowPlayingCard.renderProgress has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 15, if/else 4, loops 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NowPlayingCard.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb624daa0976cfa4c2f934f34820df4cad2a7c34d56e301fe1894ca850d9720"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.move (cognitive 21): SlideOverController.move has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 8, ternaries 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":"prototype/App/SlideOver.swift"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc57ae0bb548903822a71860ff754061c9f75208a7eb463093f33b99cc015bce"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateLaunch.recordLaunch (cognitive 21): UpdateLaunch.recordLaunch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, match/switch 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":"prototype/App/UpdaterLaunch.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd05b5043430de33dc8020fbbc946056518cbe935abdd0432f39d78bff65c92"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2AppRuntime.openConductor (cognitive 21): WS2AppRuntime.openConductor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 10 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35f2b3b5ca012840a494512af3eb6dec3979be9f05238fcc00b30bea49eda82"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentHost.startPersonalPhrasesIfConfigured (cognitive 21): WS2SilentHost.startPersonalPhrasesIfConfigured has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (10 pts), error handling 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f16cac67fe0b246258f4e3eba9c59630ecee7882a0e858acadd842f013ec1d"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptureIndicatorProbe.capture (cognitive 21): CaptureIndicatorProbe.capture has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, error handling 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Capture/CaptureIndicatorProbe.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f76bfd7ea9b1b9ad2913581a4d3b65ce125733e307c693a8f9a912e225f935c"}},{"ruleId":"D2","level":"warning","message":{"text":"BystanderPolicy.observe (cognitive 21): BystanderPolicy.observe has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, 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":"prototype/Core/BystanderPolicy.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc69289a837d8a48bc0fd5258a33b700d78a4b03921727f225764ed4518c184"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionCoordinator.admit (cognitive 21): InteractionCoordinator.admit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8, 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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a968eafbc1907091c211c3d845286d28c18e096e8436dbe084b0cfac05fd8627"}},{"ruleId":"D2","level":"warning","message":{"text":"MissionControlPick.detection (cognitive 21): MissionControlPick.detection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, 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":"prototype/Core/MissionControlPick.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad535dab3e652c6daedcecb0f30550420d2f8750f1c2b34fc80d4c91becf0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"RectangleKeymap.resolve (cognitive 21): RectangleKeymap.resolve has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 1 belongs 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":"prototype/Core/RectangleKeymap.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8b0d02be84312d89619d4317fccdd00bdc5c01f4089314f47fa585b7314317"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteLayerHost.conductor (cognitive 21): RemoteLayerHost.conductor has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, ternaries 1 (3 pts), match/switch 1 (2 pts), 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":"prototype/Core/RemoteLayerHost.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d111f4b30cffb7a1079299bf70f6900fadb1a2fe653df746b0ed992baa1a60"}},{"ruleId":"D2","level":"warning","message":{"text":"GestureRecognizer.swipeFrame (cognitive 21): GestureRecognizer.swipeFrame has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8 (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, 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":"prototype/Core/TrackpadGesture.swift"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac0af5e2903cf60cc82587dc7681fb368cea83ebd6f23b6a463e95d9d05f05e"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CameraChoice.decide (cognitive 21): WS2CameraChoice.decide has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 8, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2CameraChoice.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7af258786e4512dcf0a982066730554bfca26a2824bfeba2b68ff0c44fc044"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.value (cognitive 21): Parser.value has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts), match/switch 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":"prototype/Core/WS2StrictJSON.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aa505651ec9c06a71ad1f0dc3a2747449ec94c12509045ee2003c0b48fad52"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CompanionChannel.sendEvent (cognitive 21): WS2CompanionChannel.sendEvent has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (10 pts), error handling 1 (nesting depth added 5). 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":"prototype/Support/WS2CompanionChannel.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5315d66e912e54b1f62179be5faeb2a5c51316e09e3af8efd3ef59517100b65"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2HookConfiguration.configuredHelpers (cognitive 21): WS2HookConfiguration.configuredHelpers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 6, loops 3 (6 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":"prototype/Support/WS2HookConfiguration.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc05e5721109a9a3abc0562d716bfa5e9dd77d848255a8b8b92746e23cf43326"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowStateHub.reconcile (cognitive 21): WindowStateHub.reconcile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, ternaries 2 (3 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":"prototype/Window/WindowStateHub.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94d95a911c2522b89d67daf2423e6dfca06fa29b206f22b7b9536fcd9021e87"}},{"ruleId":"D2","level":"warning","message":{"text":"EventTapCallback.swift.pointMayLieInTitlebarBand (cognitive 21): EventTapCallback.swift.pointMayLieInTitlebarBand has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/EventTapCallback.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd397b35af7a05e1d19a8e89db0579c113eb5ebf366fe18639048ac04052a16"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowStreamCapture.stream (cognitive 20): WindowStreamCapture.stream has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/ScreenCaptureBridge.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1cf4549f5fe14992c36a91d85eb7acd14307fa19d2f2ebe60ccd71e81f1213"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.registerGlobalShortcuts (cognitive 20): AppDelegate.registerGlobalShortcuts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 5 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":"prototype/App/EventTap.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edf0d73a41c465e8d722a15729f0ace9e2d2260c3ca56e550fcde7dd63c0d79"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.hideWindow (cognitive 20): AppDelegate.hideWindow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, loops 1 (2 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FoldTransaction.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6de847e980a45c83c19ddfd094282b86b37614376207133600307d3a95a92c"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.screenParametersChanged (cognitive 20): AppDelegate.screenParametersChanged has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FoldTransaction.swift"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb9c8215bee6fa7c7b98b27a82317579a903fb85088016669fa7613cbf095cb"}},{"ruleId":"D2","level":"warning","message":{"text":"BystanderGuard.startCamera (cognitive 20): BystanderGuard.startCamera has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/BystanderTuck.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"119136f7bd19ddbb7b85029bdcc580d69a9cfdabb0abd5ef90212906175ef74a"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDragSensor.handle (cognitive 20): FileDragSensor.handle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 2 (3 pts) (nesting depth added 11). 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":"prototype/App/FileDragSensor.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7a01e08b971542621d7e5c838a1d7a83b7b194d6f8ca3e4b7083b147dbb46b"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.walkBack (cognitive 20): GlanceProbe.walkBack has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (8 pts), ternaries 3 (6 pts), boolean chains 4, if/else 1 (2 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":"prototype/App/ElsewhereProbe.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4c9d7bafc3fc158c912d9eb58528b574383b802555ff05505e2c8c1705ae87"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseSlideOverUnminimizable (cognitive 20): GlanceProbe.exerciseSlideOverUnminimizable has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 6, ternaries 3. Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GapProbesSlideOver.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b447a44c2626a271f2cfc43ed0ca24b7bc4a8bf9e7024f25200280f7c9fc49fa"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exercisePinFollow (cognitive 20): GlanceProbe.exercisePinFollow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 3 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":"prototype/App/PinFollowProbe.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bd604be3cc971f3277c6eed0da9381b0fbc64675703f58a971a6c12471839e"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseQuietDefaults (cognitive 20): GlanceProbe.exerciseQuietDefaults has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 5, if/else 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/QuietDefaultsProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5b9ec9be20fc54c779187c1c581f3c4c0b9d4ad27b3b6f152bd834a995e82d"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitCenter.apply (cognitive 20): HabitCenter.apply has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 9 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/HabitContext.swift"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e376181bcf27b28f3314450f80ce4f39355f0b2e00115bb0f8bed09fe6266f"}},{"ruleId":"D2","level":"warning","message":{"text":"Card.update (cognitive 20): Card.update has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 5, if/else 4, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"prototype/App/LaunchpadActivities.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc396395a87da35ba077ce71ee5fa6bd4646b3bf1b216db96de700b3efb2b6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollStripController.applyWatch (cognitive 20): ScrollStripController.applyWatch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, loops 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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ede8071002a83560838aa9fd5287699b4977c90d093e197cb68ccaa256b9351"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.exit (cognitive 20): SlideOverController.exit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6 (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":"prototype/App/SlideOver.swift"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"652a6a6a317b8e377ca35e8c19afd354c6171ce96d50ac21e15dfe57d58c379d"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2GamepadDesktopControl.handle (cognitive 20): WS2GamepadDesktopControl.handle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (19 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":"prototype/App/WS2GamepadDesktopControl.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5c7e76ee7d8ea1730cf3b900f0768d41897f90f8305da804f0fc3d9d909b98"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentHost.watchAsyncEnd::tick (cognitive 20): WS2SilentHost.watchAsyncEnd::tick has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ffdf002416ea4f96b40d23c1456fbf50a9f75e6563a27baac2c13d7d5deb74"}},{"ruleId":"D2","level":"warning","message":{"text":"ConductorSession.expire (cognitive 20): ConductorSession.expire has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 9 (10 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ConductorSession.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29600089e66c199502de9d59ac212aeb32afd90d19f4ed582e1586dff4298c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectionKeys.plan (cognitive 20): DirectionKeys.plan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (6 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":"prototype/Core/DirectionKeys.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfd8dbf4c22005d5ad248785205042e1152981efe67960439451a17a1df47a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayShape.resolve (cognitive 20): DisplayShape.resolve has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, ternaries 3 (5 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":"prototype/Core/DisplayShape.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f7ff69d63a65789cd97ad8f01890da89430f84650951f7fe18ce415806dff0"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitWords.lines (cognitive 20): HabitWords.lines has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (7 pts), match/switch 2 (3 pts) (nesting depth added 9). 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":"prototype/Core/HabitRules.swift"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"383be017ef1f1542c92b20191cb8884fe9df7014be67b44bc14fb4f50f88281a"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingSessionActivities.apply (cognitive 20): CodingSessionActivities.apply has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, ternaries 2 (4 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26d865f8af455906ca6257251906f6d4720dbcabf9c9acafe5f013ef9e77282"}},{"ruleId":"D2","level":"warning","message":{"text":"EffectFrameAwaiter.first (cognitive 20): EffectFrameAwaiter.first has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (9 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/EffectFrameAwaiter.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c60eb3706829a8d59f472dbe7ca6d5ef344d30a7368a473789dda3641474a3"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowFoldEffects.background (cognitive 20): WindowFoldEffects.background has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4 (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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53f86bd4709b119099593118f5015f99938e7cf2c559648efdc603d2341af5c"}},{"ruleId":"D2","level":"warning","message":{"text":"PrivateSLSWindowMover.init (cognitive 20): PrivateSLSWindowMover.init has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Private/SkyLightBridge.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"50321748c17db2171e178cc241e247715023359fe0542327413dab77a353ba90"}},{"ruleId":"D2","level":"warning","message":{"text":"MainThreadSampler.watch (cognitive 20): MainThreadSampler.watch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, ternaries 1 (2 pts), 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":"prototype/Support/Diagnostics.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"028ee88c037b1d2957b69fd7d24c76e576f5ba8f08f0b2229e357c40e270e939"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowStateHub.receive (cognitive 20): WindowStateHub.receive has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 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":"prototype/Window/WindowStateHub.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff58c7d61fb4ad9cff25f1955f0b3c6988b4a0d9f6d18d622d15d3dbc0c6a76"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserContentPlan.index (cognitive 20): WindowBrowserContentPlan.index has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 4 (7 pts), match/switch 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":"prototype/WindowBrowser/WindowBrowserGeometry.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2d53b525911c22bf99750b2eda28c328ceaab9e1a1d2b9d7f90be6e174966c"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchPanel.hintText (cognitive 20): NotchPanel.hintText has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), ternaries 3 (6 pts), match/switch 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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":2421}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf84e73221d46205191bf85fed470738a5a3614bdb082a5ab89f23cc35cc557"}},{"ruleId":"D2","level":"warning","message":{"text":"Compact.same (cognitive 20): Compact.same has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 19, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e85836ce28eeb3cfe6d3975b31da6f97d96cdd08d408fe81faee13f03ff339d"}},{"ruleId":"D2","level":"warning","message":{"text":"AXWindow.swift.chromeHeight (cognitive 20): AXWindow.swift.chromeHeight has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 8. 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":"prototype/Window/AXWindow.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efd6a044ea905b679ef44282c0f6b3f8726f4ef390ec968916be287409bfb9f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.restoreArrangedOverlayFrames (cognitive 19): AppDelegate.restoreArrangedOverlayFrames has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 8 belong 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ArrangeController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48d3591e6e61659841f07c15553e2bba3b714386eb497c011b981dce8c3288b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.enforceOverlaySpaceInvariant (cognitive 19): AppDelegate.enforceOverlaySpaceInvariant has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4 (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":"prototype/App/OverlayPresentation.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0477f8ceb3919d73995c79df050c854a0a95d738ea637af54410f7f5693d06"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.observeRestoredWindow (cognitive 19): AppDelegate.observeRestoredWindow has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 3, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/RestoreVerification.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec1b8cfd7dbc1d8ce4ae76e0d3e0fe149c360835d199c02e32036b0a9b82b83"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.rescueActionVerified (cognitive 19): AppDelegate.rescueActionVerified has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (6 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Recovery/Rescue.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e430534abd0117440cdd34a8d074da3765bfc152e987cb052d402ded34d71d23"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioLevelController.reevaluate (cognitive 19): AudioLevelController.reevaluate has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (8 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/AudioLevelTap.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a227dde6c0802b95f3a2ad3b549299f0bb9f69a07ac4ff49a854f9c72d3f389"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseBrowserMore (cognitive 19): GlanceProbe.exerciseBrowserMore has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 3, boolean chains 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserMoreProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf179c472c76d4856d06d613485ddc653825f69c48538fe9a7434bf119516943"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitMenuIndex.scan (cognitive 19): HabitMenuIndex.scan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (6 pts), ternaries 1 (4 pts), boolean chains 3 (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":"prototype/App/HabitContext.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd508f89f742b055bfcba91b180f37a53aa57a841ea7a2c3f7f7b9d97fbaa01"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitCenter.mouse (cognitive 19): HabitCenter.mouse has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, match/switch 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":"prototype/App/HabitContext.swift"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5a6ec0f052ada21505c2af5273c66d969fd05b5f17007c2732bfee40bfe95d"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.target (cognitive 19): LaunchpadView.target has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, match/switch 1 (2 pts), ternaries 1 (2 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba80b358dcc7a9d3596f132b361be3cd49f8379136cca891040b5ed3695943b1"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.spring (cognitive 19): LaunchpadView.spring has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, ternaries 4 (5 pts), boolean chains 4, match/switch 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadOpenWith.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"51288efc22729630df648c9bdf0b1808ca827875728fb2a454a047af91978b23"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchFaceRecognitionHost.ensureSurface (cognitive 19): NotchFaceRecognitionHost.ensureSurface has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4 (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":"prototype/App/NotchFaceRecognition.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4c3e3a24d54737505d77ee48924f0fc64d5c0803718ac8623e800ccbb51baa"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchLevelObserver.handleKey (cognitive 19): NotchLevelObserver.handleKey has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (5 pts), boolean chains 4, 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":"prototype/App/NotchLevelObserver.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9efc75d011418acdde3e4e321aa862b7ef40c35aef74ac062457d2d4b15e2d5"}},{"ruleId":"D2","level":"warning","message":{"text":"NowPlayingArtworkDecoder.decode (cognitive 19): NowPlayingArtworkDecoder.decode has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 15, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NowPlayingArtwork.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"82627031506cfda4f603ad265a638dba5505f88980366db8b86a18942e200b84"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollTap.handle (cognitive 19): ScrollTap.handle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, match/switch 2 (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":"prototype/App/ScrollTap.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"29711ea3e6629a946722ba0d25df557ee7ba25fa1838095c91184ad46cfcf3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsExplainerView.applyColors (cognitive 19): SettingsExplainerView.applyColors has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (15 pts), loops 3, 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":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"800a0349568f594c6fc01a72373886ee93f67e4c54aa7774aae5ccaed6b8c61c"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.beginResize (cognitive 19): SlideOverController.beginResize has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 5, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SlideOver.swift"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa5130d2abbc09d049d5c5d4083119330f489cd2e37f9bbcc303340e93dd384"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.placementTarget (cognitive 19): TrackpadGestureController.placementTarget has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5 (7 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0ca0668d3b1bb11ef735e406283d857c005faeb0ac6eb6133071b225d81618"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2AgentSessionView.render (cognitive 19): WS2AgentSessionView.render has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (4 pts), boolean chains 2, match/switch 1 (2 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":"prototype/App/WS2AgentSessionView.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1084f782a80b16b05a92c57a29ed6d4f709e5c9aedae4e27c701aac8b6bb9f15"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2AppRuntime.openModelPicker (cognitive 19): WS2AppRuntime.openModelPicker has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 7. 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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"29739293f9178073bbed514d2dac5f228fb0ad5a4a26d05fbb9ab99673de1a24"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2HookSessions.compact (cognitive 19): WS2HookSessions.compact has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, ternaries 2 (3 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookServer.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"252c17f0708e8a103ee21612ea151f0d13d493d529f3cd6b63eb15c4a4e0afcc"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2RemoteHost.openLockVerifyWindow (cognitive 19): WS2RemoteHost.openLockVerifyWindow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"92acc26fed37c36744cc4288a49633cac22da93d4ad68a97c611f7bb45cfaffd"}},{"ruleId":"D2","level":"warning","message":{"text":"ConductorSession.tap (cognitive 19): ConductorSession.tap has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4 (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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f68082c199d56d175bd6a041c0f6e2d165076119c9978a52c4992b655f6d17a"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadTracker.update (cognitive 19): DownloadTracker.update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (5 pts), boolean chains 4, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/DownloadActivity.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb160f727251957b2a1a6003e3ccc1af7f622d3ac2d9bb8796858174e21f273b"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceEnrollmentFlow.collect (cognitive 19): FaceEnrollmentFlow.collect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceEnrollmentFlow.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d4e0f609d07a4f2f59e37f59dc0f89e2445fc8a58d76672604a531c3ed32de"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceGestureTracker.usable (cognitive 19): FaceGestureTracker.usable has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (6 pts), match/switch 1 (nesting depth added 3). 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":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"571208f63bde9dcdd8225742af38bceb982d006fbecfa671fd8116a8bb86ae8a"}},{"ruleId":"D2","level":"warning","message":{"text":"GazeFeatures.eye (cognitive 19): GazeFeatures.eye has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, loops 2 (3 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":"prototype/Core/GazeAttention.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f06c189487c156b84a1a23df8ef662250e7aaf5489f4fd7063837ac34b649e0"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionCoordinator.vacated (cognitive 19): InteractionCoordinator.vacated has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 1 (2 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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb327b1ec1d573f941e6cb67859aaa1f158e4548d99dbbf1152b8e2f704169"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchActivityStore.upsert (cognitive 19): NotchActivityStore.upsert has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6 (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":"prototype/Core/NotchActivities.swift"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7934619935ed0e3802b6cee142eee0943885830e0707a082bc05b718b8ca3f2"}},{"ruleId":"D2","level":"warning","message":{"text":"SpeakerFbank.logMel (cognitive 19): SpeakerFbank.logMel has cognitive complexity 19 (threshold 15). Drivers by points: loops 8 (16 pts), if/else 2, boolean chains 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/SpeakerFbank.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac56e82d525ec54dc87b646512cb8433c67c091a62af19f7ecafbf98ecf43aac"}},{"ruleId":"D2","level":"warning","message":{"text":"DurableShadeJournal.save (cognitive 19): DurableShadeJournal.save has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 pts), boolean chains 1, error handling 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":"prototype/Recovery/DurableShadeJournal.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4dbda6c33b86c737fb75a8c9952602c82aed0e7624c8367168510030421b3b"}},{"ruleId":"D2","level":"warning","message":{"text":"JournalNumeric.spaceID (cognitive 19): JournalNumeric.spaceID has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6 (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":"prototype/Recovery/JournalNumeric.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1479376f2ff386c86d76a6bfd305eeea5cc07697991de0047d340408c9a2fce8"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2LocalLaunchProfile.prepare (cognitive 19): WS2LocalLaunchProfile.prepare has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 2 (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":"prototype/Support/WS2LocalLaunchProfile.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eaa1183fc6cdeae188c18045f3b9e71a6081c0300b3ff560f69095f058844b"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2ProcessChannel.send (cognitive 19): WS2ProcessChannel.send has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2ProcessChannel.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"01082f3ee68da4f7cb2cf392c566692a05f0f6c78d10a90235841cbd17ed818f"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowStateHub.diff (cognitive 19): WindowStateHub.diff has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 7, boolean chains 4 (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":"prototype/Window/WindowStateHub.swift"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360cd8c1c2888780c26a8cae01ed4612662ad0f863355e6732073e36352bd84"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowThumbnailService.request (cognitive 19): WindowThumbnailService.request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5 (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, 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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cde5bab867b7d6609f2e904061f1b0ee00de7b458cf9b3877cdbe3ee6164cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Content.same (cognitive 19): Content.same has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 19. 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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c4a16b0556947d21c4925b4792e182a2c374726d8aaee3390e6401e90f5390"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCompactView.syncLevel (cognitive 19): NotchCompactView.syncLevel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, ternaries 2 (4 pts), loops 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":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"373335a6a97b9ca79f1edaf35fbf353fa9a6eb66ae594bb32bdcd06442ed46c0"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchPanel.updateVisibility (cognitive 19): NotchPanel.updateVisibility has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 14, if/else 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c615df907262061370c49a1f4ea63ec5fa1d39b779d0d38d33d462d4444e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchShoulders.move (cognitive 19): NotchShoulders.move has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchShoulders.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb98e958ee907f5337ddf1614322682f1170f15ec3a4e9a2ccf9113b7f79e86"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.applicationDidFinishLaunching (cognitive 18): AppDelegate.applicationDidFinishLaunching has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowShade.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4138cd7ccc15c7d919eac11b13c721fcb54cf5caa9718f0fc6fe859b16d1346"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceBatteryController.handle (cognitive 18): DeviceBatteryController.handle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (6 pts), ternaries 2 (6 pts), boolean chains 3, match/switch 1 (2 pts), 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":"prototype/App/DeviceBatteryController.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bde99e54ce3786d92e1e1d247c94351842e3792a5b6669af16f590260c76c73"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceObservationWorker.start (cognitive 18): FaceObservationWorker.start has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c056f781ad2206c82b39923ae0b18aa9fb68d5fecee3bc8eb26d7b354a4a011"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceScanExperiment.challengeFrame (cognitive 18): FaceScanExperiment.challengeFrame has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, match/switch 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":"prototype/App/FaceScanExperiment.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe06f5bc5e818457b6990a44f64bf082565047d7b7ef6747368575d826f35fb"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusTimerCard.render (cognitive 18): FocusTimerCard.render has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 3, if/else 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FocusTimerCard.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"376ca2b5d061662157ac1ee2d8347ad07567acc3cbc360734f7aa32119475d87"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceController.open (cognitive 18): GlanceController.open has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"prototype/App/Glance.swift"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"231e817e9d075c3cff1357315e2ee2f510d5cba9b47c33ffa98a31964575d474"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseDisplayHotplug (cognitive 18): GlanceProbe.exerciseDisplayHotplug has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (6 pts), loops 2, if/else 1 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"348cb620b1c70f111d4e7ce52bf9460a5360ab65ac95341256e5556bb3afa94c"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.placeCells (cognitive 18): LaunchpadView.placeCells has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 2 (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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"5417cc517dee0df4fe7d6be72f99952a8372686ba665cf20a989ab7457beeef4"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchFaceRecognitionView.rebuildRow (cognitive 18): NotchFaceRecognitionView.rebuildRow has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5 (6 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchFaceRecognition.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18d0ed6e4a185063290853d8f4e57a4af50e7a5fbf39ad0985618746e38a6cb"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchLeaseHub.route (cognitive 18): NotchLeaseHub.route has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6 (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":"prototype/App/NotchLeases.swift"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"836bbadefda6d25563ad5cfe4f6e191ebb5346b02b76eb8f5cdcf3f15791f600"}},{"ruleId":"D2","level":"warning","message":{"text":"PresencePrivateTuck.tuck (cognitive 18): PresencePrivateTuck.tuck has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PresenceLockDriver.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b493fa64a56c44e3a286316733bded741e9ddbe9cee767959d3e980c185423"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.pin (cognitive 18): SlideOverController.pin has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 6. 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":"prototype/App/SlideOver.swift"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"470f6a1bc0fad28e3b55af4a96607a94b445a44d312de87c8d1bbbc78b1ab4a3"}},{"ruleId":"D2","level":"warning","message":{"text":"SplitViewController.settle (cognitive 18): SplitViewController.settle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8, 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":"prototype/App/SplitView.swift"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"023222edb17fe3a4660675b19a472889aa0af2357978454dfa10458332ab467f"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.handle (cognitive 18): TrackpadGestureController.handle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, match/switch 1 (nesting depth added 5). 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd57a098c370e7f7082c497606eda6809694165af96988f66e319eca27c1297"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.shake (cognitive 18): TrackpadGestureController.shake has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, loops 3 (5 pts), ternaries 2 (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":"prototype/App/MagicTilingRun.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"38422f94d0e8841d090675b329dfd95b87ccbb04815535d1e325cb66fbda2bd5"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateStateSample.read (cognitive 18): UpdateStateSample.read has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts), boolean chains 1, error handling 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":"prototype/App/UpdaterLaunch.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3160b7a10513429306afad0f588487c0f019de98620fd693353175db7864143"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2HookSessions.apply (cognitive 18): WS2HookSessions.apply has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, ternaries 3 (4 pts), match/switch 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":"prototype/App/WS2HookServer.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5822a4cd6f1fbf4b8ca59815d8f9edb6ab8161e2fff8ad0123b0715ffb40fd4a"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2RemoteHost.finish (cognitive 18): WS2RemoteHost.finish has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (6 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"22be2a88a3a813abd9754da72e7f3e3c5e6813b16d53320a46e0be9555d16d4b"}},{"ruleId":"D2","level":"warning","message":{"text":"WelcomeView.heroFinished (cognitive 18): WelcomeView.heroFinished has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6 (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":"prototype/App/Welcome.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e7ae5de0fcc4a503eeef934e7fb881ae14fa8f4d0c0b1e4d1ec51f615c3ead"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitOccupancy.keyBindingCombos (cognitive 18): HabitOccupancy.keyBindingCombos has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/HabitRules.swift"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"370b4bdbd2053a823002be83e7c5a8b7099334b9fe2e7e0a2454dd221af7ffaa"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionCoordinator.remind (cognitive 18): InteractionCoordinator.remind has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb0b8b01cd4129f6a8ac10d0d5544e438c7632dc2bedc6fed1ad84467ff4a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchGlancePlan.route (cognitive 18): NotchGlancePlan.route has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 7). 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":"prototype/Core/NotchGlancePlan.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7ade1d230e099ef76416710ad8cf24b17aaa7d3f88f3e9d8b42c2ba1275542"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchLevelSuppression.decide (cognitive 18): NotchLevelSuppression.decide has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, match/switch 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchLevelSuppression.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f342cbaaf841d0da350e0389278b166e7535f693010beee758650526cd8315f9"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2DeviceInputGate.button (cognitive 18): WS2DeviceInputGate.button has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2DeviceInputGate.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"29068affd1ffc619ce077cb16cba227a8614ef5db5f913fb8aded5c51d0a1a0e"}},{"ruleId":"D2","level":"warning","message":{"text":"AppleSPUAccelerometer.receive (cognitive 18): AppleSPUAccelerometer.receive has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/AppleSPUAccelerometer.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5647f80f95afc8c97b271ac42dad8d60b693e368fd7a3424466eebddf644800a"}},{"ruleId":"D2","level":"warning","message":{"text":"MainThreadSampler.captureMainStack (cognitive 18): MainThreadSampler.captureMainStack has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 1 (2 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":"prototype/Support/Diagnostics.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe80d3d552eb98ce0dabea64badc71dadaf4f58897209a9d17578c44046f68f1"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCanvasView.setAuthentication (cognitive 18): NotchCanvasView.setAuthentication has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8 (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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fd7548dee29a23a1af681a4061c48d2474e451d62f499d8c45f00f2653c29b"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchCanvasView.placeMinimum (cognitive 18): NotchCanvasView.placeMinimum has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a32694de8871977bfa8b6ed598c1eec49352425de4275199b057c38047a798e"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.announceWhenFree (cognitive 18): NotchController.announceWhenFree has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), ternaries 2, match/switch 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40dcbaa2c236a9bd8e5f14b93f7e77f27fb2df88c103b28d9823a26bd93083e"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.mergeIntoBurst (cognitive 18): NotchController.mergeIntoBurst has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"2066e85307f8d539d1ed7cebdb9427c293114a7a7550c476424ea95b8f401e6c"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchTileView.describe (cognitive 18): NotchTileView.describe has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 6 (7 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":"prototype/App/Notch/NotchRowViews.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"865f48c08a6d203a694493b9b2ac2aaee33662bc6a80811fe42eba88924f947a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.settleFoldWaiters (cognitive 17): AppDelegate.settleFoldWaiters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (5 pts), boolean chains 2, loops 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":"prototype/App/FoldCompletion.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf42637cb3a81d1a0aeeaf69c5b836e4ba8013d247e95e8e592cd86dd8b4fecf"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.bringOutOfStageStripIfNeeded (cognitive 17): AppDelegate.bringOutOfStageStripIfNeeded has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, match/switch 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (check). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FoldTransaction.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"254c2d15793e1ac7303c89ed45100f7f22f2bbce2783fc85d47610367e772019"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.makeProxyOverlay (cognitive 17): AppDelegate.makeProxyOverlay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, ternaries 5 (7 pts), boolean chains 2 (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, 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":"prototype/App/OverlayFactory.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9e85a60a3e355e545f8f09669d829d4dbd5cb7dba5b6bcc39ad5c89a429cbe"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.toggle (cognitive 17): AppDelegate.toggle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 2, ternaries 1 (2 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, 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":"prototype/App/ShadeController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a567fc5b186f8b705f066c9bc70cc8f697a270f99c80e11ef8e18ec8c7f8ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.makeShadePlan (cognitive 17): AppDelegate.makeShadePlan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ShadeController.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb69c7f65108b0d1115d7471ed8286fb588c41e2f6c40b904402783dc7b3859"}},{"ruleId":"D2","level":"warning","message":{"text":"BystanderTuck.tuckPrivateWindows (cognitive 17): BystanderTuck.tuckPrivateWindows has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/BystanderTuck.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d97bb29fd300fbeaceb01b9d6c04874625ec01aa33d576b3870ec8b17eb5fc"}},{"ruleId":"D2","level":"warning","message":{"text":"BystanderTuck.onScreenCandidates (cognitive 17): BystanderTuck.onScreenCandidates has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (7 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/BystanderTuck.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a51193bb42bd7bfa0e46be5754f985a6f21fa80a55ab577535718f550ca75cd"}},{"ruleId":"D2","level":"warning","message":{"text":"DockSwipeController.dockAppBundleID (cognitive 17): DockSwipeController.dockAppBundleID has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, loops 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 3 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":"prototype/App/DockSwipe.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"34186ea14afe096d6f996f3a4c624f290927cd3c4eaa83bc478be583e6734fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceAlignment.geometry (cognitive 17): FaceAlignment.geometry has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 1 (2 pts) (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceEmbedder.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3f90b1be36f61a58fe4cc280f4c3fc6f7fbe3a99013bdb1f701205e7257590"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceEnrollmentProbe.scanCheck (cognitive 17): FaceEnrollmentProbe.scanCheck has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 3). Of this number, 15 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":"prototype/App/FaceEnrollmentProbe.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c023619e45bf726bcbf2656e4994dd5605b6df9015469d01d3a343c12fae88dd"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceObservationHub.receive (cognitive 17): FaceObservationHub.receive has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (5 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18be16273351e4c8e928c52b516fbb1fbc3ec08071e7d9a0ffc3a43b65f09a4"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDropPayload.read (cognitive 17): FileDropPayload.read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 1 (nesting depth added 7). 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":"prototype/App/FileDragSensor.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e0643fccc5834adff841dc9261023144fd39c49542689457a29bd3610f8fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"FileShelfNameLayout.lines (cognitive 17): FileShelfNameLayout.lines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, loops 2, ternaries 2 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FileShelfView.swift"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"7295b402e6ee0792653989e528f209b6e440dcb2052feb10be3b73b69bf587ef"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceController.thumbnailTarget (cognitive 17): GlanceController.thumbnailTarget has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 6, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Glance.swift"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96855d5fccf92a6465496a9d8c1a16a4b22ba84531c6b1bd6f01bdfb0f963d2"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceController.ensureTimer (cognitive 17): GlanceController.ensureTimer has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 3 (4 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":"prototype/App/Glance.swift"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde2f50e2461ae4fe56fa7a62612bb8fc1b2d8023bcbf0925513602604747061"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseDockAutohideFrames (cognitive 17): GlanceProbe.exerciseDockAutohideFrames has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 3, match/switch 1 (2 pts), ternaries 1 (2 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":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b41b618b117cf8b458ee38e92bc83219bc9fb049d97b10b97f382f981407be"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseBrowserIdentity (cognitive 17): GlanceProbe.exerciseBrowserIdentity has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, ternaries 4, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserInstanceProbe.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f199d114a027d4952ae969403867158f49b8a11564db0c8c147e999a18270a"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadController.place (cognitive 17): LaunchpadController.place has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 7). 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":"prototype/App/LaunchpadController.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cd550b2d4a2c1c8db1815a9b11328ca2f074bbfa987df760ad3152614475a2"}},{"ruleId":"D2","level":"warning","message":{"text":"CGEventPasswordTyper.type (cognitive 17): CGEventPasswordTyper.type has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 3, loops 2, match/switch 1 (2 pts), 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":"prototype/App/LockScreenPasswordEntry.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"243e54d87f3a8b66506f4e5fe013ab27c5af368eb0fc82c294719ca2a1c1880a"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchActivityController.publish (cognitive 17): NotchActivityController.publish has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 16, if/else 1. Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (equivalent). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityController.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"5947400784c83d5cb1f7390978fd652d8646114ccabc473af4bdf981b6018818"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchActivitySources.recordingState (cognitive 17): NotchActivitySources.recordingState has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1 (nesting depth added 6). Of this number, 15 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":"prototype/App/NotchActivitySources.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"15daff708abdbfba77ec7257c8797ec1ec5762a127844f4319a0a837926fd09d"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchActivityView.update (cognitive 17): NotchActivityView.update has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4, loops 2, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityView.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca51c568cb231301f0da139d6d817c11c7631cdefe93d41000153228713f37e4"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchAuthenticationController.authorize (cognitive 17): NotchAuthenticationController.authorize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. 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":"prototype/App/NotchAuthentication.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e8ba1b5c704700dc1c1d088884f4d762cd43569682477186b0e0aa6fc498db"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchFaceRecognitionView.updateAccessibility (cognitive 17): NotchFaceRecognitionView.updateAccessibility has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 1 (3 pts), 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":"prototype/App/NotchFaceRecognition.swift"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cd5460ffed4c27a347486aec54952bc63b6139954daa4962f49ea19ef2f90f"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchShelf.scan (cognitive 17): NotchShelf.scan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (5 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":"prototype/App/NotchShelf.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"332d24bcc2bf96b4269a0a257894d980f3771894a0fb7c50b60fe244d6345ae0"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchSpaceGate.readFocusedWindow (cognitive 17): NotchSpaceGate.readFocusedWindow has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchSpaceGate.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6028352c9517dc9ad8dc155cf4ef5bc5775f70dba421e09bb0ae5c34c2fbb546"}},{"ruleId":"D2","level":"warning","message":{"text":"PresencePrivateTuck.onScreenCandidates (cognitive 17): PresencePrivateTuck.onScreenCandidates has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (7 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PresenceLockDriver.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d952f7bf6332f93265cd4fe17f5a1fb68856ce941eb426414a34c918f32662f5"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.targetWindow (cognitive 17): TrackpadGestureController.targetWindow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 1 (nesting depth added 5). Of this number, 12 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e63a4344bcdb20a94ea476a3cc0b8ea494004c3efed188877b15cfbb5893d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.doubleTap (cognitive 17): TrackpadGestureController.doubleTap has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (6 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a826c4abb84c4703dc00d0999668baa94d6ed97879adc0981d4f157b4306763"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.refitPlacedWindows (cognitive 17): TrackpadGestureController.refitPlacedWindows has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 3 (6 pts), loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":2199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd18979610a783aa74b0199aec087674b285ab66092acd22b128d84453284c5"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2AgentSessionWindowFinder.find (cognitive 17): WS2AgentSessionWindowFinder.find has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2AgentSessionWindowFinder.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ff68c63be078c6c021d0cd3288b1d76a88ea4e9804c3d854a93f85ddbb412f"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2OwnedCodexSession.init (cognitive 17): WS2OwnedCodexSession.init has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 7. 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":"prototype/App/WS2OwnedCodexSession.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f345c446f21b940f8cd1e4608ed6d3f4bd0f1a5680d737362b947a7b5fe794f5"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2OwnedLaunchController.begin (cognitive 17): WS2OwnedLaunchController.begin has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"354c25610d8e594e8a0a323d3a1c09c2b83e58f53cc25436e2d48917aa9bf72e"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2RemoteHost.verifyStep (cognitive 17): WS2RemoteHost.verifyStep has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0df2b218c5f42950b63cc5a54709a2e3fccefd535d017f0199db2ab2e96814"}},{"ruleId":"D2","level":"warning","message":{"text":"WelcomeView.show (cognitive 17): WelcomeView.show has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 2, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Welcome.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1385bceb48a9933ed9c7ac1c3de9486f687dd9e6e04f76b13e0766813504269"}},{"ruleId":"D2","level":"warning","message":{"text":"AudioLevelMeter.push (cognitive 17): AudioLevelMeter.push has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 3 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AudioLevelBands.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e0317c55e2714880698f93b967eed34f9ff19d8a76a8cdc5de24442d6ffcba"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceVetoCues.observe (cognitive 17): FaceVetoCues.observe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4 (nesting depth added 4). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceLivenessCues.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec506c90d921f7d998f7f8aaaf121303203e01caa79526978add5d337f6e216"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceThresholdCalibration.isValid (cognitive 17): FaceThresholdCalibration.isValid has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 14, if/else 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceThresholdCalibration.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5880052ec6fb785e4b1d703ca42374838b31f20db7827677a3abdb01d0b0b0"}},{"ruleId":"D2","level":"warning","message":{"text":"FocusTimer.advance (cognitive 17): FocusTimer.advance has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, 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":"prototype/Core/FocusTimer.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9472b21ba907be0991201cffc91e9d7441420d87a4334ae4257cd5657d22cc6d"}},{"ruleId":"D2","level":"warning","message":{"text":"FoldVerifier.check (cognitive 17): FoldVerifier.check has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 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":"prototype/Core/FoldVerifier.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"94af8d25ace01a300bd8f784a23a9ac8bd75898e02e0fe496e6f68647ac7e212"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadLayout.reconciled (cognitive 17): LaunchpadLayout.reconciled has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 5, loops 2, match/switch 1 (2 pts), ternaries 1 (nesting depth added 5). Of this number, 12 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":"prototype/Core/LaunchpadModel.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"088486661f678fc0f67240d8dee973dfe020ff0c13852ae1508c171a09d3ead4"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSessionWindowMatch.strength (cognitive 17): AgentSessionWindowMatch.strength has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec47438517a0f58ca2397545b04224356c8e4a58a2f27f871b4c86534ea06815"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteEventRouter.route (cognitive 17): RemoteEventRouter.route has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, match/switch 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":"prototype/Core/RemoteEventRouter.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca97658022af2efefa7c20ff35ea6ef5ae4a009269e89d101dceaaa28839dde9"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateGuardPolicy.watch (cognitive 17): UpdateGuardPolicy.watch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (7 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/UpdateDecisions.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6e46a1ba7a477424a75bd0edfac485883715adfa52418ed08656ac2e919085"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentIntent.admit (cognitive 17): WS2SilentIntent.admit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. 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":"prototype/Core/WS2SilentIntent.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"231c1e1cb7fcd753fabc4480143b27393a35c464ee7ffa3ffdbdb6ca1046853f"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentSession.confirm (cognitive 17): WS2SilentSession.confirm has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 6, ternaries 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":"prototype/Core/WS2SilentSession.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"443fddedc2c745bbf15644780ba341dc5e0e2015b92385cc5526180850cf8378"}},{"ruleId":"D2","level":"warning","message":{"text":"BridgedSpaceMove.findSymbol (cognitive 17): BridgedSpaceMove.findSymbol has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 2 (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":"prototype/Private/BridgedSpaceMove.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0526bfd4a05eb04f42ce716047557dd33be900aa222c9525414f5a9df2b01436"}},{"ruleId":"D2","level":"warning","message":{"text":"LockSpaceBridge.attach (cognitive 17): LockSpaceBridge.attach has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6 (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":"prototype/Private/LockSpaceBridge.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6950c73d92764bd79e263538ab109dcb5ae1b5357ca5d61029ef42998522aaf3"}},{"ruleId":"D2","level":"warning","message":{"text":"JournalNumeric.exactUInt32 (cognitive 17): JournalNumeric.exactUInt32 has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8 (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":"prototype/Recovery/JournalNumeric.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d1a5c50d92511e786d380db5fc342dfe166ddad7cff9faa2f66d99fd2df257"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2AtomicConfiguration.readRegular (cognitive 17): WS2AtomicConfiguration.readRegular has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, loops 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":"prototype/Support/WS2AtomicConfiguration.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3f85ef18be61a6d1b7f1c992dd70533b5b4355ea8b4b82c2c12b79a17892b7"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2AtomicConfiguration.commit (cognitive 17): WS2AtomicConfiguration.commit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2AtomicConfiguration.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb9956c0b4465f9723ab80b4bf7b772c46f4ae1c1b767da8d60894ca7f3323b"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2DuplexProcess.init (cognitive 17): WS2DuplexProcess.init has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 15, if/else 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":"prototype/Support/WS2DuplexProcess.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7c5614e8c97d21435a64e21440cfd5c844f342964fbbfed06a9443f560078d"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserController.configurePanel (cognitive 17): WindowBrowserController.configurePanel has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 5, ternaries 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7d793815c960c38de9a895805a65cf9885191d76b63a0eb298b70fbf9b45f0"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserTrafficLights.setRevealed (cognitive 17): WindowBrowserTrafficLights.setRevealed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 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":"prototype/WindowBrowser/WindowBrowserTrafficLights.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1be055a2b41ddd1b2dd0220c10acf05355ef233ab3b96e6f530cc2b2abae6cb"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.finishTuck (cognitive 17): NotchController.finishTuck has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 2 (3 pts), match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3f2bfebdabcd9c1bf0cc2675c25914c506aa4f6cb39c6ac213eb6e97177900"}},{"ruleId":"D2","level":"warning","message":{"text":"history.arrange (cognitive 17): history.arrange has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, ternaries 1 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 4 belong to 4 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":"site/history.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c3c298233425189e7f772f7b779eaa40363c282267219bde5b33e6f6c1cf8f"}},{"ruleId":"D2","level":"warning","message":{"text":"PinnedPreviewController.startPreview (cognitive 16): PinnedPreviewController.startPreview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, error handling 2 (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":"prototype/PinnedPreview.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"997ad12cb18f54c42ebee5034f9ce97bb792c002335130b0510fac01638e7cb7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.handleTitleBarDoubleClick (cognitive 16): AppDelegate.handleTitleBarDoubleClick has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 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":"prototype/App/EventTap.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"966445bbb37becd1dc67c77bf943f7994cb494ceedabba97bb16a71a9f326e75"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.rebuildMenu (cognitive 16): AppDelegate.rebuildMenu has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (4 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":"prototype/App/MenuBarController.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"54109ee4773345237baf0f44ead262cb76889f8a3847949b6a1dee9091b2c18b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.makePresenceDeviceRow (cognitive 16): AppDelegate.makePresenceDeviceRow has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 6, boolean chains 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"prototype/App/Preferences.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7be6d5316e9eb37165a68f7f74a17709fe761658645241e25eaf2755d18f5c7"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.showWelcome (cognitive 16): AppDelegate.showWelcome has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Preferences.swift"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"789dee2042df1fd14bfaa90a2cec5eaafde545913d2239d51a87df427f49715c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConductorAudioEngineOutput.ensureRunning (cognitive 16): ConductorAudioEngineOutput.ensureRunning has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (5 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ConductorSoundPlayer.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a975108c26548425fa797ab04b9ff11bd2db0ed8bffc2f92d087b08be57a7395"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.menuBarOwner (cognitive 16): GlanceProbe.menuBarOwner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, loops 2, ternaries 2 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"019dfc38a9f567363bf8604363cd9d6194daaf5def3704b3f7a78be4be3901a1"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.bringFixtureToCurrentStage (cognitive 16): GlanceProbe.bringFixtureToCurrentStage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (5 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfb4b8f407be332ee8e613c35501d2fa7df439cf97053ef3a0b7500e4ce7f49"}},{"ruleId":"D2","level":"warning","message":{"text":"GlanceProbe.exerciseDockGestures (cognitive 16): GlanceProbe.exerciseDockGestures has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 3. 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":"prototype/App/DockSwipeProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3e7a40021a5c6e874e6b23f40f00d58760a84520e8793c7ef8fdca992572aa"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitWorker.desktop (cognitive 16): HabitWorker.desktop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/HabitContext.swift"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c653dbb972217cbf48edbec63eb62470f036fe57ab20dc4a0f506d3f386df93"}},{"ruleId":"D2","level":"warning","message":{"text":"AppCatalog.scan (cognitive 16): AppCatalog.scan has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 2 (nesting depth added 2). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function items inside it that branch (walk, add). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Launchpad.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b09148dccf87bf5bc6d249285cf6ed45876a167e713d4204eb2d7d4ae55abc8"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadCell.showTarget (cognitive 16): LaunchpadCell.showTarget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 3). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (pop). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Launchpad.swift"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d660ffd3eca7e70abcf3225e5eeee582c749c878f8e6ac1732068d8b7d17ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadFolderOverlay.dismiss (cognitive 16): LaunchpadFolderOverlay.dismiss has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d31b4661e9d7ec60891e1e4f7cf4c2f3c8a32c9b91ffcde9117f2a05de446e"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchpadView.mouseDown (cognitive 16): LaunchpadView.mouseDown has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2, boolean chains 1 (nesting depth added 6). 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54ecd1154f62e8eb9bca421063868d4c32ac6b370eb267faa7b188785ef08e1"}},{"ruleId":"D2","level":"warning","message":{"text":"MiddleTitlebarTap.region (cognitive 16): MiddleTitlebarTap.region has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, loops 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":"prototype/App/MiddleTitlebarTap.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f2f04266b31d7525ed9f9c7e268221e9a58dcbd995c7ff536830bec244a218"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchActivityView.layoutContents (cognitive 16): NotchActivityView.layoutContents has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), loops 4 (5 pts), if/else 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3f7a34b2d085ca24aa13e89a64b08f6f44116e7c8383dbad96ef317c09151a"}},{"ruleId":"D2","level":"warning","message":{"text":"NowPlayingCard.crossfade (cognitive 16): NowPlayingCard.crossfade has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (8 pts), ternaries 3 (5 pts), if/else 3 (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":"prototype/App/NowPlayingCard.swift"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4427b06494e57f5cc77fd0081053dab1e179829d2417d975c06a266a2839e3"}},{"ruleId":"D2","level":"warning","message":{"text":"NowPlayingCard.runEntranceIfNeeded (cognitive 16): NowPlayingCard.runEntranceIfNeeded has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (5 pts), ternaries 2 (5 pts), boolean chains 3, loops 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":"prototype/App/NowPlayingCard.swift"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a5d80ddc00a11addd8fff5a8494b694f40b574b8302e262c8fec0158e47283"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollStripController.syncFocusObservers (cognitive 16): ScrollStripController.syncFocusObservers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 2, ternaries 1 (2 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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45345caf5c17f08ad88441269ad80764685b0df7434070902c25acfe3ee3fd3"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.flipToFreeEdge (cognitive 16): SlideOverController.flipToFreeEdge has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (5 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SlideOver.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aff18908d7f6ca91274b0c11b88c0473129e8b20cf81b16416ca0b85131c72"}},{"ruleId":"D2","level":"warning","message":{"text":"SlideOverController.dragEnded (cognitive 16): SlideOverController.dragEnded has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, boolean chains 5, ternaries 2 (4 pts), match/switch 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, 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":"prototype/App/SlideOver.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"da43b3c5f1690cd80b623e57750c9a06186bf49f30553e46cb857cab5e6faf56"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.stripScroll (cognitive 16): TrackpadGestureController.stripScroll has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, match/switch 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"730f147400d7ab8af073b523a091eb45eada5102e25eb2ca24f62dd7f66005b3"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackpadGestureController.moveToNextDisplay (cognitive 16): TrackpadGestureController.moveToNextDisplay has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/MagicTilingRun.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7215892dc84878d79366360586365cb14e04d8596b4e87646a3a087e381b93"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2HookApprovalHost.allow (cognitive 16): WS2HookApprovalHost.allow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 5, ternaries 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":"prototype/App/WS2HookApprovalHost.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ea9b6eb5c4edc49a0c955d2a688af5eed8227674b86ed6e34409f7c772adff"}},{"ruleId":"D2","level":"warning","message":{"text":"PrivacyRowView.init (cognitive 16): PrivacyRowView.init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 1 (2 pts), ternaries 2, 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":"prototype/App/WS2PrivacyPane.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fa27138ac274eaa5ed4adc79efaa3ae682eeb6c29f750c6bc37e93aaa21d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2PrivacyValues.value (cognitive 16): WS2PrivacyValues.value has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (4 pts), match/switch 2 (3 pts) (nesting depth added 7). 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":"prototype/App/WS2PrivacyPane.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bd5b91a30385dda0d6863193047b91e10eccfe28b067ded1a135c3c50f7e34"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2RemoteEffects.execute (cognitive 16): WS2RemoteEffects.execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 7). 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":"prototype/App/WS2RemoteEffects.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b781e21e779d717833f0314197fe853231e06b981d12c56c822ced036113b4"}},{"ruleId":"D2","level":"warning","message":{"text":"WelcomeView.updateGrants (cognitive 16): WelcomeView.updateGrants has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5, loops 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Welcome.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe03b7230b077c93d6d7ae857ebcdccb08ab1170d5a895c8df299b0a6b87760"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowProxyArranger.writeOnce (cognitive 16): WindowProxyArranger.writeOnce has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, 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":"prototype/App/WindowProxyArranger.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"17571a11c4eebc554652aba392db9793565d3471dfbfa44a2920c2640e93d735"}},{"ruleId":"D2","level":"warning","message":{"text":"BluetoothBatteryParse.parse (cognitive 16): BluetoothBatteryParse.parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (6 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":"prototype/Core/BluetoothBatteryParse.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f050fd38d6ce83370b8a8d3702d220c62646980176d0df87fc14e99602064f"}},{"ruleId":"D2","level":"warning","message":{"text":"ConductorRecognizer.toneCandidate (cognitive 16): ConductorRecognizer.toneCandidate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 1, match/switch 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, 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":"prototype/Core/ConductorGesture.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bee967b6c364afe81072cd6f962a3a8265b2a71d004fb4be691a1e458f21a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"FaceGestureTracker.stable (cognitive 16): FaceGestureTracker.stable has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (6 pts), match/switch 1 (nesting depth added 3). 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":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"884dad9a4496c3d8ac82444314099e7136d637cf253d4e866b1f140c087cd0d8"}},{"ruleId":"D2","level":"warning","message":{"text":"FlickRelease.measure (cognitive 16): FlickRelease.measure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, loops 2 (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":"prototype/Core/FlickMotion.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6018aadba21c15cd9dd8440f77254f8f2bd9d623c36859bd150e36d9f5d86c85"}},{"ruleId":"D2","level":"warning","message":{"text":"HabitWords.spoken (cognitive 16): HabitWords.spoken has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, 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":"prototype/Core/HabitRules.swift"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd14baf7e12c8c39df301d486356e0af5171eca3b4c573585129ffb005cc28f0"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionCoordinator.promoteReminders (cognitive 16): InteractionCoordinator.promoteReminders has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 3, loops 2 (3 pts), ternaries 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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7be11c4931a21b211e6b5d5476ac44310407e008f678910206029a12b4dad45"}},{"ruleId":"D2","level":"warning","message":{"text":"MissionControlPick.target (cognitive 16): MissionControlPick.target has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/MissionControlPick.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a9dce5f29c3d54e1293b71c0cdc4daaed76e310a1beac4531dd67decef4b74"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchSessionEar.face (cognitive 16): NotchSessionEar.face has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (4 pts), boolean chains 3, match/switch 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":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f245f7fa891717f65b6204bce65a7d49569a94fd19215b4e2612e5c051e7241d"}},{"ruleId":"D2","level":"warning","message":{"text":"PairingTLV.decode (cognitive 16): PairingTLV.decode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/PairingTLV.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1755a7589b861c0770ff6f639928667ff90a6a3fd99093ea467dd1d39999cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollSession.scroll (cognitive 16): ScrollSession.scroll has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ScrollSession.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"de275c69dece27ece98fd8b61445f70c0db6af6329cf2e06e98181db2f49f6eb"}},{"ruleId":"D2","level":"warning","message":{"text":"SmoothScroll.add (cognitive 16): SmoothScroll.add has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 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, 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":"prototype/Core/SmoothScroll.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba455c819818d4688ba50f9fca355cc83b3da21f427d8e30ff0be2d21a63f790"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayNeighbor.index (cognitive 16): DisplayNeighbor.index has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/TrackpadGesture.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f6912dfbb07c5699bbb06f79eaa99cb0f0e422a333378d66894a896a51cbee"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2FoldCallbackStamp.accepts (cognitive 16): WS2FoldCallbackStamp.accepts has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 15, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2FoldCallbackStamp.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7d9b2232da8fcf948ebedaee18fe812be88ea0f58f74170efeb559eea41da5"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2SilentProductPort.accepted (cognitive 16): WS2SilentProductPort.accepted has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 1 (nesting depth added 7). 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":"prototype/Core/WS2SilentProductPort.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a284ffd6420fcb1799ed1d1ec6d906d138257690adfabd2aa4a51ea79efdfc"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoController.settingsChanged (cognitive 16): DuoController.settingsChanged has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 6. 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":"prototype/Effects/DuoController.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4b4a787d3e5c4306c7dc294f544bdf574ed4c3ba8a0c7c360977fcfeac4e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoSettingsWindow.select (cognitive 16): DuoSettingsWindow.select has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 6. 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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f46f85722ab62953e14aa8ad54aba6d20449e2938a21beb603947b82d369b59"}},{"ruleId":"D2","level":"warning","message":{"text":"LidAngleSource.connect (cognitive 16): LidAngleSource.connect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 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":"prototype/Effects/LidAngleSource.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f169e94bf584938bb6ed3eab30357a8407d2be155148c6724f73c144ccb56ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2CarPlayVideoDecoder.avccBlockBuffer (cognitive 16): WS2CarPlayVideoDecoder.avccBlockBuffer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2CarPlayVideoDecoder.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aba5f95869d3b4d8a9ec41c6efb1d5c8fb44ab03d529b81d52a6e1abcf68359"}},{"ruleId":"D2","level":"warning","message":{"text":"WS2HookConfiguration.contains (cognitive 16): WS2HookConfiguration.contains has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2HookConfiguration.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d1fc6ed3a0b7a0264f7950a7881e6f028fdd667e7837f6c78b27c38598a3c9"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserController.beginCardDrag (cognitive 16): WindowBrowserController.beginCardDrag has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ab5bbf3194d45ee3d853376687ec59a963bb35e9d42437d34c4127c59f9fa5"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowBrowserShotProbe.records (cognitive 16): WindowBrowserShotProbe.records has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserShotProbe.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"4779b22235e1c5752bb74326016768fe487ff30af522df7854c76af2b57ad5e2"}},{"ruleId":"D2","level":"warning","message":{"text":"NotchController.dragMoved (cognitive 16): NotchController.dragMoved has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b585b5c3a94e39d1d58e2977e970d8bd964faeff14cdd0fe6990f4bf6822298"}},{"ruleId":"D2","level":"warning","message":{"text":"PreviewRenderer.swift.estimatedCornerRadiusPixels (cognitive 16): PreviewRenderer.swift.estimatedCornerRadiusPixels has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (firstOpaqueDistance). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Capture/PreviewRenderer.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c739da778d7957df14afb0d5935ba4d7ac17ec25e7ddbb4815c5a23329885d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppDelegate: TooManyMethods \u2014 559 methods, declared across 32 files: App/Preferences.swift (164), App/FoldTransaction.swift (51), prototype/WindowShade.swift (45), App/EventTap.swift (30), \u002B28 more file(s). The bar is 30 methods; this is 529 over it, 18.63\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"prototype/WindowShade.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7323fdcef79d4200f3623a71394ff43023ded6deaceca63580be737fed50186"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WS2PrivacyData.rows: MethodTooLong \u2014 rows runs 1012 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 912 over it, 10.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2PrivacyData.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea896204a45e4ca20f4601bed9ecc5b66931b5b989eaa1e4d1bbf659fe3d35ac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WindowBrowserController: ClassTooLong \u2014 2018 significant lines (blank, comment-only and punctuation-only lines excluded), 145 methods. The bar is 400 significant lines; this is 1618 over it, 5.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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa68b181f27ddc0394177f9141cc7b2c8269c4d367c46cbc9ae199b667760d1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotchController: TooManyMethods \u2014 150 methods, declared across 2 files: Notch/NotchController.swift (147), App/Notch\u002BHabit.swift (3). The bar is 30 methods; this is 120 over it, 5.00\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1ade6acc7f1ba584f5539384a8755a39c4fa3bd95d6576ad533817192deb03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WindowBrowser/WindowBrowserController.swift: FileTooLong \u2014 2492 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: WindowBrowserController (17-2778). The bar is 500 significant lines; this is 1992 over it, 4.98\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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2c9242b71bfd5f82b2751c3cbe9a1d6649b66ad0a325605cbf90d593843d21"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LaunchpadView: TooManyMethods \u2014 149 methods, declared across 4 files: App/LaunchpadView.swift (101), App/LaunchpadFolders.swift (21), App/LaunchpadOpenWith.swift (19), App/LaunchpadLibrary.swift (8). The bar is 30 methods; this is 119 over it, 4.97\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6305041249696c1842c81c3ba00073f46a5596016d941e7aeb4fb9a98c4547f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WindowBrowserController: TooManyMethods \u2014 145 methods. The bar is 30 methods; this is 115 over it, 4.83\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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b070a0b800f956f614bc9fddd3f6356c30267044c22235aafc2e5b05be1ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotchController: ClassTooLong \u2014 1817 significant lines (blank, comment-only and punctuation-only lines excluded), 150 methods. The bar is 400 significant lines; this is 1417 over it, 4.54\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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d186090107d6031fa6098909b67193f5421fdf05b59e9858ade6f51b02867e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GlanceProbe: TooManyMethods \u2014 136 methods, declared across 31 files: App/GestureProbe.swift (41), App/GlanceProbe.swift (27), App/HabitProbe.swift (7), App/SoakLedger.swift (6), \u002B27 more file(s). The bar is 30 methods; this is 106 over it, 4.53\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d38e32dd71e3f7041497e6c714743a4dddeb55dabc9125d329cdac37df5ce6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exercise: MethodTooLong \u2014 exercise runs 444 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 344 over it, 4.44\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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8f2682111567faf1c74f33a1a20fb262f536488cddc0c3cb587e334c4025da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDelegate.shade: MethodTooLong \u2014 shade runs 438 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 338 over it, 4.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ShadeController.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"504f060be92381381d29f9005e6e1647d10f56da5a4526ec5213e064238b146c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrackpadGestureController: ClassTooLong \u2014 1651 significant lines (blank, comment-only and punctuation-only lines excluded), 108 methods. The bar is 400 significant lines; this is 1251 over it, 4.13\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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e634c247625dbea293f7bb4b78a7b377e76b709c9ee9ec4413b55d316632fb95"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotchPanel: ClassTooLong \u2014 1621 significant lines (blank, comment-only and punctuation-only lines excluded), 106 methods. The bar is 400 significant lines; this is 1221 over it, 4.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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"968a10897324b29c1941a8dfb642b20507bcc391bfab048b3493ec0b85b4b5ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/GestureProbe.swift: FileTooLong \u2014 1949 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1449 over it, 3.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42e71d9faffd461dbba502c2fb1a4ce8654018f2c8e9cc0e82a9279b3082fda"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LaunchpadView: ClassTooLong \u2014 1531 significant lines (blank, comment-only and punctuation-only lines excluded), 149 methods. The bar is 400 significant lines; this is 1131 over it, 3.83\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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cede40f3289b2d5f0d18c3b966344fe7a249a5027906e33d84127138b9057d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Notch/NotchController.swift: FileTooLong \u2014 1866 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: NotchController (8-2707). The bar is 500 significant lines; this is 1366 over it, 3.73\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a944a4cdc102f054d0325540060651904be2f8652553b0e260451f22ccbce63"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrackpadGestureController: TooManyMethods \u2014 108 methods, declared across 3 files: App/TrackpadGestures.swift (97), App/MagicTilingRun.swift (8), App/DropSplitRun.swift (3). The bar is 30 methods; this is 78 over it, 3.60\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a3e60721ce678dfd2d521fab91ee10eb9c0e1abbafd73698a93e1731f2545a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.swift.top-level code: FunctionTooLong \u2014 top-level code runs 355 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 255 over it, 3.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/main.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0f20ab98de6b1306136aeaadcd633963b1fde233f993f136e1f2058ce16131"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotchPanel: TooManyMethods \u2014 106 methods. The bar is 30 methods; this is 76 over it, 3.53\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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e63553c0d1274644a77e04cc88837142054aba033376ed5f7eec2fc3fdf5ce8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/TrackpadGestures.swift: FileTooLong \u2014 1653 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: TrackpadGestureController (11-2363). The bar is 500 significant lines; this is 1153 over it, 3.31\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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a19a6ea40cf3cecb2618dc5a64607cdd30efc55c6d6f00189e32e0e15b8978e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Notch/NotchPanel.swift: FileTooLong \u2014 1624 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: NotchPanel (10-2439). The bar is 500 significant lines; this is 1124 over it, 3.25\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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed6c2a209eaa54c7eafc2b38786967fed30d783279b0e8f9547cc6e79391fbb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/Preferences.swift: FileTooLong \u2014 1605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1105 over it, 3.21\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":"prototype/App/Preferences.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a894ec35c6a1eef4c97c4f83542f28c896607107890c710f73c342da7d05dcc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseGestures: MethodTooLong \u2014 exerciseGestures runs 316 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 216 over it, 3.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5904edba8f6673063a9bf7fd9bbfcaa3b1b37800174ef17d045959366c8255fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/LaunchpadView.swift: FileTooLong \u2014 1564 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: LaunchpadView (7-2012). The bar is 500 significant lines; this is 1064 over it, 3.13\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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99169e0b3023cd881f6197a908bbe3ff32eb89fbd463db97124a9cac570084ca"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GlanceProbe: ClassTooLong \u2014 1197 significant lines (blank, comment-only and punctuation-only lines excluded), 136 methods. The bar is 400 significant lines; this is 797 over it, 2.99\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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2089f0a324e396ad1db7f8da6e24941cd457df9c6c8b6f5624ee557fc5df28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScrollStripController: TooManyMethods \u2014 88 methods. The bar is 30 methods; this is 58 over it, 2.93\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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"563dacdd140e788ae38fe44a96d6d43cb386bcc2697f55218e1b42cb35681bd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseLaunchpadKeys: MethodTooLong \u2014 exerciseLaunchpadKeys runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\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":"prototype/App/LaunchpadKeysProbe.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a502f3f718e70d274bc12042b1b92c6af05e77f68de45b66ca4bf487cacfb7b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PinnedPreviewController: TooManyMethods \u2014 85 methods. The bar is 30 methods; this is 55 over it, 2.83\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":"prototype/PinnedPreview.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"641921192236badb12a20516d8192cc56e2408a3492f128d972b0cda46ef1c5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseNotch: MethodTooLong \u2014 exerciseNotch runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd696706ed4734bd57c2c0ab2612e4fe7b0b6e2369c33e98a571c6a942cda3ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScrollStripController: ClassTooLong \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded), 88 methods. The bar is 400 significant lines; this is 689 over it, 2.72\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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3d1a61e5f0a127d82a1ba1d512a715156aca140a754ae4345c054d121b3d71"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PinnedPreviewController: ClassTooLong \u2014 1069 significant lines (blank, comment-only and punctuation-only lines excluded), 85 methods. The bar is 400 significant lines; this is 669 over it, 2.67\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":"prototype/PinnedPreview.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7d50461360e4c14c7a7edf816110bc7bc431459a66a49500851e8d40873c53"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DuoSettingsWindow: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.57\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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaf1cb916ae43a56c8f847afe0119ec6d1db8f8e6660cd5b9e563454d5f58f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WS2PrivacyData: ClassTooLong \u2014 1019 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 619 over it, 2.55\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":"prototype/App/WS2PrivacyData.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1d77d64593073d16456df5cd65e01fe40312ba6aa822538eee958fc564999f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DuoSettingsWindow: ClassTooLong \u2014 982 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods. The bar is 400 significant lines; this is 582 over it, 2.46\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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"618dbbf2fa4dc46bc274e1360cbf5e4109a816250aa24d821aa879c613dc3d7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/HabitContext.swift: FileTooLong \u2014 1222 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 722 over it, 2.44\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":"prototype/App/HabitContext.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0584e2e6b8166f0bec6a4992fb2cca46cf4006db94d41ad94c303f8d749b23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/GlanceProbe.swift: FileTooLong \u2014 1205 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: GlanceProbe (17-1570). The bar is 500 significant lines; this is 705 over it, 2.41\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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da984ba5b987280fa844d81ed61f251632da9a8a1f927d06231db5d7db7a254f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/Welcome.swift: FileTooLong \u2014 1204 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: WelcomeView (42-982). The bar is 500 significant lines; this is 704 over it, 2.41\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":"prototype/App/Welcome.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9048bf1206e32fb5769300c785a4086a04c6a4ec6c6518b544d9e6423c7fe11"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WindowBrowserContentView: ClassTooLong \u2014 961 significant lines (blank, comment-only and punctuation-only lines excluded), 70 methods. The bar is 400 significant lines; this is 561 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserContentView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"048297731c827e697dbca8c5acfb3ad074246498b8eef5dddf6d49791f726a77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/ScrollStripRun.swift: FileTooLong \u2014 1168 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ScrollStripController (46-1630). The bar is 500 significant lines; this is 668 over it, 2.34\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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1648da5b04615a3fdbc0d2190a8357fed6ba4863185f14286153231961934aff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WindowBrowserContentView: TooManyMethods \u2014 70 methods. The bar is 30 methods; this is 40 over it, 2.33\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":"prototype/WindowBrowser/WindowBrowserContentView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9f54260e5c5292382bcf8b07706e56db9a145e33bcdb6feda5f7a9bfa0c204"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotchCanvasView: ClassTooLong \u2014 916 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 400 significant lines; this is 516 over it, 2.29\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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff246def187f5633f412b2bd7d94491b3c40d65a51fe2807c65ebba5cef3194"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/SlideOver.swift: FileTooLong \u2014 1145 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: SlideOverController (18-1154). The bar is 500 significant lines; this is 645 over it, 2.29\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":"prototype/App/SlideOver.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeae3d15ca4e327727dc2986bda8ec70959ec71616935735f5bc59f9f4019a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: prototype/PinnedPreview.swift: FileTooLong \u2014 1121 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: PinnedPreviewController (66-1658). The bar is 500 significant lines; this is 621 over it, 2.24\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":"prototype/PinnedPreview.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e935d383999b2742e0a9845df4fd519e6d545e60b71711a500634c312ad9372"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WS2ConductorPageView.init: MethodTooLong \u2014 init runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"300345d7e459c3dbd570f4a2fa05be042958e9caef08861157e700fc97708598"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/WS2PrivacyData.swift: FileTooLong \u2014 1040 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: WS2PrivacyData (38-1131). The bar is 500 significant lines; this is 540 over it, 2.08\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":"prototype/App/WS2PrivacyData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4887bf268ba452b0ab2969aa0132042683556aa19270ccdf74937548918b4b4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Effects/DuoSettingsWindow.swift: FileTooLong \u2014 1029 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DuoSettingsWindow (49-1366). The bar is 500 significant lines; this is 529 over it, 2.06\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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"938b9db25095951cf5aaa2eaa09d554e6b01f76a479df8fba836ac31eec780ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SlideOverController: ClassTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 414 over it, 2.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":"prototype/App/SlideOver.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef7ccdf513bd3ada08f045939a9a818abd4bd647979342bb92e9975fb749edd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotchCanvasView: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bae0d9f89d4e8c7edce50c687759a0beb687265d59a58ac4f26145f292604fb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WS2ConductorPageView: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"883eaa41ef61205895929411daa724c4965d76d5b51e90bd1f19382aacb4871a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseSlideOver: MethodTooLong \u2014 exerciseSlideOver runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\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":"prototype/App/GestureProbe.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"674ab024cf18fd7bcc5cb836f2c22cd4c26b864537d75bed5b0c2fb0d91ebdc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WindowBrowser/WindowBrowserContentView.swift: FileTooLong \u2014 974 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: WindowBrowserContentView (7-1344). The bar is 500 significant lines; this is 474 over it, 1.95\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":"prototype/WindowBrowser/WindowBrowserContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa41c56633d8d2f9f0f5eaf6fa2cf3e5ed84088896c3ec142173be71f29da02a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/FileShelfView.swift: FileTooLong \u2014 958 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 458 over it, 1.92\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":"prototype/App/FileShelfView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a204525c07e4fb8fdcc143e5b092065657dbb3e3d210ee8061d67b38e57422ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/NowPlayingCard.swift: FileTooLong \u2014 955 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: NowPlayingCard (177-1019). The bar is 500 significant lines; this is 455 over it, 1.91\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":"prototype/App/NowPlayingCard.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6edc9495abcd95733236a7dc02d0b1e3a91a4a76adb8cf75c501773466fc853"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NowPlayingCard: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"prototype/App/NowPlayingCard.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d738b59ed74fbd2664f92a79e0d79f11dbbebbe55886a7177772c834bd5ec43d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UpdaterController: TooManyMethods \u2014 57 methods, declared across 2 files: App/Updater.swift (51), App/UpdaterSettings.swift (6). The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"prototype/App/Updater.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fce362a5856279feba901a0f36485b2660381c5090c6553a969df39436cf902"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WindowBrowser/DockHoverProbe.swift: FileTooLong \u2014 950 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 450 over it, 1.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e97e5ba8509b40ce9dd0e6e774e7846719fcd96005fc5588c8c60a49a12a0e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseThumbnail: MethodTooLong \u2014 exerciseThumbnail runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\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":"prototype/App/ThumbnailProbe.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b8d0041f0b40931e93e48e73f2c8ca1a87fc6004d9acab66cf641b1abbfbcc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseDockScenarios: MethodTooLong \u2014 exerciseDockScenarios runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\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":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e932573728ed3aa481c5a56676cb9f40db9d14de1e390628923165fb691969"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/FoldTransaction.swift: FileTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 441 over it, 1.88\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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41985fbda19a0875b7e4c7713c17a808ebc5340407faa9c7084a5a47d21bd154"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/WS2RemoteHost.swift: FileTooLong \u2014 936 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 436 over it, 1.87\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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2688d9cc2d77eed003bab88e512145ee4b70a9db874bc994090036de6eacd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Notch/NotchCanvas.swift: FileTooLong \u2014 931 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: NotchCanvasView (25-1271). The bar is 500 significant lines; this is 431 over it, 1.86\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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fac0f1212c5e20ed7e4dd68bc454da3036abc27d744aa747ccbdff3a516839"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WS2SilentApply.perform: MethodTooLong \u2014 perform runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\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":"prototype/App/WS2SilentApply.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8e622e14551754081e7c25d5523001eb8857abda5b47e79889339cc0f40b23"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WelcomeView: ClassTooLong \u2014 724 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 324 over it, 1.81\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":"prototype/App/Welcome.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"51922294ccd403b33b999bf3af055e5df136863d8897d3ac8e8c4753235c62cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FoldRenderer.draw: MethodTooLong \u2014 draw runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"prototype/Effects/FoldRenderer.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecf384046c2b18d61df95a90a5d98fd1e1f6cc14980206d4a6077ccda952b61"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HabitWorker: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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":"prototype/App/HabitContext.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dcd0b01a90b94509e1ba8ce61d35fa51cd26bd3f30955a20932b9f69678883"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SlideOverController: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\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":"prototype/App/SlideOver.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98bdde1aff577a51671caf691496bac30c67a62693125d11a1f6e9a7731be5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/NotchActivities.swift: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 380 over it, 1.76\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":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"828e6d5f3e335a0f12fdabef3809cf8563d5e15dcb24c633317b5515d5e3eb91"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppDelegate: ClassTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded), 559 methods. The bar is 400 significant lines; this is 302 over it, 1.76\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":"prototype/WindowShade.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"27476ed576355d1d657adb9bb13d463c70b6e4b00f7549a09400b56b66b4d45b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SilentMilestoneProbe.exercise: MethodTooLong \u2014 exercise runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b61c0f96b3c11b5896b24df55cde45e768c0099f6103c2c5224196f62767c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/HabitRules.swift: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 357 over it, 1.71\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":"prototype/Core/HabitRules.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5c061cd31d369eb1573d8149176cc72fa2e2db702cf7463b4572bb2336af2a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseFullScreenDesktops: MethodTooLong \u2014 exerciseFullScreenDesktops runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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":"prototype/App/FullScreenProbe.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3cbce9cb7224112e53b86cbcc6586126ea2d40057ca0aedab22fa47bcf260c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NotchDemoView.build: MethodTooLong \u2014 build runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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":"prototype/App/NotchCoach.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7488fd85f02708ec11a24dbbd327d79013ffdb047a4a027186e30173c5d67b30"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseStripPeek: MethodTooLong \u2014 exerciseStripPeek runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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":"prototype/App/StripPeekProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3390329054e6df4d1608da77670c44d3feea8b9f9f48f6fc96b0b2d6de8b7a39"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GlanceController: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"prototype/App/Glance.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ab5192e9a69d3008d83a82564f5beac31cd053ac02a6564ebe869130cbba06"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/WS2ConductorPage.swift: FileTooLong \u2014 815 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 315 over it, 1.63\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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea91643a495371eaf106c1e12acdfc4b82134a5dfee10119508bc354201cd513"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NowPlayingCard: ClassTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 242 over it, 1.61\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":"prototype/App/NowPlayingCard.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6596cd14ce040dd102c5744a6ad8b8b78ac5db9e220e74a38ae74871f69a50"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WS2RemoteHost: 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6545e0d2ad397f3066378bb818081d315c02b5d4a7b5e16a3bff7d47554b61b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NotchContentView.place: MethodTooLong \u2014 place runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":"prototype/App/Notch/NotchContentView.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b248f91825ca5f0558a94ffd8eb98902af9bfbcc3db4623350b3d3962d03aae8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDelegate.buildStatusMenuItems: MethodTooLong \u2014 buildStatusMenuItems 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":"prototype/App/MenuBarController.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"068d444838af3756e6dc7ffd7100c5a9fb8ad35a732cc18e0f73546d09d71f1f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotchActivityController: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"prototype/App/NotchActivityController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"046202ee1389ed474b00347da0247b52005ccd1f50594af6a888a9d3dc5f22ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PictureInPictureController: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"76081aafbee4ba41eb209f2ada9776b83894dff720590252da9e68b60576dd22"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UpdaterController: ClassTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 214 over it, 1.54\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":"prototype/App/Updater.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed42858dd09c4fb09326721e5b171f2b44658ac982bdafae2dce27b7b0b5deb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScrollStrip: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c881f0ee49c186a030c9e5a50457a6373e1d7d5010e8f2389c82fc6f3a10b418"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: prototype/WindowShade.swift: FileTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AppDelegate (87-1176). The bar is 500 significant lines; this is 266 over it, 1.53\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":"prototype/WindowShade.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feedb06d57a0cfbf1518b5dd7e2c8d5d19d108b13aaaa5d47abe6d6bdf49473c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotchCompactView: ClassTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 198 over it, 1.50\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":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6b3c09cfa94e982ea37f2952e12e07adf11c061cc2b606a6e72882d3fa1519"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HabitWorker: ClassTooLong \u2014 596 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 400 significant lines; this is 196 over it, 1.49\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":"prototype/App/HabitContext.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"237efb34f518f462c5646176cf0fe6cc0f83831cc39388a7bdc5a095ec5be670"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GlanceController: ClassTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 400 significant lines; this is 188 over it, 1.47\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":"prototype/App/Glance.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2999d3eabde364190eaf04ad2db035794e1721a9a43727a77ea7a2536c3b6aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HabitCenter: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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":"prototype/App/HabitContext.swift"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc44d8f0ebbb80f9c21cf47e4acba43830d2ce73820120f3289f65176bb65fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/LaunchpadFolders.swift: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 233 over it, 1.47\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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a15f4033325863a1efb62b3772568f2c45fc7ac8b68d078f758b6ed8677326b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WindowBrowserShotProbe: ClassTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 184 over it, 1.46\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":"prototype/WindowBrowser/WindowBrowserShotProbe.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"989d659ab546c96e0aa05a259bbcacd4087a31ccecfdf4729b4e67cd964ddc1d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.holdSetUp: MethodTooLong \u2014 holdSetUp runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"prototype/App/HubHoldProbe.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e0976738c5500d0eebb3b61c94e21290763a567b877ce293f8274bd6772076"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Notch/NotchCompactViews.swift: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: NotchCompactView (36-813). The bar is 500 significant lines; this is 218 over it, 1.44\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":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da984e45f9e80c9bf188f129ae30c7301d47ef1a9163c9db6760acbfb4719e13"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WelcomeView: 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":"prototype/App/Welcome.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10fa893787004014ef657d2f66abe2c3997cfd56880397fa049b3a9665989e0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WindowBrowserShotProbe.run: MethodTooLong \u2014 run runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\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":"prototype/WindowBrowser/WindowBrowserShotProbe.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"99edf030f45f87db7d0cd36131132cf4aa7118f4f9bcf4a315bef31b33915b12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/FaceObservationSource.swift: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 209 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1f77867e4ae98b53ad1787cd5c1eec3bffc1f3f3ed5c0d2ad11f19fe20c9e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.hitch: MethodTooLong \u2014 hitch runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/HitchProbe.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"92733a638bac385089cb62115f842c8982f4dcf4abac767ac3d5f603cdba791e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/ConductorSession.swift: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: ConductorSession (77-724). The bar is 500 significant lines; this is 188 over it, 1.38\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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f422938a284626fcdcc0bdbee2794830edef2b75041a926894a3af81fef1ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/Glance.swift: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: GlanceController (151-1018). The bar is 500 significant lines; this is 185 over it, 1.37\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":"prototype/App/Glance.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e527e1e2d73b0809799e768819cb7797afdcf7dc95e2633d9c74e4a21e84528d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WS2SilentReadout.sentence: MethodTooLong \u2014 sentence runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb75046f708d98268252d6d5dd2777f44844a484f708b18baf0cc00e71d1eb6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SplitViewController: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"prototype/App/SplitView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae61dd21a5b67876878cbfcdb83622b6afc34d9a5abcbe71a87b00fe262281f7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WS2OwnedLaunchController: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"642feb1594db776aba97c17a3910c2f35163fda985227cc6c20cc3673b8eae81"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DockHoverObserver: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"prototype/WindowBrowser/DockHoverObserver.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5802c7af2fd0fc8c8efae0a5df76fd64c284427351fc9ee38b1fd2d30a5df6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Overlay/ShadeStrip.swift: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 183 over it, 1.37\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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8c8d11cc3d4e1ea18f95c1a60113318fa6a86dc9e4c0943ee344afc9629f7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/ShadeController.swift: 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":"prototype/App/ShadeController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45395ff2d1c6778ec41a511a3e19c7468d4572a49c9356cc30bad533f3a0d3e3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConductorSession: ClassTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 139 over it, 1.35\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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7711816f778b722668419597244da000a43409dce9298ae1094dbd924764c395"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WS2AppRuntime: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4b945909d704e1b876700eb0b4a6f8c02b0dab12722e7a45800cc349ce305b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseLaunchpad: MethodTooLong \u2014 exerciseLaunchpad runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae648170918bc9f7d21922949a928bab5b9f98844321f8080496ac34a05312b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotchLeaseHub: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"prototype/App/NotchLeases.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c04dc795cb5d424c96d53f3517cd1eea8d16574847ad39c155e6a430db92a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/NotchActivityController.swift: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: NotchActivityController (6-731). The bar is 500 significant lines; this is 147 over it, 1.29\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":"prototype/App/NotchActivityController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"929ec9751d2dba304cce6f42f44617c001daddd328323ad775419861ec1db049"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/SettingsExplainerView.swift: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 147 over it, 1.29\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":"prototype/App/SettingsExplainerView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3aa28a0efe3d16245eb7e6612dd1dc26bc5aa5e8ec0a331e682031e1ce03d7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotchActivityController: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 115 over it, 1.29\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":"prototype/App/NotchActivityController.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8580b516c8510476d315676ecf0eb7ff7073b76b6ed67ded702f57afdc4c20d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/Updater.swift: FileTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: UpdaterController (51-944). The bar is 500 significant lines; this is 142 over it, 1.28\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":"prototype/App/Updater.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4baa4b51e79016122d6875adeff46574be8fba36812540d8478d1a968a6a8f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConductorSession.receive: MethodTooLong \u2014 receive 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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadcd5e5ceceafb66eda1f61f3589701248b312910a75184b3601295c44e8ca2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileShelfView: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"prototype/App/FileShelfView.swift"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"416c42fb158c17c9476af9c3443cbd3de741c7a2e343cca54012e3e6ebc8d9fe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WindowFoldEffects: ClassTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 103 over it, 1.26\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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab0963c840d463488579e617ddb20bda7fcad89fd163a5ac93df3d6e3f6a0ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SilentMilestoneProbe: ClassTooLong \u2014 495 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 95 over it, 1.24\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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb0b59fe8e568010232c8fda21c3e57fb8cf8afcee35ff6ba64f84874a0949e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseNotchShape: MethodTooLong \u2014 exerciseNotchShape runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"prototype/App/NotchShapeProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7acef9d613f287d029d5e6da81c8ed0a0e567438af05de8cdf711750b867e05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SilentMilestoneProbe.asyncTerminals: MethodTooLong \u2014 asyncTerminals runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c101f01290592edf6b3b92dd7c08fbb075ed694a6fec6ef9343ab7516f40e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NotchPanel.apply: MethodTooLong \u2014 apply runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a85a663f722a8aae7f0aec2cf3cd919ebfef13367449dfcbcc7fadc3bcefdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WindowBrowser/WindowBrowserShotProbe.swift: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: WindowBrowserShotProbe (14-743). The bar is 500 significant lines; this is 106 over it, 1.21\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":"prototype/WindowBrowser/WindowBrowserShotProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a17f9ff00a60b05d6f2855fa23ae67766d2dad39a0cce91e2f3447331a3d23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/SplitView.swift: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: SplitViewController (13-705). The bar is 500 significant lines; this is 101 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":"prototype/App/SplitView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1ffbfbdfa32ec43f71b6d625f3082397c8ba1f6d65753d084ca345f62e75c1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FaceScanExperiment: TooManyMethods \u2014 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":"prototype/App/FaceScanExperiment.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e0470e9239c0d9e8ce5df8d6c2cf9c58dba9868a65c21d37e8a838b799081a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HabitCenter: ClassTooLong \u2014 477 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 77 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/HabitContext.swift"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc7689e219ad694af11b2f7b8458c896527ef900198020495d9fbc24a807204"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScrollStrip: ClassTooLong \u2014 470 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 400 significant lines; this is 70 over it, 1.18\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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0210ceac4ef43099de773fbb50274ebcce9b053043f8dbbae1adc1adf36878"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SplitViewController: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 67 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":"prototype/App/SplitView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cadbaa05bda12d884e8eaa496559640770c3fed8220744d48a4750fbf9e5423"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/WS2SilentHost.swift: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: WS2SilentHost (6-550). The bar is 500 significant lines; this is 80 over it, 1.16\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":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"601a014026d30e3a03ff92f953981c6e5d048a782c77587f16602bdb89a6461c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/WS2AppRuntime.swift: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 over it, 1.15\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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c229ba717f6912d8a18262c72484b2b4078031c110fe99d792e061e710dd9c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotchDemoView: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 57 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":"prototype/App/NotchCoach.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"950231e6d9f70babe34a088aa32b7cf8e79b6a45b170602238b727b2c9310c30"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDelegate.arrangeShadedEntries: MethodTooLong \u2014 arrangeShadedEntries 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":"prototype/App/ArrangeController.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dd424971f5e0b8b04e881709b6e6b477720df4ab801e7ffe04e46bfdc5f963"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PresenceLock.handle: MethodTooLong \u2014 handle 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":"prototype/Core/PresenceLock.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"68483136e9dfb04113ec3b057e95ba7877e17f99fa5c5e0660862baa4ca78f70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/PictureInPicture.swift: FileTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: PictureInPictureController (13-646). The bar is 500 significant lines; this is 65 over it, 1.13\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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d13b7f6d3c9abbc88d45efac16c12c2bc70789a218629e13f4d9d6d5073dc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WindowBrowser/WindowBrowserGeometry.swift: FileTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: WindowBrowserGeometry (333-783). The bar is 500 significant lines; this is 65 over it, 1.13\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":"prototype/WindowBrowser/WindowBrowserGeometry.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4eb10081d6947a8636e22327951288d4586bc6615192f27f1c0b55dbb69095"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseFinderAlias: MethodTooLong \u2014 exerciseFinderAlias 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":"prototype/App/FinderAliasProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f450b09c0bd50db9ebabbe51cfd21c81bb1993b3e4fb5aaca12d5b98b5ac6619"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NotchPanel.legacyBaseTarget: MethodTooLong \u2014 legacyBaseTarget runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc6e3a7aeb9ed8150e1c7fb2dd4eb2c0d931125dfdce85659a2bf9e2ae76fb9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WindowBrowserShotProbe.render: MethodTooLong \u2014 render runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserShotProbe.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f1493d0ead0fae5115730bc321237bb46e194731214cbdfd90367910db770"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NotchTileView: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 44 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchRowViews.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4cffdf84c219fd80e5d6bdb598c3b40ae9b40eccf6bf8c5d3325f933109d6e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseLaunchpadTiling: MethodTooLong \u2014 exerciseLaunchpadTiling runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"prototype/App/LaunchpadTilingProbe.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea1bd4078a0f2b523ad942a90a636a532a32eae3cb3223e09a38965db6601b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NotchController.init: MethodTooLong \u2014 init runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcdbebb098e7feb1c2548a690043d9bb4c6bda39e513262ce885bead2ebb2e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDelegate.makeWindowBrowserSettingsPage: MethodTooLong \u2014 makeWindowBrowserSettingsPage runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"prototype/App/Preferences.swift"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"704fd0b318f16e016e63eace069a9dcdb486977a915c0fc33f96c9d45a8ec40f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DuoSettingsWindow.makeAdvancedPage: MethodTooLong \u2014 makeAdvancedPage runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff369da3f478c6de45d55ab94ccd25632d38faec68477de1481f93a8c924de20"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDelegate.applicationDidFinishLaunching: MethodTooLong \u2014 applicationDidFinishLaunching runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"prototype/WindowShade.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3676cf20cde3bfbb1fa2cc233d73db52ff71f861e7614a3a1502e4d096b8f9b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PictureInPictureController: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 41 over it, 1.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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb86204d20ae02f370a2b198651d934248bc276cdce2c46d441f071f08e6040"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotchTileView: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.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":"prototype/App/Notch/NotchRowViews.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6178dc4b79bbded2a21ca7770081ee1cadf2af20a6caa499b50aad3d1c1986"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SparkleUpdaterBridge: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.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":"prototype/App/UpdaterSparkle.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3238ff056cc74fe7161bee99192d800159df6ef2cf3e4530e3255ff227bd6d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WindowThumbnailService: ClassTooLong \u2014 439 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 39 over it, 1.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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"94aa56c66e4aa0d499d5dc659a5d646733ff551c64dd9cfe1542fd34217fa1b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlanceProbe.exerciseWinsSwitcher: MethodTooLong \u2014 exerciseWinsSwitcher 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":"prototype/App/WinsSwitcherProbe.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94ca585ecf3348b41e5fefb354812bb76f423f6d9b07ade37512cf75b823376"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/ScrollStripOverview.swift: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 over it, 1.09\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":"prototype/App/ScrollStripOverview.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca52502a13b089ed2d4144dca2711ce0109b4566edf472268c35f4da3afda856"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/ScrollStrip.swift: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: ScrollStrip (11-780). The bar is 500 significant lines; this is 43 over it, 1.09\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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0cc2f00490c5a59e3b7b8045aab1869a586b5235ddcfdfde301967a24511c0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WS2SilentHost: ClassTooLong \u2014 433 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 33 over it, 1.08\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":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"236b587fa61251e321bbd70856efb4cf4fea657aa319565d7fc7dadf380c4005"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/FaceScanExperiment.swift: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 35 over it, 1.07\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":"prototype/App/FaceScanExperiment.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7a953679552084a827654c436d8e1a92b2b8c57096e2f20a2dbf4ceeb676ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileShelfController: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"prototype/App/FileShelfView.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fa258e8d031c27ce7412be1b6a7efd86e52c3b00f13944a6ad90534ed6e283"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotchCompactView: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7cdf5d96b7f82a67487b32bdfe6f04e91eb0918c4db4b441a7868c5f5e1305"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConductorSession: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9a31983089133fffa0a8c794b4a1dd0d15590229057fefed167db416f9e791"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WindowFoldEffects: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9138fc40921ae88548bcdc5f9a6857551e986592073441e45eca316d2881ad36"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LaunchpadController: ClassTooLong \u2014 424 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 24 over it, 1.06\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":"prototype/App/LaunchpadController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c38ef042ab1a3c2f72ab5d1cf07454c529f41a3d5c0ff5b5ee84db54d944207"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PreviewRenderer.swift.nativeTitleStripLooksBroken: FunctionTooLong \u2014 nativeTitleStripLooksBroken runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"prototype/Capture/PreviewRenderer.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19d7db22714c095469e9396a14d0275acce144a04ffb756e9a757554e18e3b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/Thumbnail.swift: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 22 over it, 1.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":"prototype/App/Thumbnail.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f7e4ef16fd958eb33e1b77bb68a7f7cbf9f7915859b562fa08df344b8e3722"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: WindowBrowser/WindowThumbnailService.swift: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: WindowThumbnailService (129-729). The bar is 500 significant lines; this is 18 over it, 1.04\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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3ae6aa351b63e74f788c5544f75092ae80f1fbc6428bd25dcdbc3e0e4484c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LaunchpadController: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"prototype/App/LaunchpadController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caaba7b02148dfab35823e0127d48cc15787fd4ad3a5697bfd32cb46304ae4c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NotchLevelObserver: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"prototype/App/NotchLevelObserver.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b1b6d6c71d687a609eae7e884a06e0bb5c7e12de4923aa1272c001711b3a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppDelegate.startFocusCurrentAppSession: MethodTooLong \u2014 startFocusCurrentAppSession runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"prototype/App/FocusSession.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1f16ce0f50ecf47f96a5a2b4f28d7d586cdf4b8cdbb5f824b1c6b1baeb4ab6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WindowBrowserContentView.init: MethodTooLong \u2014 init runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"prototype/WindowBrowser/WindowBrowserContentView.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5cc451043a12701390895dda0aa09d10a24f227329124add218cd8db48ea7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Effects/WindowFoldEffects.swift: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: WindowFoldEffects (6-674). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbbd1f631d35217cd7b85b22e5e2bc6730f38c8b3c027e25423861d85c62f55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/EventTap.swift: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\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":"prototype/App/EventTap.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"103e2cf55a6b2742cecc4f1143c60ef317281f444f81c473c004d8a58bf54123"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/Launchpad.swift: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\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":"prototype/App/Launchpad.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69434dd66f10eda5d1a489c33268b0b728c94cafe999bcb2bbd42389f29dc7ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: App/SilentMilestoneProbe.swift: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: SilentMilestoneProbe (9-665). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b000ccdc1f83d5334fa0b77315334f2704acedf70ba4f320c256594d34f7e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): prototype/App/StatusBarIcon.swift:5-34 | prototype/Watchdog/GuardIcon.swift:7-27 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"prototype/App/StatusBarIcon.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"45692b4f23a2cde787f98ed439bdf752ebe308c997f21d7009964717eb996b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): prototype/App/Preferences.swift:770-807 | prototype/Effects/DuoSettingsWindow.swift:729-758 | tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:13-21 | tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.swift:13-21 | tools/archive/design-qa-batch23-29/PrivacyRowPreview.swift:9-66 \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":"prototype/App/Preferences.swift"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd5fb52653b83d8bbcb26456544950bf335386c2a58b7db7832645ae10e3923"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): prototype/App/NotchSpaceGate.swift:50-58 | prototype/Core/PiPLayout.swift:117-141 | prototype/WindowBrowser/WindowBrowserGeometry.swift:718-727 | prototype/WindowBrowser/WindowPlacement.swift:157-169 \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":"prototype/App/NotchSpaceGate.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"94533e0b75648a9354a0820d33f1db5166f462583f1eff5a270b704e3dd2de16"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): prototype/App/PreferencesViews.swift:282-299 | prototype/App/WS2ConductorSettings.swift:4-97 | prototype/App/WS2InputSettingsPane.swift:295-310 | prototype/App/WhatsNew1018.swift:32-56 \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":"prototype/App/PreferencesViews.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7402cb96c27e8f46044ca769b2f40fd0f8deeff82df5c54254878a00a6419ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): prototype/WindowBrowser/DockHoverProbe.swift:403-426 | prototype/WindowBrowser/DockHoverProbe.swift:430-445 | prototype/WindowBrowser/DockHoverProbe.swift:712-731 | prototype/WindowBrowser/DockHoverProbe.swift:793-832 \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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7ceababf2c9326b3895533067ba852eb7378cd9c9a4e76c05f60ce502b1542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): prototype/Overlay/SystemAppearance.swift:238-280 | prototype/Overlay/SystemAppearance.swift:284-326 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"prototype/Overlay/SystemAppearance.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd79c56546d6ef01c55ba2f1b5c371393c44163f7598b3f623592bf36afbe4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): prototype/Core/ScrollStrip.swift:624-663 | prototype/Core/StripNotchExchange.swift:109-144 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"000132c563bc3d94643d3cf2097da0a9c69832540e728dcd58fd212e47a06981"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): prototype/Window/AXWindow.swift:231-256 | prototype/Window/AXWindow.swift:258-290 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"prototype/Window/AXWindow.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e6a9cd0273828179207d56f26e89dca2cb471f189e1c2f111a47886791f148"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): prototype/WindowBrowser/WindowBrowserCardView.swift:116-170 | prototype/WindowBrowser/WindowBrowserListRowView.swift:116-163 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"prototype/WindowBrowser/WindowBrowserCardView.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ec4ff7cf7ee637fc2023f9c9aa325c49a79dab4a6eb92500276851db0b7562"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): prototype/App/LaunchpadFolders.swift:695-734 | prototype/App/LaunchpadView.swift:629-677 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82895987ea31e34dd075db3596072cf89b73fbc34ef2beed5dc437923f4d8e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): prototype/Core/ExplainerScenes\u002BCommon.swift:56-76 | prototype/Core/ExplainerScenes\u002BCommon.swift:249-273 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"prototype/Core/ExplainerScenes\u002BCommon.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"beea9d9e649f52dacced6764bbc140ae7c19dedc346868b10ebc396bf843d92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): prototype/Core/ExplainerScenes\u002BCommon.swift:147-167 | prototype/Core/ExplainerScenes\u002BCommon.swift:194-213 | prototype/Core/ExplainerScenes\u002BNotch.swift:79-97 | prototype/Core/ExplainerScenes\u002BShade.swift:86-103 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ExplainerScenes\u002BCommon.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bedcfb64ee8e558e1efc5ba203ce438709e15e9acfd21620793689df0c5b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): prototype/App/Thumbnail.swift:102-140 | prototype/Overlay/PaperSurfaceStyle.swift:80-118 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"prototype/App/Thumbnail.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f6c22dd2d7173ebe6f0cac37a6ebf046c9e189fae27a08404bbe28f85a4b03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): prototype/App/Preferences.swift:2156-2181 | prototype/App/WS2InputSettingsPane.swift:193-216 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"prototype/App/Preferences.swift"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d10ceec58d63b09448176e21bc8e65e6a3f1104f8b4ff223cc18cf44b56e970"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): prototype/Core/InteractionCoordinator.swift:256-283 | prototype/Core/InteractionCoordinator.swift:288-322 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b0014a63771d72902541bff6e44b254d820bff23cf80d4367efeed3f7bb1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): prototype/App/WS2ConductorPage.swift:464-490 | prototype/App/WS2ModelPickerView.swift:138-158 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"af59df41ad8601e74aba069e5f84c6079dbf9428f8c8fc45be085374360dafb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): prototype/App/BystanderTuck.swift:26-48 | prototype/App/PresenceLockDriver.swift:37-58 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"prototype/App/BystanderTuck.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a86fb79f28999c1955aeeaccd9c2781519bfc5912984800307a1e83459c4d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): prototype/WindowBrowser/WindowPlacement.swift:276-316 | prototype/WindowBrowser/WindowPlacement.swift:318-360 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"prototype/WindowBrowser/WindowPlacement.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9747b2a84557d8c34f429047bf8a08b73e546079539ab3466f5c15e8e9fbe30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): prototype/Core/HabitRules.swift:163-184 | prototype/Core/HabitRules.swift:187-209 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"prototype/Core/HabitRules.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"57265e17d31c1c3135ce40521b87a0bf3233cf52bc63e6558a9b6dcd9619013c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): prototype/App/DockToolRunner.swift:57-91 | prototype/App/UpdaterSystem.swift:159-190 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"prototype/App/DockToolRunner.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e125c4062e5d5190eaa913c1e93d92f268829e1ceac553647d27109edd9f7ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): prototype/WindowBrowser/WindowBrowserController.swift:2976-3017 | prototype/WindowBrowser/WindowBrowserController.swift:3268-3305 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1833c5be75c483046df0f15ee2b3f77545c9909cbc6cc9b1ddc5c585905c249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): prototype/Core/RectangleKeymap.swift:95-120 | prototype/Core/RectangleKeymap.swift:123-147 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"prototype/Core/RectangleKeymap.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72103b4cf1e2e14c71ed6632074433dd3a850206c627c8567d4044bdebb1152"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): prototype/WindowBrowser/WindowThumbnailService.swift:282-323 | prototype/WindowBrowser/WindowThumbnailService.swift:325-366 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fe547c0d917d2b2db9f0cf24e5519cdbfa63e111a1af5a5a1b4782aeb23a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): prototype/App/LaunchpadFolders.swift:155-193 | prototype/App/LaunchpadView.swift:448-482 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeced5a6b65b5c5aaaa02f072c28fd8ae33873deddd2032256624937c75dc08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): prototype/App/NotchActivityController.swift:364-390 | prototype/App/NotchActivityController.swift:392-414 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"prototype/App/NotchActivityController.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbb585d2e856be2522774e6cf2c6ebb3eea5f2a544da9da5cfba1d820b90ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): prototype/Core/ExplainerScenes\u002BBrowser.swift:34-51 | prototype/Core/ExplainerScenes\u002BCommon.swift:338-353 | prototype/Core/ExplainerScenes\u002BShade.swift:43-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ExplainerScenes\u002BBrowser.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ea682feb8082d8307181726ea63fffbe3d2d7255f1f9ee64b25c0e55fa4d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): prototype/App/FaceCalibrationRecorder.swift:81-99 | tools/probes/FaceFeaturePrintProbe.swift:79-103 \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":"prototype/App/FaceCalibrationRecorder.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c447b856b16cdeceb56e649a92b0c135ce74c528fa0404b77b20f0b6562952"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): prototype/App/FoldExit.swift:128-162 | prototype/App/FoldExit.swift:163-192 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"prototype/App/FoldExit.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45f3e793006eca13141b8bd90c7424292b2225be02766aa763fb5cd2def1552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): prototype/WindowBrowser/WindowBrowserActionPresentation.swift:139-164 | prototype/WindowBrowser/WindowBrowserActionPresentation.swift:308-322 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"prototype/WindowBrowser/WindowBrowserActionPresentation.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"498c9f74470e8347c5603860dadecf3122f2c92e4d485b36e1b34fd6b9f6a3fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): prototype/App/FaceCalibrationRecorder.swift:310-336 | prototype/App/FaceEnrollmentHost.swift:84-109 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"prototype/App/FaceCalibrationRecorder.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"056040890404cfd890416ffdbe0fac45b4ec3906371a41fde89d06628949e543"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): prototype/Core/ExplainerScenes\u002BCommon.swift:79-97 | prototype/Core/ExplainerScenes\u002BCommon.swift:100-118 \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":"prototype/Core/ExplainerScenes\u002BCommon.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"773abb31564d2d001c14a6da02526a75dd3e6290a138be0693a6c70c58f62128"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 33\u002B corresponding lines): prototype/App/HabitKeys.swift:119-152 | prototype/App/MiddleTitlebarTap.swift:50-90 | prototype/App/MissionControlKeys.swift:89-125 | prototype/App/ScrollTap.swift:104-136 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/HabitKeys.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa312fa67d1d9385aba4bf5ee2b5df421c4dda4373f84877f0f0a814dc54d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prototype/Core/ExplainerScenes\u002BBrowser.swift:54-66 | prototype/Core/ExplainerScenes\u002BCommon.swift:276-290 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"prototype/Core/ExplainerScenes\u002BBrowser.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a189ae36f0a7a3d15f8a6eb6fef85cb33f7defc8c2abb93a16daae08fe42f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/App/WS2RemoteHost.swift:713-723 | tools/probes/remote-device/Handshake.swift:132-143 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ea5042163bd7ac58800ae468e0fe1fb1056ddb0b138483853365143b265f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prototype/App/WS2GameControllerBridge.swift:100-115 | prototype/App/WS2GamepadDesktopControl.swift:118-130 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"prototype/App/WS2GameControllerBridge.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"505ebc1abca5571ecc1eec4ba6b3340c5f6d6c0db20c659aa1fc6f3a0082337d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): prototype/App/EventTap.swift:345-361 | prototype/App/EventTapCallback.swift:121-137 \u2014 These two members are one piece of code written twice and then edited apart: 17 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":"prototype/App/EventTap.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"b952067e8f76ab47b1357bf49cfdcefd05ce86f6c149944e0a26adb7fe680bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): prototype/Core/WS2HeadGesture.swift:67-95 | prototype/Core/WS2HeadGesture.swift:97-126 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"prototype/Core/WS2HeadGesture.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2728bdcb2d891948c56643a8174465a88d9ead078d644475be7657a3181a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): prototype/App/SlideOver.swift:287-311 | prototype/App/SlideOver.swift:347-369 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"prototype/App/SlideOver.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7f1db1dda097e6ca37f7be300f5af077290c1981c7aab6342be332af4dfd8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): prototype/App/WS2ConductorPage.swift:352-373 | prototype/App/WS2ModelPickerView.swift:96-120 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1642c73fe2e15c2fc2803027c2608c871ad8faea0b1e5cf0b18ee5a5e02ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): prototype/App/HabitContext.swift:1415-1429 | prototype/WindowBrowser/WindowBrowserSettings.swift:187-212 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"prototype/App/HabitContext.swift"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"40039bee3bcbbaa6f7a13f1be1996cc555af37e8ea2438efc0d0ea2ca8a5e079"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): prototype/App/SlideOver.swift:1200-1217 | prototype/App/SplitView.swift:785-802 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"prototype/App/SlideOver.swift"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c97cc4cb46f8015e70510090e05e138b72e564b14f41fd58a8f9f97276fad4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): prototype/App/WS2CodexApprovalHost.swift:406-420 | prototype/App/WS2HookApprovalHost.swift:348-364 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"d941486d0d23386db9b18fcbdb2aefdc96cf8673d2abd136c76b6f4eae0f28d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): prototype/App/DockScenariosProbe.swift:266-280 | prototype/App/DockSwipeProbe.swift:95-108 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb47182e6317a4e414327ed67e67d78826a233985b04a94dd5814af26ddbf65d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prototype/Capture/PreviewRenderer.swift:346-367 | prototype/Capture/WindowSnapshot.swift:63-75 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"prototype/Capture/PreviewRenderer.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"609c684485cbb68df87b5f2d551afe0a6a8acde7c6281ad6b417f623948f6869"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): prototype/App/WS2GameControllerBridge.swift:51-66 | prototype/App/WS2GamepadDesktopControl.swift:81-103 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"prototype/App/WS2GameControllerBridge.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2ff374982e865567dbf51014f32db1a8b9b1fe36c15ee4e20251d822205919"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): prototype/App/PictureInPictureViews.swift:327-343 | prototype/App/SlideOverDropHint.swift:34-51 \u2014 These two members are one piece of code written twice and then edited apart: 17 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":"prototype/App/PictureInPictureViews.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede687be7cb6c7af5b76336b06b34c1ff2c44f9205ba55951cccbca54cbde47d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/App/FaceCalibrationRecorder.swift:339-349 | prototype/App/FaceEnrollmentHost.swift:112-123 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/App/FaceCalibrationRecorder.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ae5420831489666a1b04ae669849ef2b79545c932258de844b033ed46cc2a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): prototype/App/GapProbesSupport.swift:77-92 | prototype/App/GestureProbe.swift:1042-1058 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"prototype/App/GapProbesSupport.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f626271ce32ea3913a5edd0118b76675db8ac99d30d37ba8f1fe0a71bccbc7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): prototype/App/NotchSpaceGate.swift:117-137 | prototype/App/SystemQuietState.swift:79-99 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"prototype/App/NotchSpaceGate.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7add48e472ae024b5df45c42d437de24e16ca019d7fe38d0024abf83aadd4408"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/Core/ExplainerScenes\u002BBrowser.swift:69-79 | prototype/Core/ExplainerScenes\u002BShortcuts.swift:179-185 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/Core/ExplainerScenes\u002BBrowser.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"370dea0c309a993218246dca01ce0dc6aaab1c8773005c0b224a09e1d4190644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): prototype/Support/WS2ProcessChannel.swift:74-88 | prototype/Support/WS2UnixSocket.swift:155-169 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"prototype/Support/WS2ProcessChannel.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1803fd3ff641c4eece82b034d173c5dc0599420739ee9b1f6a1c641a43ea886"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): prototype/Overlay/PreviewSurfaces.swift:17-47 | prototype/PinnedPreviewPanel.swift:179-205 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"prototype/Overlay/PreviewSurfaces.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"39653f682e5b2ec6f847e04fb1a01da42d2162e7183707a979c516f022f09a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): prototype/App/NowPlayingStream.swift:232-251 | prototype/App/NowPlayingStream.swift:257-272 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"prototype/App/NowPlayingStream.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5582b30648ab6e5b0451386097a51f2c75d31c49bffaba12efc8ddb2852e7fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prototype/App/GestureProbe.swift:2434-2447 | prototype/App/GestureProbe.swift:2486-2498 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":2434}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2e8a7297228e3576ee623420e1089ebdaf709132f8fb73d8a7552214400187"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/App/WS2CodexApprovalHost.swift:464-474 | prototype/Core/WS2OwnedProtocolHost.swift:50-60 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ca05ee01a0ea7b98d975b2ed9f1ef179f6c067db2294d468cc839db0ae26ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): prototype/Effects/SettingsShotProbe.swift:174-187 | prototype/WindowBrowser/WindowBrowserShotProbe.swift:370-383 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"prototype/Effects/SettingsShotProbe.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9731c9b1a294aa27686fcab49fe3a77276ae2a9de9572ceace4f6be0fcd91403"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prototype/App/CollapseAppearanceSettings.swift:84-96 | prototype/App/Preferences.swift:957-976 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"prototype/App/CollapseAppearanceSettings.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a8189b8a9d06dca43902b6d19874fb4de9bd0640cc7641593392145dc35b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prototype/Support/WS2CompanionChannel.swift:211-218 | tools/probes/remote-device/Handshake.swift:184-191 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"prototype/Support/WS2CompanionChannel.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31970aac002bc142f161b2843d157cbc4ab8559588e24cb158f58a194e95c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): prototype/App/WS2ConductorPage.swift:980-996 | prototype/App/WS2ModelPickerView.swift:183-196 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c75c342a232f94d7fce48b2b74e9156f69f348a51a16c2d1cdd0871c18d561"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): prototype/WindowBrowser/DockHoverObserver.swift:565-584 | prototype/WindowBrowser/DockHoverProbe.swift:226-244 \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":"prototype/WindowBrowser/DockHoverObserver.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc25d7871d95267c08dabd55bf218e437ac9a2547a4481c1b31ba9a8a75d950d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/NotchAuthentication.swift:255-261 | prototype/App/NotchFaceObservations.swift:124-130 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/NotchAuthentication.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8a258a71318fc0019ccc509558475482404bbd06113ce099fe717eaa04bd20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prototype/App/ArrangeController.swift:134-146 | prototype/App/ArrangeController.swift:148-160 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"prototype/App/ArrangeController.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b365d5f7633790bac6e6228ae07d7ef496cbca28aeb7c7dc565536cd1810931"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prototype/Support/WS2ProcessChannel.swift:38-50 | prototype/Support/WS2UnixSocket.swift:125-138 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"prototype/Support/WS2ProcessChannel.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9080758db2e99450739c64e328da850790c4ae5d20a375dcfbebcae38640e098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): prototype/App/FaceObservationSource.swift:493-507 | prototype/App/FaceObservationSource.swift:513-527 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6dc5eb5495222aea1dc3224f3de0df02721578087ee3b79cf66602f00705f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): prototype/App/BuiltInCurtain.swift:30-45 | prototype/WindowBrowser/WindowBrowserController.swift:2619-2639 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"prototype/App/BuiltInCurtain.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"76849258e798eafd9248e52a7ed99fdc0cf4dea52c56ed2441931071cb78d3f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prototype/App/LaunchpadFolders.swift:760-772 | prototype/App/LaunchpadView.swift:1210-1224 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c727ad00af2bef7598dde1e0bd751dd6a471ec2eb1de844ca7201048e013071c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/Core/ExplainerScenes\u002BShortcuts.swift:162-168 | prototype/Core/ExplainerScenes\u002BShortcuts.swift:171-176 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/Core/ExplainerScenes\u002BShortcuts.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55a9c641c6a75893ec628c42bb8e574289e098dc7a70eb24eaf6851901bfb24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): prototype/WindowBrowser/WindowBrowserController.swift:3199-3214 | prototype/WindowBrowser/WindowBrowserController.swift:3307-3325 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"52195865d4ba25fb6d65d07a6a45ce27781aa0f97e75ed48d9ca1e7875fce90a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/App/TrackpadGestures.swift:2127-2132 | prototype/Core/WindowProxyMotion.swift:226-233 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebee38ede3cfceea37f4f55f9285f56cff7da2bde2489acf03dee491cd27a21d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): prototype/App/CarPlaySurface.swift:418-432 | prototype/App/Launchpad.swift:167-181 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"prototype/App/CarPlaySurface.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"43931dc66e0e7cd4b68d8799881f87c630b8ad75fd40aca71f81a5a5af2ff662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/App/PictureInPicture.swift:558-567 | prototype/App/WS2RemoteEffects.swift:349-358 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cff13872d3cfbc5f9e19d92af61dc8812fcdb695343abd94c23c8637f19a3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/App/CountdownTimerHost.swift:244-253 | prototype/App/FocusTimerHost.swift:27-37 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/App/CountdownTimerHost.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef60595ebc949d74d1c2323912eee3c379ed782bb1b9ed314238d51dd36c29f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): prototype/App/FaceTemplateKeychainStore.swift:59-73 | prototype/App/FaceThresholdCalibrationStore.swift:38-51 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"prototype/App/FaceTemplateKeychainStore.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b678c4d82d0fe4ec2e73579d31d76332e96a65f5cc2e18e9a236fa7a812f98b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): prototype/App/FoldTransaction.swift:427-441 | prototype/Window/AXWindow.swift:126-139 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a71ab5c9f97c1f49cf3bbb6614be106e675907caf95dedf6d99531c0c80d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prototype/Core/PrivateAppList.swift:44-56 | prototype/Core/PrivateAppList.swift:59-70 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"prototype/Core/PrivateAppList.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"832cac5ae8fea3d0a0618d8407ac363bcfaf38415e9c837834ef6a4ce460d947"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/App/LaunchpadFolders.swift:133-141 | prototype/App/LaunchpadView.swift:720-729 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aa9f1af020571c2917d07557db7c12d59eb6eb638b46c94a0140ffcbe7e5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/Overlay/ShadeStrip.swift:565-575 | prototype/Overlay/ShadeStrip.swift:577-586 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"419c9d43a3cb1c44f6dbcedde5c61f213cc4d34bc237f81157d02ed65f0608bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/App/FaceTemplateKeychainStore.swift:46-56 | prototype/App/FaceThresholdCalibrationStore.swift:26-35 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/App/FaceTemplateKeychainStore.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f26f30adb5b3317067966cddbd4ba8559113eb232d62f74dcf3e592e2f3619"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/Core/DiagnosticsBundle.swift:22-28 | prototype/Core/DiagnosticsBundle.swift:31-37 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/Core/DiagnosticsBundle.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9078e891cb310651bcf2ba7df476e38b45542420fa5345a2a0874007e47ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/Support/WS2CompanionCrypto.swift:77-85 | prototype/Support/WS2CompanionCrypto.swift:119-128 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/Support/WS2CompanionCrypto.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e321c636e3c834a898cdb9dae40d69d84b0c92c43325bc7cf55046f2c4dc6ec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prototype/App/WS2GameControllerBridge.swift:116-127 | prototype/App/WS2GamepadDesktopControl.swift:147-159 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"prototype/App/WS2GameControllerBridge.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32a4cecc3831ae272ade4043431d167060c3477d2c8d7003d89ebc632ffd7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prototype/PinnedPreview.swift:494-506 | prototype/WindowBrowser/WindowBrowserNewWindow.swift:128-139 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"prototype/PinnedPreview.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"de86eab264719e4c232ebeba61ffe22f772e9edf0d6fedb769a970f227135eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/App/HabitContext.swift:1262-1275 | prototype/App/HabitContext.swift:1278-1286 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/App/HabitContext.swift"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"84744d194dfae6510f968c7b6a859612e1392a2390e1ceb3a259d70fc5bd28f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prototype/App/SlideOverChrome.swift:348-360 | prototype/App/SplitView.swift:865-872 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"prototype/App/SlideOverChrome.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ad1ec13e3fee51a324bf43ac833cf68cc097f2dba76268227b9c9d2f6f149f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prototype/App/LaunchpadFolders.swift:681-693 | prototype/App/LaunchpadView.swift:752-763 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd203f428d6d9849cdeceffb4152481904c028687910828c3841feb53836c606"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): prototype/App/CalendarPresenter.swift:148-154 | prototype/App/CountdownTimerCard.swift:100-106 | prototype/App/NowPlayingCard.swift:303-311 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CalendarPresenter.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d48250f78ab5a9cce302f301865a7b465109b0861057f26026b3231c458723"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/Core/WindowToolConflict.swift:39-45 | prototype/Core/WindowToolConflict.swift:60-66 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/Core/WindowToolConflict.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba41d57663afe219ce14057026cc2dd2145a09a7f9c2849cf5ca6fe64ea8af8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/App/WS2SettingsInfo.swift:403-408 | prototype/App/WS2SettingsInfo.swift:429-436 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/App/WS2SettingsInfo.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a052ba496476bae12909cd54e9d46f4bbb1625b7c14ecbc58d35424bd8b149c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): prototype/App/Carry.swift:12-27 | prototype/App/ScrollStripOverview.swift:258-272 | prototype/Overlay/GlancePanel.swift:13-30 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Carry.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7beea54554991806bc172df9006454eea23c7ccdea91a86fb877fb01ceb359cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/App/NotchActivityController.swift:339-349 | prototype/App/NotchActivityController.swift:352-362 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/App/NotchActivityController.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4c42c3caab37f47ddae1ecfadad2121e98cf354987f60c0988692bf347379e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): prototype/Core/SystemIslandPolicy.swift:21-27 | prototype/Effects/EffectSoakProbe.swift:282-288 | prototype/Private/MultitouchBridge.swift:98-104 | prototype/Support/CrashReporting.swift:85-91 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/SystemIslandPolicy.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"072712f154cb4cd1c75291859167dfff53d72c1e938a122f17faca62bba57ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/HabitContext.swift:1030-1036 | prototype/App/NotchLevelControl.swift:341-347 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/HabitContext.swift"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"44219f3d04caeed8a1142da866b6d9506676f90c858a6353fb3abf561ef96690"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prototype/App/MacVoiceTranscriber.swift:43-51 | prototype/App/SpeechVoiceprintCapture.swift:95-102 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"prototype/App/MacVoiceTranscriber.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b80605f2eee0a06943353e06641c1e056f2a7d523ab098db8af3ff94eb2b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/App/MissionControlKeys.swift:51-63 | prototype/App/SLSOffscreenCheckProbe.swift:182-192 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/App/MissionControlKeys.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce279b36cad0b5d3a0b890b01635ad749e6aef5e8232dc29a7526e5b49875e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/Effects/DuoSettingsWindow.swift:685-695 | prototype/Effects/DuoSettingsWindow.swift:784-792 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f7bd8c499ddaa0c70211f3cf141e255222398376e74c0673cfe8ae3ecc6727"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/App/NotchLevelControl.swift:349-358 | prototype/App/WS2RemoteEffects.swift:386-397 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/App/NotchLevelControl.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f6c457f12e485a7e4ceb793d34832c7ea9e43ff9b5f76074aa88789e2f4ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): prototype/Core/ExplainerScenes\u002BBrowser.swift:122-126 | prototype/Core/ExplainerScenes\u002BShade.swift:135-140 | prototype/Core/ExplainerScenes\u002BShade.swift:143-149 | prototype/Core/ExplainerScenes\u002BShade.swift:194-199 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ExplainerScenes\u002BBrowser.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b73b2ddccfac9fdc43072777beb2a6d03fd636d833db39283af5df8702d7d17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/MacVoiceTranscriber.swift:160-168 | prototype/App/SpeechVoiceprintCapture.swift:210-216 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/MacVoiceTranscriber.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1815ed0f1315662be39b662a45fef2f7a2d8ef88a3110142b36d4d311282fe77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/App/NotchLevelControl.swift:402-411 | prototype/App/NotchLevelControl.swift:413-423 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/App/NotchLevelControl.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"558540652dec491bac059ae73e423c55083086fa2f8dd9de161fe873ea55d726"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/App/SlideOverChrome.swift:152-163 | prototype/App/SlideOverDropHint.swift:119-127 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/App/SlideOverChrome.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a5204894500694b16acd5ce37e310de2c31c08e39c42c69463fc1d938bfc74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prototype/WindowBrowser/WindowThumbnailService.swift:382-393 | prototype/WindowBrowser/WindowThumbnailService.swift:397-408 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb78d22c5ecd86d108537f92856e92b07babb8453174dcb3db31ec133f9fbafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/App/Preferences.swift:941-946 | prototype/App/Preferences.swift:949-955 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/App/Preferences.swift"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf639bb5b448dfd333a3af2af71c8dc12bffe4fdb9ebb55de7052fce82e78d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/App/SoakLedger.swift:18-27 | prototype/Effects/EffectSoakProbe.swift:133-143 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/App/SoakLedger.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3d7384a880268eb0a0d29ec3e08c0e12d6f01c908efe5a3d193aa6454139d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prototype/App/SilentCoverProbe.swift:121-133 | prototype/App/SilentMilestoneProbe.swift:567-579 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"prototype/App/SilentCoverProbe.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"895d9ab388e44d5751fecfb0b7bec86ca4cdb649553a1787a061c1b375e40b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/App/NotchLevelObserver.swift:437-447 | prototype/App/NotchLevelObserver.swift:469-479 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/App/NotchLevelObserver.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff16f611d4708ba449daa29fc9b53808401d15c529069bb2624bd52aafb9cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/Core/RemoteLayerHost.swift:208-221 | prototype/Core/RemoteLayerHost.swift:224-234 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/Core/RemoteLayerHost.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"112e246152af6f2298b1b576437265f77cea0a2a67aa740fe114c9476aa72711"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): prototype/App/AudioLevelTap.swift:96-103 | prototype/App/AudioLevelTap.swift:105-112 | prototype/App/AudioOutputRoutes.swift:104-111 | prototype/App/AudioOutputRoutes.swift:113-120 | prototype/App/NotchActivitySources.swift:368-373 | prototype/App/NotchActivitySources.swift:374-379 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/AudioLevelTap.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0778e0a5f205740e2a7c3d8e94933b91d83b97d70b4d7a75aa76e9bc055b954"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): prototype/App/EntitlementProbe.swift:66-74 | prototype/App/NotchActivitySources.swift:324-332 | prototype/App/PresenceLockDriver.swift:183-191 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/EntitlementProbe.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"157a1f7d3c22b8734d0820e39c66feabd416c7f4d4ff4a57bc336998ae2270bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/App/BystanderTuck.swift:232-243 | prototype/App/WS2RemoteEffects.swift:305-314 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/App/BystanderTuck.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30c054eb90c1064e16292a1b0cc0d760c683b9bdbe2b7753d55a454594fbe05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/WindowBrowser/WindowThumbnailService.swift:266-275 | prototype/WindowBrowser/WindowThumbnailService.swift:494-503 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f458443662154905f366a72a6a3cfa70abf2f9a29d17a43665018d1c1b0ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): prototype/App/HabitKeys.swift:154-169 | prototype/App/MissionControlKeys.swift:127-142 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"prototype/App/HabitKeys.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cafb234c334eee11399705299c37b7d3135220fe8227e08082ce02ad844725"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/NotchLeases.swift:344-350 | prototype/App/NotchLeases.swift:353-359 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/NotchLeases.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d64f018bcaf4a6a6d1671a396be865a3b47c9a7163ab36c34fdfb6e420fef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/Window/AXHelpers.swift:116-122 | prototype/Window/AXWindow.swift:153-162 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/Window/AXHelpers.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eb8ff67dc458f4050dd2cb18b39a183397199dec5064234ef5e681cacc1172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/Core/ExplainerScenes\u002BPrivacy.swift:45-50 | prototype/Core/ExplainerScenes\u002BShortcuts.swift:156-159 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/Core/ExplainerScenes\u002BPrivacy.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"429be5446f7bd29757176b9316f0e698596fa77321a94ddecf2733960985e643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prototype/Core/HabitRules.swift:1151-1162 | prototype/Core/HabitRules.swift:1198-1205 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"prototype/Core/HabitRules.swift"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d5d39f6551cec838c05b3ca4dafd08c2a77d239f316a4a1ce4df5d58913ba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prototype/App/NotchLevelControl.swift:366-373 | prototype/App/NotchLevelObserver.swift:520-531 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"prototype/App/NotchLevelControl.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e747b95618e286d144ce3dea044eb5214dca3c1e3d10256343058a64f9b75bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/App/WS2OwnedSessionView.swift:268-273 | prototype/Effects/SettingsSearchSidebar.swift:318-328 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/App/WS2OwnedSessionView.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9a1bce0faaf171a72458ac627234825b8bc034d7b18018521eb76555de3863"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/Core/ConductorSession.swift:202-207 | prototype/Core/ConductorSession.swift:208-217 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"641db4c3c7d2aa1917d538d3ad7abc5b97533320627db49276178b7d7768198c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/App/FileShelfStore.swift:211-221 | prototype/App/FileShelfStore.swift:225-233 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/App/FileShelfStore.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b0e80e2c1c9f003233309f7e57df0a17129c0dab7ca56e139e0e0d10f4f1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/App/NotchWatch.swift:224-233 | prototype/App/NowPlayingCard.swift:663-671 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/App/NotchWatch.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d32f7b0085a3dceecf1724d2046ef1c647e1d19d70e9bf9cf43df60a357f152"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/Core/FaceScanGuard.swift:217-223 | prototype/Core/FaceScanGuard.swift:227-233 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/Core/FaceScanGuard.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dc8e23c09afff882be343b008f8a2f0c0cfd7436dda040258ef66a4d3ad69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/App/LaunchpadView.swift:1363-1371 | prototype/App/LaunchpadView.swift:1374-1382 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10aa3b9a16b7c48089e995400589dd52eac9f5f6afbb78df2c8ef79c5d4d752"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): prototype/Core/NotchIslandGeometry.swift:25-29 | prototype/Core/WindowProxyMotion.swift:220-223 | prototype/WindowShade.swift:71-76 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchIslandGeometry.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32c8996debfa1f57737f80673aac75060d0b77ae7b3f83086f08fb37919d702"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/Window/AppWindows.swift:143-149 | prototype/Window/AppWindows.swift:151-157 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/Window/AppWindows.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"58be3418be37906fa2db5c4e8347f57c937442099e49ec012ce207c6abf3cf15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/App/Preferences.swift:1001-1005 | prototype/App/Preferences.swift:1007-1011 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/App/Preferences.swift"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9974207e0051f66bd010ebb7ec2de76a1b64df1269f244abe79776812a0977"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/App/WS2BluetoothPresenceSource.swift:127-131 | prototype/App/WS2BluetoothPresenceSource.swift:142-148 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/App/WS2BluetoothPresenceSource.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"891e6f54a8e40f62a6b346208bfd94837c033dd9364bcd6abd81413e3184637b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/Core/DownloadActivity.swift:148-152 | prototype/Core/DownloadActivity.swift:306-310 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/Core/DownloadActivity.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bd442ae3cb1429649526bca4753718f7df1e2cb7b3f1dc3d43ad7867760ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/NotchLevelObserver.swift:510-517 | prototype/App/WS2RemoteEffects.swift:399-405 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/NotchLevelObserver.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2d7f6aa8b499cc7d29b3c5d17aeb7f96bdf689388f3bec17b4923fe9b91d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/App/WindowProxy.swift:189-199 | prototype/App/WindowProxyStage.swift:215-227 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/App/WindowProxy.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b16e076c3609e471cf637e87cebf97e5ad8fb66bed09409672934032302c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/Effects/EffectWindowProbe.swift:122-126 | prototype/WindowBrowser/WindowPlacement.swift:205-212 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/Effects/EffectWindowProbe.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faa200cb26f97370f56cf25467cae4f69940a680db2ff142af2815e196c2832"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/App/GlobalInputFilter.swift:100-109 | prototype/Core/DownloadActivity.swift:169-178 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/App/GlobalInputFilter.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac0244287fcbb0333ea208033ed3f8141604ab3a800b027c6883cc5b6a152da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/App/SettingsExplainerHost.swift:374-385 | prototype/App/SettingsSearchIndex.swift:200-209 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/App/SettingsExplainerHost.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"337636b834149b0d46624a090801948af34547aaf6de50ceccbf782ad42b44b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/Core/WS2SilentExecution.swift:58-66 | prototype/Core/WS2SilentExecution.swift:92-101 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"586ac1726a8717cf57e3e75eb9072d11a632f4f7b3444249f8a81032b6c27ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/Effects/DuoSettingsWindow.swift:673-677 | prototype/Effects/DuoSettingsWindow.swift:679-683 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c96e90f504ae93737662fe94243eb18ea6d22d93168c30efaaa8e93afcf3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/App/ConductorSoundPlayer.swift:161-169 | prototype/App/FaceAutofillController.swift:426-434 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/App/ConductorSoundPlayer.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"df535d5930fe407828a50da23167bc5a57a3c4a9f9582e609bbac230cd31dc22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): prototype/App/DockScenariosProbe.swift:328-336 | prototype/App/DockSwipeProbe.swift:85-92 | prototype/App/SLSOffscreenCheckProbe.swift:205-212 | prototype/App/SilentCoverProbe.swift:112-119 | prototype/App/SilentMilestoneProbe.swift:558-565 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"7758b31aa446883486fc5bc2f9d7ea384e46b16bf49dcb2a37f886dfda29f4d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prototype/Core/NotchRow.swift:118-120 | prototype/Core/NotchRow.swift:126-129 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"prototype/Core/NotchRow.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"61372c165ba50aad8eb9fc95b6556eebb1701f95287c97861ac63105b00b6463"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/Overlay/SystemAppearance.swift:440-446 | prototype/PinnedPreview.swift:56-62 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/Overlay/SystemAppearance.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e37d40c10d0b2095716f84fc1b3b7bff6711245c4590d4b3afd7011feaf800"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/WS2CodexApprovalHost.swift:487-490 | prototype/App/WS2HookApprovalHost.swift:417-420 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"7837d1904d41e48d16500dd4d32b73ce183f5aacd0a99c78b97b43a5675b7563"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/Effects/SettingsShotProbe.swift:163-169 | prototype/WindowBrowser/WindowBrowserShotProbe.swift:344-350 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/Effects/SettingsShotProbe.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"10811e286220a44a815d230480970d71e1bb4212865eb0b4e4327087fd1f26a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/Core/HitchMeter.swift:38-43 | tools/probes/FaceFeaturePrintProbe.swift:15-19 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/Core/HitchMeter.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3a80a59e536d553d2f14db7d287cba8b4c54bc628e79a3a12c89cb59648656"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prototype/App/DownloadActivitySource.swift:53-64 | prototype/App/ScrollStripRun.swift:1382-1393 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"prototype/App/DownloadActivitySource.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eb29c73001b3bdf551a922497cd0b6bf6c713ed09acc4208ecb3bfbffd16d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): prototype/App/Preferences.swift:190-197 | prototype/App/Preferences.swift:200-205 | prototype/Effects/DuoSettingsWindow.swift:639-646 | prototype/Effects/DuoSettingsWindow.swift:649-654 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Preferences.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46fae88f65cd7ec1532121d7f99507bed3629811f1aa92f0cdd42459931fb8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/Core/NowPlayingCardLogic.swift:321-325 | prototype/Core/NowPlayingCardLogic.swift:328-331 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/Core/NowPlayingCardLogic.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfcf4727b9fba44cad766abc164c9d51345b69f0de0e687d831e49e12490599"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/WindowBrowser/WindowBrowserCardView.swift:210-220 | prototype/WindowBrowser/WindowBrowserSelectionDetailView.swift:66-77 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/WindowBrowser/WindowBrowserCardView.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"91595b9bd4cdaa1a1f246c37d67fa026f8e9c05688ab072a7f5545cd8cbf935e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/Core/ScrollStrip.swift:437-441 | prototype/Core/ScrollStrip.swift:444-448 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a61b18b5b846a9dfb04cec2c34ffbea81b6f27999ebd0838498dfca496efb47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/WindowBrowser/DockHoverObserver.swift:553-561 | prototype/WindowBrowser/DockHoverProbe.swift:265-273 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/WindowBrowser/DockHoverObserver.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e90206fc3ff52ff3036e982077a3a6ab667bdab98c49d4c307e20c9efc7e327"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): prototype/App/GestureProbe.swift:2533-2536 | prototype/App/GlanceProbe.swift:1509-1512 | prototype/Core/ArrangementHistory.swift:90-93 | prototype/Core/DisplayRefit.swift:84-87 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"1631b583ec0d2c336a94fd4c30ae52b13aeab4d8fe0f7693b3dfb81487f3675f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/App/WS2ConductorView.swift:13-18 | prototype/App/WS2ModelPickerView.swift:9-13 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/App/WS2ConductorView.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c8da864c70c1b08c374d59593efd9b3fd95d4bdbc7a5ae7b6106dd70419091"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/WS2RemoteHost.swift:987-990 | tools/probes/remote-device/Handshake.swift:192-195 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef58c0449a5863584dd2e449a77c14df33bb37d89776ac1793c34a5e3509a0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/Core/DownloadActivity.swift:294-298 | prototype/Core/DownloadActivity.swift:300-304 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/Core/DownloadActivity.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2356d29d9b78264aba25a66b66e069f6064b135f817da717309143f9a881e76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prototype/App/CarPlaySurface.swift:160-172 | prototype/App/CarPlaySurface.swift:232-243 \u2014 These two members are one piece of code written twice and then edited apart: 12 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":"prototype/App/CarPlaySurface.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7fde42e1bf2d47f4f2d031101922863e1a67e12ddb306b54997d4e5e17fafa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/FileShelfView.swift:795-801 | prototype/App/LaunchpadOpenWith.swift:117-124 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/FileShelfView.swift"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b4432784a5fde32f5e7764852ac17957d89de4d699f6232fb0a3013ab57ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/Preferences.swift:978-981 | prototype/App/Preferences.swift:984-987 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/Preferences.swift"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e7f1529e1696888b8d0f03121a5b5cf10c00869739a84a3dda007e9d1e4c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/App/WS2GameControllerBridge.swift:202-207 | prototype/App/WS2GamepadDesktopControl.swift:105-116 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/App/WS2GameControllerBridge.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c432fccfb0647433eb530d9c81b6450f7017971e14fbda151ed9a4733a2e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prototype/Effects/AppleSPUAccelerometer.swift:101-110 | prototype/Effects/LidAngleSource.swift:68-81 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"prototype/Effects/AppleSPUAccelerometer.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"43722feaebc975b01a76e3fe0facf21559e438725f38de0ad5106d6b3252dcdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/DockScenariosProbe.swift:308-312 | prototype/App/LockScreenPasswordEntry.swift:87-90 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea71c67d56c2cb0ef0e3550638141faf6366189555168618fe6eaba68124368"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/MacVoiceTranscriber.swift:170-175 | prototype/App/SpeechVoiceprintCapture.swift:218-221 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/MacVoiceTranscriber.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b4d10d2b2512aa9b2b13e28509e182c1b55f13d11797abe17cd35a09ea1e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): prototype/Core/CodexWire.swift:98-101 | prototype/Core/CodexWire.swift:102-105 | prototype/Core/CodexWire.swift:106-109 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/CodexWire.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8dff14abc043d7a6f993e1c7b683d0beb483936edf90acca118ee709f4f5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prototype/App/MenuBarController.swift:320-332 | prototype/Overlay/ShadeStrip.swift:404-412 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"prototype/App/MenuBarController.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"396cff973ceb7263f83ec99504eb32ccb6fcf2805675a80c12f58efb23fc8474"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/PictureInPicture.swift:730-733 | prototype/App/PictureInPicture.swift:735-738 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c41ee2ad9e108c112062a595f4d1a7bdab1b6fde94831e4ee8ae4e162a7b681"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prototype/App/VoiceprintKeychainStore.swift:14-21 | prototype/Support/WS2KeychainPeerStorage.swift:14-21 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"prototype/App/VoiceprintKeychainStore.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9b7f578131a9f1cccdd8d2ccf59951ed2ba787581ccb137df41e5604b2fefd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): prototype/App/WS2CodexApprovalHost.swift:56-60 | prototype/App/WS2CodexApprovalHost.swift:61-64 | prototype/App/WS2CodexApprovalHost.swift:65-69 | prototype/App/WS2CodexApprovalHost.swift:70-74 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c18f4e4d0bdd4efb24b846985bec494b3fdfa969ad6814143db8821bfaf5e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/Support/WS2CompanionCrypto.swift:160-163 | prototype/Support/WS2PairSetupCrypto.swift:39-42 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/Support/WS2CompanionCrypto.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0d7f836907a9eeb771ff6f3518b8094b7c0bb8b6df9e86dc85910ba37aa759"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/CalendarPresenter.swift:44-48 | prototype/App/SettingsExplainerView.swift:483-486 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/CalendarPresenter.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37b4b4377795cc1ba37665c06823ed9604fd20cdb6d02febd3a37bb5b22d802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): prototype/App/TrackpadGestureSupport.swift:14-19 | prototype/Window/AXWindow.swift:118-124 | prototype/Window/AXWindow.swift:485-494 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/TrackpadGestureSupport.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33b713f9bbd223756b8d15341c282f75a38f044f67c1af8e2482d644a5abbc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prototype/App/DockScenariosProbe.swift:288-290 | prototype/PinnedPreview.swift:1651-1653 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecd3e2b180736a5a0e9408c74ba1a61d8339667260f22c73ae54e1fd59fc78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/App/SlideOverDropHint.swift:53-58 | prototype/App/PictureInPictureViews.swift:345-349 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/App/SlideOverDropHint.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a4edeac1b6f20687fa9d5faa1f04865012de854f804cac964b295c73263a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prototype/App/AirPodsBatterySource.swift:167-174 | prototype/App/NotchLevelObserver.swift:414-423 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"prototype/App/AirPodsBatterySource.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9402eca708fcf3c232a48df031a78c35099274cf3b4f9016bcfe4aeb9caf0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prototype/App/WS2InputSettingsPane.swift:261-270 | prototype/App/WS2ConductorSettings.swift:157-164 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"prototype/App/WS2InputSettingsPane.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ba6fba4477463e592c863d0d81f349f5ad7a41d2ce1f9e3b2a90aa53788f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/Window/AXWindow.swift:141-145 | prototype/Window/AXWindow.swift:651-656 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/Window/AXWindow.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"78127c44833b3efe50d25ae2d592c7b842be44204c35e579fbf286f51023e1ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): prototype/App/Notch/NotchController.swift:836-843 | prototype/App/NotchLevelObserver.swift:215-226 | prototype/App/ScrollStripRun.swift:1094-1104 | prototype/App/WS2HomePlayPresenceSource.swift:104-112 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7564762d043fd564636a89d6db76a544e479a68da47ab003501b340281635940"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/PictureInPictureViews.swift:351-357 | prototype/App/SlideOverDropHint.swift:60-68 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/PictureInPictureViews.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7343af4953492e3eb8326a530e6993fcea54ba4c912541f9288184bd0fb186ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/UnlockPasswordKeychainStore.swift:11-17 | prototype/Core/FaceAutofill.swift:217-223 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/UnlockPasswordKeychainStore.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6513a4542d840130c0c3f6c9e45417ad7ddd4fa0f30a118b2b8a72bd4b34a91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/Core/CountdownTimer.swift:56-60 | prototype/Core/FocusTimer.swift:87-90 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/Core/CountdownTimer.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c70dc27a54a667384b088b556d830c3e762f8eb42d3ae1333b566337ba25ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prototype/WindowBrowser/DockHoverObserver.swift:366-374 | prototype/WindowBrowser/DockHoverProbe.swift:256-263 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"prototype/WindowBrowser/DockHoverObserver.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e242d5d7ed7f9be27fd7f54e27c2098f867de96868322abaebc649b1cc6b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): prototype/App/AuthorizationService.swift:32-36 | prototype/Effects/DuoController.swift:175-180 | prototype/Effects/LockOverlayController.swift:58-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/AuthorizationService.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e6bd111e70d13e6e4f68a903705bb617de8b1fded3ead88a562db4b5cb41e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/App/HubHoldProbe.swift:11-16 | prototype/App/HubHoldProbe.swift:18-23 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/App/HubHoldProbe.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7929e9c9d0b009d6b130be1d79c6d2fe5ffe3c1fe414efcf0ffe369b81432e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): prototype/App/PictureInPictureViews.swift:285-288 | prototype/App/SlideOver.swift:1298-1301 | prototype/App/SlideOverDropHint.swift:133-136 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PictureInPictureViews.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f616290f146794491244fb2e74d8669769cb192e28ed7dc87af0731f8be0b9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/MiddleTitlebarTap.swift:257-260 | prototype/App/TrackpadGestures.swift:1849-1852 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/MiddleTitlebarTap.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a771caac6ab35ce33ba26435735da4e606167d2e40477147bbb8f9955ab3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prototype/Core/FlickMotion.swift:498-500 | prototype/Core/WindowProxyMotion.swift:122-125 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"prototype/Core/FlickMotion.swift"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4d249ee2c39b68ffcf77d98bf33e0f5710d3bf86d1a04f9ad8b6c33d62700b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/Window/AXWindow.swift:9-17 | prototype/WindowBrowser/WindowBrowserLiveAppProbe.swift:347-352 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/Window/AXWindow.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c773714e3cb67a9ef1b957b4a3fe857cec27f6b0f028cba4944afbccc7a3f417"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/Window/AXWindow.swift:403-409 | prototype/Core/MissionControlPick.swift:116-120 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/Window/AXWindow.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f960de87cd1f1d63498694f959bd6fc80f9aca266b52b8a6008377603ec3c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/App/LaunchpadLibrary.swift:438-442 | prototype/App/LaunchpadView.swift:262-267 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/App/LaunchpadLibrary.swift"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"30436d90d6b599c3c57733e8a6d94e6f10b2f2891bfaa31caadebf7e107987cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/App/SlideOver.swift:1251-1257 | prototype/App/SlideOverChrome.swift:422-427 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/App/SlideOver.swift"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d384b0e82c67c9aaadec09b315ac99f02dd676cbb2d632f13e503949c05121dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): prototype/App/ConductorClaudeProbe.swift:35-39 | prototype/App/FaceEnrollmentProbe.swift:23-27 | prototype/App/HookApprovalProbe.swift:26-30 | prototype/App/SessionPeekProbe.swift:18-20 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ConductorClaudeProbe.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"23122c5d2907d64224bfadc7c2b40ca946e9f5dd63d83f7b7a18c480cacaa6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/Notch/NotchCompactViews.swift:487-494 | prototype/App/FileShelfView.swift:820-826 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b32ed33dbc2b54a40a2914b8994328d8498f4ab9213a5860179b388b828fff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/Effects/SettingsSearchSidebar.swift:157-164 | prototype/Effects/DuoSettingsWindow.swift:702-708 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/Effects/SettingsSearchSidebar.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba81cb783d643fc91b7ab8716c7cea7d1a596da54fe615d3168d07ff28bdbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/Window/Coordinates.swift:12-15 | prototype/WindowBrowser/WindowBrowserGeometry.swift:344-348 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/Window/Coordinates.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9feb6d3761a6dab46b881ca22ed7bbb83aeca548ec0eaabbd13bfef10d198fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): tools/probes/WheelAssociationProbe.swift:52-58 | prototype/App/PeripheralBatterySource.swift:150-154 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"tools/probes/WheelAssociationProbe.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf70e8034ef1ca6d7e6a0c9e86d4ce4c6506ee7adde6660a974e06afc2fa6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prototype/App/Carry.swift:458-468 | prototype/App/ScrollStripRun.swift:1474-1484 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"prototype/App/Carry.swift"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fad62da4c38fe55356d803d854ce6850bf4f9d8a356e18e189b22c01ae97af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/App/FileShelfView.swift:337-341 | prototype/App/NotchActivityController.swift:647-651 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/App/FileShelfView.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e2f38431650863192e7b0bbb8aabd2dad0893e72d64b418a640a1e129fc1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prototype/App/WS2GestureRows.swift:211-217 | prototype/App/WS2InputSettingsPane.swift:287-293 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"prototype/App/WS2GestureRows.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c95e68e2d39745db0eb3cfbd48eed2bce714b794f6e992749a110295be5644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/Core/BystanderPolicy.swift:148-151 | prototype/Core/FaceGestureTracker.swift:337-340 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/Core/BystanderPolicy.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"08986eec71dde08f98e31c0815e9b993b47f197a192540f0ca9955ef81bc5891"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): prototype/App/SilentMilestoneProbe.swift:521-524 | prototype/WindowBrowser/DockHoverObserver.swift:596-600 | prototype/WindowBrowser/DockHoverProbe.swift:275-279 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"7758e43f87d1100fd963520e3edc5be761e4c574d869d219e3c2ee65f281c758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/App/WS2FoldCallbackGuard.swift:122-126 | prototype/Window/AXWindow.swift:90-95 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/App/WS2FoldCallbackGuard.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a828efd2b56fdec5b3268abdef1ccbe47a325a8068be57c72a63950812f4e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prototype/Core/ScrollStrip.swift:885-887 | prototype/Core/StripWidthMemory.swift:77-79 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d750f86fdf0add5983e1e08e1c1e71686decfd391263c709876db3fa3dfa856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/DockScenariosProbe.swift:297-300 | prototype/WindowBrowser/DockHoverProbe.swift:1224-1230 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"418ce409dc9ec38a4ee6fdf9998ea534290ffaf3934795ea70d5f3f411fab6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/App/Motion.swift:26-31 | prototype/Overlay/GlancePanel.swift:242-247 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/App/Motion.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c0a06a9a6cc48cee2a36493a3ac9f7ac046962773adc093810b0489d104cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prototype/App/WS2ConductorSettingsCore.swift:25-27 | prototype/App/WS2InputPreferences.swift:60-62 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"prototype/App/WS2ConductorSettingsCore.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcca2816ba532367ccd8a79aa70b86e54ee1a7004b35b139912d02e1273806b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/Effects/AppleSPUAccelerometer.swift:273-278 | prototype/Effects/LidAngleSource.swift:221-226 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/Effects/AppleSPUAccelerometer.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"5540c9d8a2e86268ed9c34a202914fe80cfe131d27f571b6424e76b46f19f452"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/FaceTemplateKeychainStore.swift:75-78 | prototype/App/FaceThresholdCalibrationStore.swift:53-56 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/FaceTemplateKeychainStore.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"021eab8c0ac3457715f85c3d98d1753b4944027fb1d0b9bf654b447a06633dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/Overlay/ShadeStrip.swift:599-603 | prototype/PinnedPreviewPanel.swift:161-166 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc5da1b47a75f3aec6f3b7dfc7f6c6b9a70b8c2021d4c8bd08d90020552ab9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prototype/App/Carry.swift:80-84 | prototype/App/MenuBarController.swift:307-313 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"prototype/App/Carry.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5b136fe42f87e5a9498ee8f45702a47b7f143102144c74f416a9460f7b1d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): prototype/App/Notch/NotchPanel.swift:759-762 | prototype/App/NotchAuthentication.swift:271-274 | prototype/App/WS2RemoteHost.swift:1295-1298 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcf8b0748e7ca973747769a70f0235bfa9770a51a3830433ed91a2fc2a1cca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): prototype/App/CountdownTimerHost.swift:69-69 | prototype/Core/CalendarPresentation.swift:116-116 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"prototype/App/CountdownTimerHost.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7ad618aab54921384c97b9735cc27432850847c16e2321365e2b90eaeba70c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prototype/App/WS2ConductorSettings.swift:165-170 | prototype/App/WS2InputSettingsPane.swift:279-285 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"prototype/App/WS2ConductorSettings.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d1f0b3ac9dc88d74a53c9de0ba9fb352dc7b39fd224e28eaac40c433631d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): prototype/Core/ExplainerScenes\u002BCommon.swift:21-21 | prototype/Core/ExplainerScenes\u002BShortcuts.swift:127-127 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"prototype/Core/ExplainerScenes\u002BCommon.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"926e7c0f9f0c4ee09d6fdff4338902b7245bc1bc635bbb8c523bac8d6df7bd6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/Core/UpdateModels.swift:117-120 | prototype/Recovery/DurableShadeJournal.swift:6-10 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/Core/UpdateModels.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1d5c5f7d410b4218386fa28a662ccba353c97046c48ddf0ec0c01c95bcf286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prototype/App/PeripheralBatterySource.swift:156-158 | tools/probes/WheelAssociationProbe.swift:60-65 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"prototype/App/PeripheralBatterySource.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb3b2f8c6e6534a5d0cd1e7da4f638b7cb2150c0f40d64b39c85eaf8cd9d495"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/MiddleTitlebarTap.swift:262-265 | prototype/App/ScrollTap.swift:319-323 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/MiddleTitlebarTap.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e50fd1d1b3e7e61e2ea480bc6c0ff0f8296d28cd8709af18e7a5b2c1cc25c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/NotchFocusController.swift:130-133 | prototype/Core/NotchRow.swift:317-320 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/NotchFocusController.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bef9a5f3b6d5c9ccff129ba74d5febe281bd37b5c112d94e74362a42de6e4f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/Preferences.swift:1578-1581 | prototype/App/WS2AppRuntime.swift:736-739 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/Preferences.swift"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"a142914b278253e3fff179182c963bde5cdccc5c31faabdc71eebf835aa238f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/Core/UpdateVersion.swift:37-40 | tools/companion-probe/main.swift:131-134 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/Core/UpdateVersion.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e8e90bab77b910c4f7397bf21d16fa7d45c3dbdc486fd42af50c43603c60d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/WindowBrowser/WindowBrowserCardView.swift:420-423 | prototype/WindowBrowser/WindowBrowserListRowView.swift:266-269 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/WindowBrowser/WindowBrowserCardView.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ce573acb7c82de1e6faf2f36210800311dad5cc73464839bd8e8ceb9f49337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): prototype/App/DockSwipe.swift:35-35 | prototype/App/TrackpadGestures.swift:144-144 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"prototype/App/DockSwipe.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e064471fe3c64aca5addfe9671d7570000f7c042b2a76b7076994995a006ac78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/PictureInPictureViews.swift:267-270 | prototype/App/SlideOver.swift:1563-1566 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/PictureInPictureViews.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e82fe63fa55aaf5b482e383ee6858dbb3447643f4c73bb9193732b022f96bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/Preferences.swift:54-58 | prototype/WindowShade.swift:993-996 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/Preferences.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d45c9700899e46c3ffb9f0d8cb32f7859b169e6fc731cb3929c118d9ef21154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prototype/App/Thumbnail.swift:31-33 | prototype/Overlay/ShadeStrip.swift:143-145 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"prototype/App/Thumbnail.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bbd9490471fca5dbb910dbe57974247da64eecaa1bc5ded7204c11ef21d5da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/Core/NotchActivities.swift:1177-1180 | prototype/Window/AppWindows.swift:159-162 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bf3565540f39c26f698497e5fec835c1c662d20b703825836249dac17e8bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prototype/Core/WindowSwitcherSearch.swift:15-17 | prototype/WindowBrowser/WindowBrowserModels.swift:362-366 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"prototype/Core/WindowSwitcherSearch.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fbfbd4c053223feab29d4792673e4d208dea62a0d9d1e30361b49933087a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): prototype/App/WS2RemoteEffects.swift:275-277 | prototype/App/WS2RemoteHost.swift:934-934 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"prototype/App/WS2RemoteEffects.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"031643af68a0482119fc4840a2aecadc1aef9a3281752f7287bd706bf0cab127"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): prototype/Core/ExplainerScenes\u002BBrowser.swift:31-31 | prototype/Core/ExplainerScenes\u002BCommon.swift:15-15 | prototype/Core/ExplainerScenes\u002BNotch.swift:15-15 | prototype/Core/ExplainerScenes\u002BShade.swift:38-38 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ExplainerScenes\u002BBrowser.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ca19c6019f91de0a2d9b7842b5a99fb1dc26c6be5847487ec912d8365ef84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): prototype/App/FaceEnrollmentProbe.swift:29-32 | prototype/App/HookApprovalProbe.swift:32-35 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"prototype/App/FaceEnrollmentProbe.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0212da94398daeeccd51d1dba80e990ecf82b41ed13ac16319be9e8c60166e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): prototype/App/ScrollStripPeek.swift:355-357 | prototype/App/TrackpadGestureSupport.swift:39-41 | prototype/App/TrackpadGestures.swift:1431-1431 | prototype/Window/AXWindow.swift:174-176 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ScrollStripPeek.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b110376f3a374fdc2b487a0208a40f257f8f8bc9ca7096faa939ad488517fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): prototype/App/FinderAliasProbe.swift:68-87 | prototype/App/FinderColumnsProbe.swift:40-59 \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":"prototype/App/FinderAliasProbe.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4991d79ac865e4a39d7e392b0484ed2845be0ba5b94852ff243263d694461204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201319 lines \u00D7 3): prototype/Effects/DuoSettingsWindow.swift:520-523 | tools/archive/design-qa-batch23-29/BrowserSettingsPreview.swift:31-49 | tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:54-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/archive/design-qa-batch23-29/BrowserSettingsPreview.swift: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. 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, \u0060tools/archive/design-qa-batch23-29/BrowserSettingsPreview.swift:52\u0060 calls \u0060constraint\u0060 and \u0060tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:75\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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"5980e3b3dbf228a8b611a7a20be4af08f7d3e03ab59d64290a731d883461fedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): prototype/App/MiddleTitlebarTap.swift:70-86 | prototype/App/ScrollTap.swift:117-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/MiddleTitlebarTap.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92f757a7b48833f475e1a6ed014ed8060ec0ad8067268014984d8ae4b940bf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): prototype/App/HabitKeys.swift:126-141 | prototype/App/MissionControlKeys.swift:100-115 \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 \u0060prototype/App/HabitKeys.swift:126\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":"prototype/App/HabitKeys.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2323ea74f2e7cfc1a18beb48c092f19035f48be8c7c277327c952a13e234ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): prototype/Overlay/PreviewSurfaces.swift:18-32 | prototype/PinnedPreviewPanel.swift:182-196 \u2014 before extracting anything, compare \u0060prototype/Overlay/PreviewSurfaces.swift\u0060 and \u0060prototype/PinnedPreviewPanel.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Overlay/PreviewSurfaces.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bf381a10dadc9294184ae0521f867dd7e202796dfb563c8611a7bac9e15015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): prototype/App/LaunchpadUninstall.swift:235-248 | prototype/App/LaunchpadUninstall.swift:280-293 \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 \u0060prototype/App/LaunchpadUninstall.swift:235\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":"prototype/App/LaunchpadUninstall.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0945584735506e8c1cde9499a1e9c2b88a87e2aa6a5cd55e42799103e04ae8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): prototype/Capture/FastCapture.swift:77-92 | prototype/Capture/WindowSnapshot.swift:79-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 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":"prototype/Capture/FastCapture.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ae41f43672f07dd0ef4258268cb25c2a70796e01d54b29a0d603e48bb6b5d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): prototype/App/BystanderTuck.swift:79-102 | prototype/App/PresenceLockDriver.swift:73-96 \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":"prototype/App/BystanderTuck.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0442297c9dc612e2fc3ce8a72cd5ce0fc41154debc3b0e0d94bfeedde2a2ec2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201313 lines \u00D7 6): prototype/App/Preferences.swift:771-783 | prototype/Effects/DuoSettingsWindow.swift:730-742 | tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:16-16 | tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.swift:16-16 | tools/archive/design-qa-batch23-29/PrivacyRowPreview.swift:28-28 | tools/archive/design-qa-batch23-29/PrivacyRowPreview.swift:29-29 \u2014 there are 6 copies across 5 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/Preferences.swift:771\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Preferences.swift"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"95162fee0690790defc8e2157c1b0e13c599a2cadcfe5544e8c0f95864298462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): prototype/App/FaceCalibrationRecorder.swift:310-321 | prototype/App/FaceEnrollmentHost.swift:84-95 \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 \u0060prototype/App/FaceCalibrationRecorder.swift:310\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":"prototype/App/FaceCalibrationRecorder.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e0127d6e264678934152ebc0831cb7a131fdcd0fea5cd5a40380c40a654308"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): prototype/Effects/WindowFoldEffects.swift:368-379 | prototype/Effects/WindowFoldEffects.swift:591-602 \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 \u0060prototype/Effects/WindowFoldEffects.swift:368\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060prototype/Effects/WindowFoldEffects.swift:367\u0060 calls \u0060FoldTransition\u0060 and \u0060prototype/Effects/WindowFoldEffects.swift:590\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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c65c9262931e4af249cd265fbcfa15ecd5f9b33abd4cf81807cb3d3b5cd27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): prototype/Overlay/GlancePanel.swift:315-326 | prototype/Overlay/GlancePanel.swift:363-374 \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":"prototype/Overlay/GlancePanel.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8acf326970efbeebe6be82056b6d3d3413017991389ceb3c1634618a6e3f564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): prototype/Overlay/GlancePanel.swift:403-414 | prototype/Overlay/GlancePanel.swift:435-446 \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 \u0060prototype/Overlay/GlancePanel.swift:403\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":"prototype/Overlay/GlancePanel.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"656e668abbb45a7fd423e23f6fbbcb49c46d614affbe34fdf878a7b22b54bde9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prototype/App/FinderAliasProbe.swift:23-33 | prototype/App/FinderColumnsProbe.swift:15-25 \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":"prototype/App/FinderAliasProbe.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b96df7964d1b0c4dcd54b272579365f3ad50790883f848f9a2970fd80b6ba25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): prototype/App/Notch/NotchPanel.swift:1965-1974 | prototype/App/Notch/NotchPanel.swift:1998-2008 \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 \u0060prototype/App/Notch/NotchPanel.swift:1965\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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e2336aeb016107b072dead1bdd13ca0dfeebd1c8398947bfdf50a43156c2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prototype/App/OverlayFactory.swift:46-56 | prototype/App/OverlayFactory.swift:150-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/OverlayFactory.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3a22bebf874b7e01ad65ce3734c79ddfa4f9fba94d096c46e894bc70a21fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): prototype/App/StatusBarIcon.swift:6-16 | prototype/Watchdog/GuardIcon.swift:8-15 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/StatusBarIcon.swift:6\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/StatusBarIcon.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"83adce30d0ade7bc6230de8afe83a8505742e9c2b0f4522619d71268a022bd60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prototype/App/WS2ConductorSettings.swift:5-15 | prototype/App/WS2InputSettingsPane.swift:296-306 \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 \u0060prototype/App/WS2ConductorSettings.swift:5\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":"prototype/App/WS2ConductorSettings.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24ab133d3e19f63c15015421362f30ff3e65361104a5b514e3b27ad3d7feaf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): prototype/App/WindowSwitcher.swift:69-78 | prototype/WindowShade.swift:1053-1063 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WindowSwitcher.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"388338cbb4a78fb8ac6f9be0d0afec425380430c7dfa9dcdfb13c1ed2feff27a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prototype/Core/NotchActivities.swift:158-168 | prototype/Core/NotchActivities.swift:204-214 \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 \u0060prototype/Core/NotchActivities.swift:158\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":"prototype/Core/NotchActivities.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a25fd7350075383fb2856beeda865c07ab9bfa53db6c76a1a610753c2b68d65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): prototype/Effects/SettingsShotProbe.swift:174-185 | prototype/WindowBrowser/WindowBrowserShotProbe.swift:370-381 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/Effects/SettingsShotProbe.swift:174\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":"prototype/Effects/SettingsShotProbe.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d13742182e0c59205450416f77ee6eb62014875cdb256e0f68b2e2e1a5c1200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prototype/WindowBrowser/WindowPlacement.swift:290-300 | prototype/WindowBrowser/WindowPlacement.swift:335-345 \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 \u0060prototype/WindowBrowser/WindowPlacement.swift:290\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":"prototype/WindowBrowser/WindowPlacement.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9838186efbc5b15d0b66427d843f595d28def775f9aeece560432571fedf9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): prototype/App/ConductorClaudeProbe.swift:24-33 | prototype/App/FaceEnrollmentProbe.swift:12-21 | prototype/App/HookApprovalProbe.swift:15-24 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ConductorClaudeProbe.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb70232492a272ecd023827702ef84dee5084e6416070bedfa475f5317777fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): prototype/App/FoldTransaction.swift:428-437 | prototype/Window/AXWindow.swift:127-135 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/FoldTransaction.swift:428\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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d791251955f2373f078b403500a463586261568dc2a10896da546921b8a6786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): prototype/App/GapProbesFoldDesktops.swift:11-20 | prototype/App/GapProbesSlideOver.swift:139-147 \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. 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":"prototype/App/GapProbesFoldDesktops.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3def5933d882d09ac0b602819cb1e6ff135f18fee6e84bdeed4352c50c89ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): prototype/App/MissionControlKeys.swift:54-63 | prototype/App/SLSOffscreenCheckProbe.swift:185-192 \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 \u0060prototype/App/MissionControlKeys.swift:54\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 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":"prototype/App/MissionControlKeys.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b4ad619485c85d11121b3425b5068765f4248449da59f230845d5fcf2028e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prototype/App/NowPlayingStream.swift:242-251 | prototype/App/NowPlayingStream.swift:263-272 \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 \u0060prototype/App/NowPlayingStream.swift:242\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 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":"prototype/App/NowPlayingStream.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f49badced8f11c0a3dae305b147572faca961e8f12fa72d03ac2ff27fff166c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prototype/App/Thumbnail.swift:107-116 | prototype/Overlay/PaperSurfaceStyle.swift:85-94 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/Thumbnail.swift:107\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":"prototype/App/Thumbnail.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"92626dc4df0ff635fe3f2d532811ef8898cfb04e1249aa073e1784b2d8d64a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): prototype/App/WS2ConductorPage.swift:987-996 | prototype/App/WS2ModelPickerView.swift:188-196 \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 \u0060prototype/App/WS2ConductorPage.swift:987\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 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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"53be713cb3014527294569ffd58fec65642f31004b51e52772e17d3bf51bab31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): prototype/PinnedPreview.swift:1072-1081 | prototype/PinnedPreview.swift:1114-1121 \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 \u0060prototype/PinnedPreview.swift:1072\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. 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":"prototype/PinnedPreview.swift"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12b41be52fe32e0214fb50a1720be19c77e1a4780e712c01f78ce958c5412a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserCardView.swift:434-443 | prototype/WindowBrowser/WindowBrowserListRowView.swift:280-289 \u2014 before extracting anything, compare \u0060prototype/WindowBrowser/WindowBrowserCardView.swift\u0060 and \u0060prototype/WindowBrowser/WindowBrowserListRowView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 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":"prototype/WindowBrowser/WindowBrowserCardView.swift"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8771834067d00bda53c405fd416da2ff70f2d24338e72369b64338b54faa5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/EventTap.swift:265-273 | prototype/App/EventTap.swift:363-371 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/EventTap.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c068ac1ad914b4545a6433f69e9cfe509da78c9b9b099547be7382eaf9d8f701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/EventTap.swift:348-356 | prototype/App/EventTapCallback.swift:123-131 \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. 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":"prototype/App/EventTap.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c5515469e7a355c68f7852d3449940d1c9401a7bd093fdd1609264a32a69a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/FaceCalibrationRecorder.swift:44-52 | tools/probes/FaceFeaturePrintProbe.swift:111-119 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceCalibrationRecorder.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"081ff276470c4f49aec0c368071bac3a2c45416c68552517fa8a9075dd5671e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/FaceTemplateKeychainStore.swift:65-73 | prototype/App/FaceThresholdCalibrationStore.swift:43-51 \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 \u0060prototype/App/FaceTemplateKeychainStore.swift:65\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":"prototype/App/FaceTemplateKeychainStore.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a520f36cebb27de7a411fe0f1dd4d52ddc8cffff1a87ed980a91b68c2033b3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/GapProbesSupport.swift:81-89 | prototype/App/GestureProbe.swift:1048-1056 \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, \u0060prototype/App/GapProbesSupport.swift:90\u0060 calls \u0060isActive\u0060, \u0060onScreenWindows\u0060 and \u0060prototype/App/GestureProbe.swift:1057\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":"prototype/App/GapProbesSupport.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45d2c6d7483a450a007f41fdfc9c59629b598543211fe9df3c5b6f60e0906ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/GestureProbe.swift:1736-1744 | prototype/App/LaunchpadKeysProbe.swift:28-36 \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. 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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51ae5131739951d8c0d566fd94c67aff12abb9aba657a440bb22edc4aa6762d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/LaunchpadFolders.swift:834-842 | prototype/App/LaunchpadView.swift:1344-1352 \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 \u0060prototype/App/LaunchpadFolders.swift:834\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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcad4959b460cfbacbd9cb96454fd07a6cdaff671b454fefdcb775c7b924e127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/WS2ConductorPage.swift:114-122 | prototype/App/WS2SilentHost.swift:604-612 \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 \u0060prototype/App/WS2ConductorPage.swift:114\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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7d1e8efff74a3b656428c5882b61e6d2fabbbc904372456141f709f373aaf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): prototype/Effects/SettingsShotProbe.swift:191-205 | prototype/WindowBrowser/WindowBrowserShotProbe.swift:386-400 \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":"prototype/Effects/SettingsShotProbe.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aeb3a94f3fee940cfbf52cc2f852f36b5f48f704beecae12db406ae84bee63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/Overlay/PreviewSurfaces.swift:68-76 | prototype/PinnedPreviewPanel.swift:222-230 \u2014 before extracting anything, compare \u0060prototype/Overlay/PreviewSurfaces.swift\u0060 and \u0060prototype/PinnedPreviewPanel.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prototype/PinnedPreviewPanel.swift:233\u0060 calls \u0060fatalError\u0060 and \u0060prototype/Overlay/PreviewSurfaces.swift:78\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":"prototype/Overlay/PreviewSurfaces.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b27295e69a6a06728cecbb317b2e2ba8ac275d70b99572019330127dc441df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): prototype/Overlay/ShadeStrip.swift:607-615 | prototype/Overlay/ShadeStrip.swift:716-723 \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 \u0060prototype/Overlay/ShadeStrip.swift:607\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"61813d2c91ff3131ebe74a81f7035e86704a528848cd6a1d360a3eb177e7a0a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/WindowBrowser/DockHoverProbe.swift:403-411 | prototype/WindowBrowser/DockHoverProbe.swift:712-720 \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 \u0060prototype/WindowBrowser/DockHoverProbe.swift:403\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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d73caea3560187b849ab46c5504cabf0d9c6d6a5258634a3200069a83c7dee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/App/FaceTemplateKeychainStore.swift:31-38 | prototype/App/FaceThresholdCalibrationStore.swift:16-23 \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":"prototype/App/FaceTemplateKeychainStore.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"14032a69d69b1e0318071da126fc4a56ec065deb4a50a082be332798f817439a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/App/FoldExit.swift:146-153 | prototype/App/FoldExit.swift:176-183 \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":"prototype/App/FoldExit.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6c5027ba9f944558d4cbe6105f34a81b20a23ebf86277c7b5bdc4555b67007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prototype/App/GapProbesFoldDesktops.swift:24-33 | prototype/App/GapProbesSecondDisplayDesktops.swift:53-62 \u2014 before extracting anything, compare \u0060prototype/App/GapProbesFoldDesktops.swift\u0060 and \u0060prototype/App/GapProbesSecondDisplayDesktops.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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 \u0060prototype/App/GapProbesFoldDesktops.swift:24\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":"prototype/App/GapProbesFoldDesktops.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"094b3befb83476b78dfcd42e003d430680d86c3a685dffa96698670415037cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): prototype/App/GapProbesFoldDesktops.swift:69-83 | prototype/App/GapProbesSecondDisplayDesktops.swift:94-108 \u2014 before extracting anything, compare \u0060prototype/App/GapProbesFoldDesktops.swift\u0060 and \u0060prototype/App/GapProbesSecondDisplayDesktops.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prototype/App/GapProbesFoldDesktops.swift:84\u0060 calls \u0060currentSpace\u0060 and \u0060prototype/App/GapProbesSecondDisplayDesktops.swift:109\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":"prototype/App/GapProbesFoldDesktops.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd44118acbd99e23d8a495c17a3119850efdd9d40db9cdbe76bfb8953f7fcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prototype/App/LaunchpadFolders.swift:182-191 | prototype/App/LaunchpadView.swift:472-481 \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 \u0060prototype/App/LaunchpadFolders.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"33051bf042ba9097338ab9b477ec369354b3ceb694de4042e0faadf071731a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): prototype/App/Notch/NotchShoulders.swift:36-42 | prototype/WindowBrowser/WindowPlacement.swift:376-383 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/Notch/NotchShoulders.swift:36\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":"prototype/App/Notch/NotchShoulders.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8315a0aeb107d203a30af17e4c9a70e8c87d040b15647a43c96f40e2db9158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): prototype/App/Preferences.swift:780-791 | prototype/Effects/DuoSettingsWindow.swift:739-750 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/Preferences.swift:780\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":"prototype/App/Preferences.swift"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"0608e16d5b0d671f8f867845a50dc2e5a595cc930690c6a49b9381b76870fc8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/Capture/PreviewRenderer.swift:187-194 | prototype/Capture/PreviewRenderer.swift:215-222 \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 \u0060prototype/Capture/PreviewRenderer.swift:187\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":"prototype/Capture/PreviewRenderer.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5011c3cad797326410d9c7b02a64d0778c0014dc97f6e5c320b96cf8f8b1a259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/Core/InteractionCoordinator.swift:269-276 | prototype/Core/InteractionCoordinator.swift:301-308 \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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"313635eaf62bc31ec695bb0d7dff03d25b5296dd8b90cf4a6897e2beb39f171b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/Effects/FoldRenderer.swift:400-407 | prototype/Effects/FoldRenderer.swift:422-429 \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 \u0060prototype/Effects/FoldRenderer.swift:400\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":"prototype/Effects/FoldRenderer.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"57453d4f02fbb653c0f53a760ef3ea47abdb0c784139b16f1e145a87ffdf05b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): prototype/PinnedPreview.swift:329-335 | prototype/PinnedPreview.swift:859-866 \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 \u0060prototype/PinnedPreview.swift:329\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":"prototype/PinnedPreview.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"469b098339732213294d8ccd1d821654a158bc58d3cb65edcb5b4ce70a3212fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/WindowBrowser/DockHoverObserver.swift:554-561 | prototype/WindowBrowser/DockHoverProbe.swift:265-273 \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. 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":"prototype/WindowBrowser/DockHoverObserver.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e46e405357439a37e4581f604fbbece1821419ff65df5a0c1419c2628988114"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): prototype/WindowBrowser/DockHoverProbe.swift:602-609 | prototype/WindowBrowser/DockHoverProbe.swift:1170-1176 \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 \u0060prototype/WindowBrowser/DockHoverProbe.swift:602\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"4287d5df36c13880af233973fc849b4cb1f575397ee69c49a4dc48bd4bcdb319"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/WindowBrowser/WindowThumbnailService.swift:305-313 | prototype/WindowBrowser/WindowThumbnailService.swift:349-356 \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 \u0060prototype/WindowBrowser/WindowThumbnailService.swift:305\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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1849d42510fcdd6b1ebc6896dc7a56d07b9269bdb5980133b0e710f74f50296c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/WindowBrowser/WindowThumbnailService.swift:334-341 | prototype/WindowBrowser/WindowThumbnailService.swift:631-638 \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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f410b0fd2fac5fce9a0234f57e0fb2c4523dad5172c22f8f04394947042bd29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/main.swift:118-125 | prototype/main.swift:376-383 \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 \u0060prototype/main.swift:118\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":"prototype/main.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd047e8486cca7d175b814f48fe841fbfae6a0468a75feec3f35285bed2cb3c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): prototype/App/FoldExit.swift:34-40 | prototype/App/FoldExit.swift:146-152 | prototype/App/FoldExit.swift:176-182 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prototype/App/FoldExit.swift:153\u0060 calls \u0060removeValue\u0060 and \u0060prototype/App/FoldExit.swift:41\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":"prototype/App/FoldExit.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ee510f9b455203628bcb788e67a8c715273d4ad0ef37f536373d25e3704a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): prototype/App/PreferencesViews.swift:291-297 | prototype/App/WS2ConductorSettings.swift:11-17 | prototype/App/WS2InputSettingsPane.swift:302-308 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PreferencesViews.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c5efa12cfdc4edc13f6f93fa4c5a1163b28992ecddd9f6bccdb9dc209f8271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): prototype/App/SLSOffscreenCheckProbe.swift:206-212 | prototype/App/SilentCoverProbe.swift:113-119 | prototype/App/SilentMilestoneProbe.swift:559-565 \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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prototype/App/SilentMilestoneProbe.swift:568\u0060 calls \u0060hostCleanup\u0060 and \u0060prototype/App/SilentCoverProbe.swift:122\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":"prototype/App/SLSOffscreenCheckProbe.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f485a74d52c17bc1b531300a33a174903e4b531797419eb475d03711872d50d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): prototype/App/WS2ConductorSettings.swift:176-182 | prototype/Effects/DuoSettingsWindow.swift:786-792 | prototype/Effects/DuoSettingsWindow.swift:808-814 \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 \u0060prototype/App/WS2ConductorSettings.swift:176\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2ConductorSettings.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfad07404365656ed6210ea70f0aae7b23cc7b16f988378db12b02ad7550f823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/AudioLevelTap.swift:97-103 | prototype/App/AudioOutputRoutes.swift:105-111 \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":"prototype/App/AudioLevelTap.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e4d4238ab2f4466e193136b48c67fe79b77332d2a3e8a504191085793b7fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): prototype/App/BystanderTuck.swift:79-85 | prototype/App/MagicTilingRun.swift:37-40 | prototype/App/PresenceLockDriver.swift:73-79 \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 \u0060prototype/App/BystanderTuck.swift:79\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/BystanderTuck.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb272fa00df9c3391d88d317818b0cf02b0e02e1ce4116188e90986b226e63bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/FaceEnrollmentProbe.swift:152-158 | prototype/App/HookApprovalProbe.swift:68-74 \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 \u0060prototype/App/FaceEnrollmentProbe.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":"prototype/App/FaceEnrollmentProbe.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0020496ce6eb27435539e6867407a94a35c03fcb2d225acff062d9905bf6ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/FoldTransaction.swift:306-312 | prototype/App/FoldTransaction.swift:1025-1033 \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 \u0060prototype/App/FoldTransaction.swift:306\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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecc400a9b4b7919f78c9f1485c771f66d00679e8799a8e92d5f30b199512492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): prototype/App/Glance.swift:484-490 | prototype/App/Glance.swift:533-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060prototype/App/Glance.swift:530\u0060 calls \u0060thumbnail\u0060 and \u0060prototype/App/Glance.swift:481\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":"prototype/App/Glance.swift"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d35b5ea4c2766e1548489c21fb395b689987a2e6a88d930df5a7ea581d65183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/NotchLevelControl.swift:350-356 | prototype/App/WS2RemoteEffects.swift:387-393 \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. 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":"prototype/App/NotchLevelControl.swift"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1194c77072badcf9fc4855aab40d0a7fbfb94ab6d766408ec4eca44d187fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/PictureInPicture.swift:64-70 | prototype/App/SlideOver.swift:141-147 \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 \u0060prototype/App/PictureInPicture.swift:64\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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d719563b199e9c7daee7ffdea3536acb1a287d718287ae60189f5e72c5672b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/SilentCoverProbe.swift:19-25 | prototype/App/SilentMilestoneProbe.swift:34-40 \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":"prototype/App/SilentCoverProbe.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc9a7469622f041c5e262a1a9bfc7e112db2e3675b1b5ded4a6ef1ee0c25474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/SoakLedger.swift:156-164 | prototype/App/SoakLedger.swift:196-204 \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 \u0060prototype/App/SoakLedger.swift:156\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, \u0060prototype/App/SoakLedger.swift:205\u0060 calls \u0060onscreen\u0060, \u0060unavailable\u0060 and \u0060prototype/App/SoakLedger.swift:165\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":"prototype/App/SoakLedger.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df07d11cc900166f80334f14bae1c58624a71317d06caf34de86349aedc8ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/StatusBarIcon.swift:27-34 | prototype/Watchdog/GuardIcon.swift:21-27 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/StatusBarIcon.swift:27\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/StatusBarIcon.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1255d700fe6ce6438cb18389f8f281b238b9aa62c609ce4e6db77f78667d08fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/Core/FaceGestureTracker.swift:19-25 | tools/liveness-lab/LivenessChallenge.swift:8-14 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"326371a52a785debbf69db84f41ca4e3ceb23da3866dc41b26155e73691730dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserCardView.swift:127-135 | prototype/WindowBrowser/WindowBrowserListRowView.swift:126-134 \u2014 before extracting anything, compare \u0060prototype/WindowBrowser/WindowBrowserCardView.swift\u0060 and \u0060prototype/WindowBrowser/WindowBrowserListRowView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 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. 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":"prototype/WindowBrowser/WindowBrowserCardView.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1560ebe5e47ad6e4c38b59d6270db93a3113ea07070c3ecac226595e4b638c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserCardView.swift:330-336 | prototype/WindowBrowser/WindowBrowserSelectionDetailView.swift:111-116 \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. 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":"prototype/WindowBrowser/WindowBrowserCardView.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"545bb8586944b4f1e64fad49dc1f542f7c9c76ecc160543eba00ea903fd125df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserContentView.swift:943-949 | prototype/WindowBrowser/WindowBrowserContentView.swift:980-986 \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":"prototype/WindowBrowser/WindowBrowserContentView.swift"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ade2f2f26ae830f946ff75a86652591e4ed4b488b41ed1ebbdf8999501cbfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): prototype/App/PreferencesViews.swift:290-295 | prototype/App/WS2ConductorSettings.swift:10-15 | prototype/App/WS2InputSettingsPane.swift:301-306 | prototype/App/WhatsNew1018.swift:40-45 \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 \u0060prototype/App/PreferencesViews.swift:290\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":"prototype/App/PreferencesViews.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f7590fd3fd325f5018441fb75223a482e6964654805af8448f775a02d9dea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): prototype/App/CountdownTimerHost.swift:123-128 | prototype/App/NotchLevelControl.swift:350-355 | prototype/App/WS2RemoteEffects.swift:387-392 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CountdownTimerHost.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44dd23cfc1e0f415e88ae4c103be9ca4bb47699d2a8dc1cbfa849c3e03af9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): prototype/main.swift:259-264 | prototype/main.swift:266-271 | prototype/main.swift:273-278 | prototype/main.swift:279-286 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/main.swift:259\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":"prototype/main.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b303040bbe2ac3d481958651132c62b81021f2bd0fafc9a92986f91ebcb5ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): prototype/App/CheckProbes1031.swift:264-268 | prototype/App/CheckProbes1031.swift:294-299 \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 \u0060prototype/App/CheckProbes1031.swift:264\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aad61e9f47da143070ad7cd9fac25bc04117ba451200070504df999cade59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/CollapseAppearanceSettings.swift:87-92 | prototype/App/UpdaterSettings.swift:103-108 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060control\u0060 to \u0060NSView\u0060 in one and \u0060NSControl\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":"prototype/App/CollapseAppearanceSettings.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1936b8f80b9cf78f234b5dfb99acfb7c00e151bd98e4f889a30af1634845bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prototype/App/GapProbesFoldDesktops.swift:50-59 | prototype/App/GapProbesSecondDisplayDesktops.swift:78-87 \u2014 before extracting anything, compare \u0060prototype/App/GapProbesFoldDesktops.swift\u0060 and \u0060prototype/App/GapProbesSecondDisplayDesktops.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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 \u0060prototype/App/GapProbesFoldDesktops.swift:50\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":"prototype/App/GapProbesFoldDesktops.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b13a2fbe04bd5d4c460792dcaf43eca521a0d6398b614985debf6b35dda34e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/LaunchpadController.swift:358-364 | prototype/Private/DockBridge.swift:76-82 \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 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":"prototype/App/LaunchpadController.swift"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"45676849cb863d4008b54814e976a0b61baa93cf5c524f13bd03116a0a9da646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/NotchActivitySources.swift:325-330 | prototype/App/PresenceLockDriver.swift:184-189 \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. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivitySources.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78abf86fe6c15ef63c19699311611bfb33520116a7292d0c1087138d8dd95c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/Preferences.swift:967-972 | prototype/Effects/DuoSettingsWindow.swift:806-811 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Preferences.swift"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0646b4a6f9ce44209cc601af780d710c76f9e5fbf1879cd80baeb35a5906d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/Preferences.swift:1203-1208 | prototype/Effects/DuoSettingsWindow.swift:690-695 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/Preferences.swift:1203\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Preferences.swift"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34197c84ef5249e25e88eb43ee7c99db9b82f40a710f6d5c77efdad301cfd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/Preferences.swift:2161-2167 | prototype/App/WS2InputSettingsPane.swift:198-204 \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":"prototype/App/Preferences.swift"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b41092c8f6bf4165c529db344318afd22018d4fb874642b4a5c2bd185de572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): prototype/App/WS2AppRuntime.swift:136-141 | prototype/App/WS2AppRuntime.swift:151-155 \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 \u0060prototype/App/WS2AppRuntime.swift:136\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. 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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0af9bbc2bd758355bbea6d0827c5d721c5c51c0d1e6608171ef9c3f18b9b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/Capture/WindowSnapshot.swift:70-75 | prototype/WindowBrowser/WindowBrowserShotProbe.swift:613-619 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/Capture/WindowSnapshot.swift:70\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 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":"prototype/Capture/WindowSnapshot.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb181cea1186bdff69d691f6ebb1f371fa4845c699723a843af78d2e1750cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/Effects/SettingsShotProbe.swift:164-169 | prototype/WindowBrowser/WindowBrowserShotProbe.swift:345-350 \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":"prototype/Effects/SettingsShotProbe.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"77143bcdeec3df083ea9771c2e437e9294192c97676c70f9dfd9761d8293c522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/Overlay/ShadeStrip.swift:103-111 | prototype/Overlay/ShadeStrip.swift:112-120 \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 \u0060prototype/Overlay/ShadeStrip.swift:103\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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ef5e97e1b329b47580e96b34ea2c354755e7beacd31189b418942cd51212ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/Overlay/ShadeStrip.swift:566-571 | prototype/Overlay/ShadeStrip.swift:578-583 \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 \u0060prototype/Overlay/ShadeStrip.swift:566\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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"3010d046b3a7bc58b9e4e9767ca480eb987635b24c84fe424a71a6143f620a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/WindowBrowser/DockHoverProbe.swift:228-233 | prototype/WindowBrowser/DockHoverProbe.swift:524-529 \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 \u0060prototype/WindowBrowser/DockHoverProbe.swift:228\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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7807e8eb9acb4ad6b7badc55100ac027d358a4bac4d13f61ef8956b8e556fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserController.swift:3176-3181 | prototype/WindowBrowser/WindowBrowserController.swift:3200-3205 \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 \u0060prototype/WindowBrowser/WindowBrowserController.swift:3176\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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"369e7bf52fc5aa9c175feb2ed55bbce7533cb0903af49648574fbefcb632a585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/main.swift:325-330 | prototype/main.swift:347-352 \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 \u0060prototype/main.swift:325\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":"prototype/main.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a25191006c6ebd7a0e8941dcf2f9d5816161867b9114f316434a5354321700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): prototype/App/CollapseAppearanceSettings.swift:88-92 | prototype/App/Preferences.swift:990-994 | prototype/App/UpdaterSettings.swift:104-108 | prototype/Effects/DuoSettingsWindow.swift:687-691 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060control\u0060 to \u0060NSView\u0060 in one and \u0060NSControl\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, \u0060prototype/Effects/DuoSettingsWindow.swift:682\u0060 calls \u0060tag\u0060, \u0060makeRow\u0060 and \u0060prototype/App/CollapseAppearanceSettings.swift:87\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":"prototype/App/CollapseAppearanceSettings.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b079fbee1c9846f1d3f71983d773d8283c849596746446c4f7fde3d2c54fcc6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): prototype/WindowBrowser/DockHoverProbe.swift:409-413 | prototype/WindowBrowser/DockHoverProbe.swift:432-436 | prototype/WindowBrowser/DockHoverProbe.swift:718-722 | prototype/WindowBrowser/DockHoverProbe.swift:804-808 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/WindowBrowser/DockHoverProbe.swift:409\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prototype/WindowBrowser/DockHoverProbe.swift:416\u0060 calls \u0060center\u0060 and \u0060prototype/WindowBrowser/DockHoverProbe.swift:439\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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b0e7f55eaec2a2958f342430286c3d5ffda81052b0e7aa66847608f2e0e17d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): prototype/App/Preferences.swift:990-994 | prototype/Effects/DuoSettingsWindow.swift:687-691 | prototype/Effects/DuoSettingsWindow.swift:785-789 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prototype/Effects/DuoSettingsWindow.swift:692\u0060 calls \u0060NSEdgeInsets\u0060 and \u0060prototype/Effects/DuoSettingsWindow.swift:790\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":"prototype/App/Preferences.swift"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a7f1190ea9a2fcbf15fb52aa92e785723f1182e4fbd0af5b66049cddd909bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): prototype/App/SilentMilestoneProbe.swift:407-411 | prototype/App/SilentMilestoneProbe.swift:427-433 | prototype/App/SilentMilestoneProbe.swift:449-453 \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 \u0060prototype/App/SilentMilestoneProbe.swift:407\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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0691e427a0898ae6d3011c2084d0587d062d618f1f9b462eacb5e50f9c89a98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): prototype/Effects/FoldRenderer.swift:442-446 | prototype/Effects/FoldRenderer.swift:461-465 | prototype/Effects/FoldRenderer.swift:471-475 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060prototype/Effects/FoldRenderer.swift:459\u0060 calls \u0060setFragmentTexture\u0060 and \u0060prototype/Effects/FoldRenderer.swift:441\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":"prototype/Effects/FoldRenderer.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf4e9c22ced805ddd6867eb29dd48cc1bb8d710ac71be5bd4bc6302adbc3113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/AudioLevelTap.swift:106-112 | prototype/App/AudioOutputRoutes.swift:114-120 \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":"prototype/App/AudioLevelTap.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e90b26208218e091f30972bda7e64106135eb256d396227e9ef4530ace5abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): prototype/App/BystanderTuck.swift:31-45 | prototype/App/PresenceLockDriver.swift:42-56 \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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prototype/App/BystanderTuck.swift:46\u0060 calls \u0060announce\u0060 and \u0060prototype/App/PresenceLockDriver.swift:57\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":"prototype/App/BystanderTuck.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"76101cd34c0ee90a4341c6e3776546680710762be67a49a53b589d7e3fead644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): prototype/App/CalendarPresenter.swift:150-154 | prototype/App/CountdownTimerCard.swift:102-106 | prototype/App/NowPlayingCard.swift:304-307 \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 \u0060prototype/App/CalendarPresenter.swift:150\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. 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 \u0060alpha\u0060 to \u0060CGFloat = 1\u0060 in one and \u0060CGFloat = 0.92\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, \u0060prototype/App/CalendarPresenter.swift:150\u0060 calls \u0060monospacedDigitSystemFont\u0060, \u0060systemFont\u0060 and \u0060prototype/App/NowPlayingCard.swift:304\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":"prototype/App/CalendarPresenter.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4964a67f8f24c62f4ddc9c805364956dbe000f8dc0a85156da6f555a2fa74cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/CheckProbes1031.swift:255-259 | prototype/App/CheckProbes1031.swift:286-290 \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 \u0060prototype/App/CheckProbes1031.swift:255\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":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce375d34c64f7e01b6997baf699f5bfd0e341acf94a48aafb1d1eebb31c04cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/ConductorClaudeProbe.swift:84-88 | prototype/App/ConductorClaudeProbe.swift:98-102 \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":"prototype/App/ConductorClaudeProbe.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cf7afa02375f30d6401a9e88ce042e8e576800903bc221ea669bb9f579808e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/CountdownTimerHost.swift:247-253 | prototype/App/FocusTimerHost.swift:31-37 \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 \u0060prototype/App/CountdownTimerHost.swift:247\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":"prototype/App/CountdownTimerHost.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e4f1429c970aa03994e5e4d2e310a84b4e1408c0f3cd36aa37f818a1b894ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/FaceEnrollmentProbe.swift:171-175 | prototype/App/FaceEnrollmentProbe.swift:188-192 \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":"prototype/App/FaceEnrollmentProbe.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5e3cd06faf2bf0e4ccd3d808c2aa4c228fecb02a64838c775fc04d56d3b2ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/App/FoldTransaction.swift:505-512 | prototype/App/FoldTransaction.swift:518-525 \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 \u0060prototype/App/FoldTransaction.swift:505\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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"de07d19ca3603a3d6d1a1c4cb37fe7e5c81c5147a0d33d6752036fadfa19cc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/GapProbesFoldDesktops.swift:38-42 | prototype/App/GapProbesSecondDisplayDesktops.swift:69-73 \u2014 before extracting anything, compare \u0060prototype/App/GapProbesFoldDesktops.swift\u0060 and \u0060prototype/App/GapProbesSecondDisplayDesktops.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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 \u0060prototype/App/GapProbesFoldDesktops.swift:38\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":"prototype/App/GapProbesFoldDesktops.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3edfd83724e102db02dbc73c4af9650a2f7c0db31920fb42175f7a14497810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/GapProbesSlideOver.swift:90-94 | prototype/App/GapProbesSlideOver.swift:114-118 \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":"prototype/App/GapProbesSlideOver.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f27059947f2823c6148a1f5d7cd2b13f2afc22d82d81c53207dc5d01897051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 8): prototype/App/GestureProbe.swift:197-201 | prototype/App/GestureProbe.swift:227-228 | prototype/App/GestureProbe.swift:239-244 | prototype/App/GestureProbe.swift:263-264 | prototype/App/GestureProbe.swift:382-383 | prototype/App/GestureProbe.swift:386-387 | prototype/App/GestureProbe.swift:408-411 | prototype/App/GestureProbe.swift:430-431 \u2014 all 8 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. 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, \u0060prototype/App/GestureProbe.swift:380\u0060 calls \u0060sleep\u0060, \u0060seconds\u0060, \u0060key\u0060 and \u0060prototype/App/GestureProbe.swift:197\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":"prototype/App/GestureProbe.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33b7ca823430ac0d9f288dafca2940970a18ea69c34f9bd196272ae1f2d98dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/GestureProbe.swift:2442-2447 | prototype/App/GestureProbe.swift:2493-2498 \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 \u0060prototype/App/GestureProbe.swift:2442\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/GestureProbe.swift"},"region":{"startLine":2442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82189ae5c6d054d96b3798d7944a69b36d13cfad2375d59295a7d3fd69603b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prototype/App/GlanceProbe.swift:772-780 | prototype/App/GlanceProbe.swift:1237-1245 \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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb2c2f935a0e94debb8a8f7eb9b204ce7602d595164d0907e1cc5f62c23a76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/GlanceProbe.swift:792-796 | prototype/App/GlanceProbe.swift:949-953 \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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5153da3aa68a3e14aa266e8a0790cdd37bb2a8d8201b2a2353dfd2e24391d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/GlanceProbe.swift:809-813 | prototype/App/GlanceProbe.swift:1148-1152 \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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb3cd02098c49c5162cac7048c62d6f86c1d0eed1934820d22ea253fdc6cb49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/GlanceProbe.swift:809-813 | prototype/App/GlanceProbe.swift:1276-1280 \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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84d359c9cb890b47010d45180bd6ed9f7fdbaead1c06e665632601160710c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/GlanceProbe.swift:861-866 | prototype/App/GlanceProbe.swift:1345-1350 \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 before the matched lines, \u0060prototype/App/GlanceProbe.swift:860\u0060 calls \u0060sleep\u0060, \u0060milliseconds\u0060 and \u0060prototype/App/GlanceProbe.swift:1344\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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fd507ff57bedff8e1b9bf56f7d995119dcccb1f48f57cf2db2aef8d41e64e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): prototype/App/GlanceProbe.swift:857-859 | prototype/App/GlanceProbe.swift:1276-1280 | prototype/App/SoakLedger.swift:176-180 \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 \u0060prototype/App/GlanceProbe.swift:857\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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f976c2c4d50dac27c24eef87244120876d54aa6892882de107a8c15c9a4499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/HitchProbe.swift:198-204 | prototype/App/SoakLedger.swift:179-185 \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 \u0060prototype/App/HitchProbe.swift:198\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":"prototype/App/HitchProbe.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3a727d8b83e39ca8e819ae1b13e8087ad2d228b260564fbb86e33519cdb3d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/LaunchpadController.swift:376-381 | prototype/Private/DockBridge.swift:70-75 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/LaunchpadController.swift:376\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":"prototype/App/LaunchpadController.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e918245b49dea8d9a51a0d564823008fadd6febb6b940c7fe9969b3d18900f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/LaunchpadKeysProbe.swift:86-90 | prototype/App/LaunchpadTilingProbe.swift:120-124 \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":"prototype/App/LaunchpadKeysProbe.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df25d87b24b842b8f97b9edf1f359a87e117f9d1fcc7a015e33f6fdd929ed2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/MacVoiceTranscriber.swift:149-155 | prototype/App/SpeechVoiceprintCapture.swift:149-153 \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 \u0060prototype/App/MacVoiceTranscriber.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":"prototype/App/MacVoiceTranscriber.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"110f940c6b9ab26a0adafce1f422830efb2bcc45e2a6c896390272a910594330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/Notch/NotchRowViews.swift:605-609 | prototype/App/Notch/NotchRowViews.swift:649-654 \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 \u0060prototype/App/Notch/NotchRowViews.swift:605\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":"prototype/App/Notch/NotchRowViews.swift"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"125c2a2596890ca532731f8b53f7a2ee12c6517f60d667882dc7dfa372cd3549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/NotchActivityController.swift:374-379 | prototype/App/NotchActivityController.swift:403-407 \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 \u0060prototype/App/NotchActivityController.swift:374\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":"prototype/App/NotchActivityController.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e17b600cf2a62a4ef20da86c78c45bc75e33a31673a496cf3f97968a2416c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/App/PictureInPicture.swift:560-567 | prototype/App/WS2RemoteEffects.swift:351-358 \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 \u0060prototype/App/PictureInPicture.swift:560\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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1bfa9f0734beb065184c7d21b7525a12c059b70fd2474b402e5ee14855632c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/Preferences.swift:971-976 | prototype/App/Preferences.swift:993-998 \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 \u0060prototype/App/Preferences.swift:971\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Preferences.swift"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc9abc35dfff8a3cc128d7d212f1a63df5526baa3b2e1007698873d02bccd66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/Preferences.swift:968-972 | prototype/App/Preferences.swift:1200-1204 \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":"prototype/App/Preferences.swift"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"4794beac1f3044395498bb6e233c96c1615712a5f9890ed0fb350abd8c6315c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/SilentMilestoneProbe.swift:130-136 | prototype/App/SilentMilestoneProbe.swift:155-161 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d592d4766f71b2803ec3a4327345dfce6dd78b7b3462612eaa619e39ff4ddae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): prototype/App/SlideOver.swift:278-282 | prototype/App/SlideOver.swift:322-325 | prototype/App/SlideOver.swift:338-342 \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 \u0060prototype/App/SlideOver.swift:278\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 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":"prototype/App/SlideOver.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"35473cf18bf2034ccfc394425d8a5004826be43e66b93f1059885af1adce16bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/Thumbnail.swift:132-136 | prototype/Overlay/PaperSurfaceStyle.swift:110-114 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/Thumbnail.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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060parent\u0060 to \u0060ShadeThumbnailWindow\u0060 in one and \u0060NSWindow\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":"prototype/App/Thumbnail.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e856842de1ccefb48f1c0b343c3d37a05895fa0ed0edc12554e111ee5c6313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/WS2AppRuntime.swift:343-347 | prototype/App/WS2AppRuntime.swift:476-480 \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 \u0060prototype/App/WS2AppRuntime.swift:343\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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e47a1b8a0461861fdd2f1f10377e0eef4c3c4909783736cf059d3faad58422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/WS2ConductorPage.swift:468-472 | prototype/App/WS2ModelPickerView.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 \u0060prototype/App/WS2ConductorPage.swift:468\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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8ef8d4157b1c4d0c215a0787868192f3d1530bfe14fc6308a2eebaf4c2e872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/WindowProxy.swift:76-80 | prototype/App/WindowProxyStage.swift:34-38 \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":"prototype/App/WindowProxy.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ad5c6956fe45ba9614f0585ebcfc4f295901c4e5a6cce3fda44d347432d3c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/Core/ExplainerScenes\u002BCommon.swift:59-63 | prototype/Core/ExplainerScenes\u002BCommon.swift:221-225 \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 \u0060prototype/Core/ExplainerScenes\u002BCommon.swift:59\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":"prototype/Core/ExplainerScenes\u002BCommon.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb16137d0405d474fa7f2a1c2c567942dab12b69108d63f46a8b0b12fdb40a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/Core/FaceScanScreening.swift:66-70 | prototype/Core/FaceScanScreening.swift:91-95 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceScanScreening.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e3e87a88f358637957bae29a72c380f76e9e23128ecf0532f20f1de5875c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/Effects/WindowFoldEffects.swift:98-102 | prototype/Effects/WindowFoldEffects.swift:292-296 \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 \u0060prototype/Effects/WindowFoldEffects.swift:98\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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b862494c3bac731eff24285d090f205aa7370ee531deb7961f6eaad311ca67d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/Overlay/SystemAppearance.swift:244-251 | prototype/Overlay/SystemAppearance.swift:290-297 \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 \u0060prototype/Overlay/SystemAppearance.swift:244\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":"prototype/Overlay/SystemAppearance.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"421d1394aea5fed534407c0123f5463ad39c67ed818b50d81be48460c69f49ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/WindowBrowser/DockHoverProbe.swift:470-474 | prototype/WindowBrowser/DockHoverProbe.swift:693-697 \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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0063c41140ffb8ac0b066a7707ec3cc74ed9639748a76893d5edc1a679ab6ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserActionPresentation.swift:157-164 | prototype/WindowBrowser/WindowBrowserActionPresentation.swift:318-322 \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 \u0060prototype/WindowBrowser/WindowBrowserActionPresentation.swift:157\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":"prototype/WindowBrowser/WindowBrowserActionPresentation.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"433e77c0885320568ca2adf0007242ce1005dfeadbadcab8195a23004d454c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserController.swift:2517-2521 | prototype/WindowBrowser/WindowBrowserController.swift:2592-2596 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf98a1edf9992449dd56874e3126f82d560febc7fa9f82fbde4f57eba10dccda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserShotProbe.swift:334-338 | prototype/WindowBrowser/WindowBrowserShotProbe.swift:452-456 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserShotProbe.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7e81be29f788df8b32f544894ce94065122e54747e2cc0689b6de30440318f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): prototype/App/FileShelfView.swift:485-490 | prototype/App/FileShelfView.swift:762-767 | prototype/App/Notch/NotchRowViews.swift:336-341 | prototype/App/NowPlayingCard.swift:45-50 | prototype/App/NowPlayingCard.swift:109-114 | prototype/App/NowPlayingCard.swift:684-689 | prototype/App/PictureInPictureViews.swift:115-120 | prototype/App/PictureInPictureViews.swift:258-262 | prototype/App/SplitView.swift:824-829 \u2014 there are 9 copies across 5 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 9 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prototype/App/PictureInPictureViews.swift:265\u0060 calls \u0060accessibilityPerformPress\u0060 and \u0060prototype/App/FileShelfView.swift:770\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":"prototype/App/FileShelfView.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4c9b3608ab79d389ab68e5441490cff51f9923526bc337a3e2daca6a573a98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): prototype/App/ScrollStripOverview.swift:689-696 | prototype/WindowBrowser/WindowBrowserActionBar.swift:13-21 | prototype/WindowBrowser/WindowBrowserCardView.swift:345-354 | prototype/WindowBrowser/WindowBrowserListRowView.swift:218-227 | prototype/WindowBrowser/WindowBrowserTrafficLights.swift:210-218 \u2014 before extracting anything, compare \u0060prototype/WindowBrowser/WindowBrowserCardView.swift\u0060 and \u0060prototype/WindowBrowser/WindowBrowserListRowView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 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":"prototype/App/ScrollStripOverview.swift"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d8b7aa1f8c1526dd1d779a6497f68bdcec60e5666dc70f147fa5d7c4f8d4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prototype/App/Thumbnail.swift:373-380 | prototype/Overlay/ShadeStrip.swift:490-497 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Thumbnail.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1c5a8152114c228f63670f9f5b90ba2151dff1a3c8dd91f82dbc291c63212b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/UnlockPasswordKeychainStore.swift:23-28 | prototype/Core/FaceAutofill.swift:234-239 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/UnlockPasswordKeychainStore.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f711e74c5cd45ad71f3422fd4a48a8e4e9273eeb32678de2bee66db94a38d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/Overlay/PreviewSurfaces.swift:54-59 | prototype/PinnedPreviewPanel.swift:208-213 \u2014 before extracting anything, compare \u0060prototype/Overlay/PreviewSurfaces.swift\u0060 and \u0060prototype/PinnedPreviewPanel.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Overlay/PreviewSurfaces.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4974c824047030b85358d12d2a8fbd77217111afba58ea8c693db12f76f1519e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserCardView.swift:428-432 | prototype/WindowBrowser/WindowBrowserListRowView.swift:274-278 \u2014 before extracting anything, compare \u0060prototype/WindowBrowser/WindowBrowserCardView.swift\u0060 and \u0060prototype/WindowBrowser/WindowBrowserListRowView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 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":"prototype/WindowBrowser/WindowBrowserCardView.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c5e67d68f3add20913b4a0a739646d74d3717ebd9f4433f8774e4111cc155b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserCardView.swift:451-456 | prototype/WindowBrowser/WindowBrowserListRowView.swift:291-296 \u2014 before extracting anything, compare \u0060prototype/WindowBrowser/WindowBrowserCardView.swift\u0060 and \u0060prototype/WindowBrowser/WindowBrowserListRowView.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 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":"prototype/WindowBrowser/WindowBrowserCardView.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"419aaa19582a952d28d660d9527a5c41ec4fdbb2d813f816ab9f9e7419f8fde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserIdentityProbe.swift:399-405 | prototype/WindowBrowser/WindowBrowserLiveAppProbe.swift:358-364 \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":"prototype/WindowBrowser/WindowBrowserIdentityProbe.swift"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d405a1c8f63b16d8d8b41df8ffda562ba52dedfdea6cfbe3526a6cb0e9cbe158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/WindowBrowser/WindowBrowserIdentityProbe.swift:407-411 | prototype/WindowBrowser/WindowBrowserLiveAppProbe.swift:366-370 \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":"prototype/WindowBrowser/WindowBrowserIdentityProbe.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beb05d8a62a85754c3efdb6f907ee527cf34763b07b72e7d43704fca13ed183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/CountdownTimerHost.swift:11-15 | prototype/Core/CalendarPresentation.swift:75-79 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CountdownTimerHost.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0d42e6eeb065f5a5fe268ebb5ec43dbfca254696fc20cd9856ec12026083f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/SlideOver.swift:1246-1250 | prototype/App/SlideOverChrome.swift:343-347 \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":"prototype/App/SlideOver.swift"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"648a1222d8fd5b980a6739826636137ba3c9ec19a3d15024bd7f431035f38d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/AudioLevelTap.swift:296-300 | prototype/App/AudioOutputRoutes.swift:59-63 \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. 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":"prototype/App/AudioLevelTap.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bde529d904261cde2e9b09afb6824343878af43d33f4c71731831be49c44ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/CountdownTimerCard.swift:315-321 | prototype/App/CountdownTimerCard.swift:337-343 \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 \u0060prototype/App/CountdownTimerCard.swift:315\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":"prototype/App/CountdownTimerCard.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26e947cbb45cc776b88a504c5e52ad7eb8b68414001380863441c4b13e0ba29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/FaceCalibrationRecorder.swift:85-89 | tools/probes/FaceFeaturePrintProbe.swift:84-88 \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 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":"prototype/App/FaceCalibrationRecorder.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ec359bdfd2ed5c4c99eb01c396cd7bcdb8ba3f16a756e47613c17d4002a7cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/FoldTransaction.swift:279-283 | prototype/App/WS2FoldCallbackGuard.swift:97-101 \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 \u0060prototype/App/FoldTransaction.swift:279\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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf02f20d92f8b4db5da66338194d2cfa91698a786e3992909fc46a2ffb56574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/GapProbesFoldDesktops.swift:88-92 | prototype/App/GapProbesSecondDisplayDesktops.swift:112-116 \u2014 before extracting anything, compare \u0060prototype/App/GapProbesFoldDesktops.swift\u0060 and \u0060prototype/App/GapProbesSecondDisplayDesktops.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060prototype/App/GapProbesFoldDesktops.swift:84\u0060 calls \u0060currentSpace\u0060 and \u0060prototype/App/GapProbesSecondDisplayDesktops.swift:108\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":"prototype/App/GapProbesFoldDesktops.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3056ad8af9fac6ed80d1a1a552469a931edbf93e9d1c7f3dc1b2a96596dce50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/GestureProbe.swift:725-729 | prototype/App/GestureProbe.swift:748-752 \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":"prototype/App/GestureProbe.swift"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"d099ad6cf8ad1a68b2fec3ba84ce7ec3bf2a642482884e2369b748590c724cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/GestureProbe.swift:773-777 | prototype/App/GestureProbe.swift:1170-1174 \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":"prototype/App/GestureProbe.swift"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"95370bbcc46fa43f636cf2263a3c0f0a08bf08c6b825bc6286200079dae7e2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/GestureProbe.swift:1327-1332 | prototype/App/GestureProbe.swift:2137-2142 \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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00a91a3803d6e3e6b936bcc5439d1e885da1a371651b2e963b2153aa21e593e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/GestureProbe.swift:1463-1468 | prototype/App/StripPeekProbe.swift:63-68 \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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b06ba9ff453c10ea08114127f4d8af856a8591e967cd63575364801b1bbcb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/HitchProbe.swift:168-173 | prototype/App/SoakLedger.swift:148-153 \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":"prototype/App/HitchProbe.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9fbe60192c934fbfcf12469e41760c726284728173d68448e632526ffcba0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/LaunchpadFolders.swift:718-722 | prototype/App/LaunchpadView.swift:655-659 \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 \u0060prototype/App/LaunchpadFolders.swift:718\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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"550a5b5c870030b52d957157944cf45dfb942a94f764476dde73c03967a1fb18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/LaunchpadUninstall.swift:250-254 | prototype/App/LaunchpadUninstall.swift:295-299 \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 \u0060prototype/App/LaunchpadUninstall.swift:250\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":"prototype/App/LaunchpadUninstall.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a5ac5d839c82338a18b874d27329643023cfeb41e1797918bf6c21db1b9ba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/LaunchpadView.swift:1023-1028 | prototype/App/LaunchpadView.swift:1036-1041 \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 \u0060prototype/App/LaunchpadView.swift:1023\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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e97386979ac6f217696f0977a93468d513b6167f092fb08a5797f57da7bdaaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/Notch/NotchCanvas.swift:699-704 | prototype/App/Notch/NotchRowViews.swift:43-48 \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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ebddfbe0b6b289ff4ea81476d521cd6f3d029f33bc5e7aa032b0c8e7417fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/Notch/NotchCompactViews.swift:300-304 | prototype/App/Notch/NotchCompactViews.swift:421-425 \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 \u0060prototype/App/Notch/NotchCompactViews.swift:300\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":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"df97eeb1b1c21af9e08a993aa624a1c3fce4f954d3f8717dc3b7d322419eeab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): prototype/App/NotchSpaceGate.swift:53-58 | prototype/Core/PiPLayout.swift:136-141 | prototype/WindowBrowser/WindowBrowserGeometry.swift:722-727 | prototype/WindowBrowser/WindowPlacement.swift:164-169 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prototype/App/NotchSpaceGate.swift:53\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchSpaceGate.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1c10ed4fa396eda67479dd3fa2d7ccca7d187dadcea178ef8a453204b71444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prototype/App/OverlayFactory.swift:64-73 | prototype/App/OverlayFactory.swift:96-105 \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":"prototype/App/OverlayFactory.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baebcf3098e0a6d3d8304a068dd1f88348e67bc9793a328e4ca3fbcf7f3c04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/PictureInPicture.swift:507-511 | prototype/App/PictureInPicture.swift:524-528 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PictureInPicture.swift"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f4a0443e7f49d56a69ebdc1261af33debd635227bce696158498d8cba874dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/Preferences.swift:2169-2173 | prototype/App/WS2InputSettingsPane.swift:206-210 \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. 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":"prototype/App/Preferences.swift"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8786ec132da1b77b557fd528b26f9c294dadf1bed6e01dcd68cb51ffa6a1545a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/ScrollStripRun.swift:1227-1233 | prototype/App/ScrollStripRun.swift:1302-1308 \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 \u0060prototype/App/ScrollStripRun.swift:1227\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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee9c3162fea958b1f5a44bd61f75db6c67e85f6ce7dc13f84d08e19ef3ccb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/SettingsExplainerHost.swift:296-300 | prototype/Effects/SettingsSearchSidebar.swift:297-301 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/SettingsExplainerHost.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"65503c0c36e6b5f65d903c1349dd69d7b916da6537e08ae4038848935efecc17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prototype/App/TrackpadGestures.swift:1217-1222 | prototype/App/TrackpadGestures.swift:1712-1717 \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 \u0060prototype/App/TrackpadGestures.swift:1217\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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d079c0c196386f5e918359b4f5b665d593dda3c1754d8b6e8edc192fb23c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/Updater.swift:168-172 | prototype/App/Updater.swift:175-179 \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 \u0060prototype/App/Updater.swift:168\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":"prototype/App/Updater.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"db724b0dad696faac33af75af315b640e2a50ca322d242e91f026fe08d057fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prototype/App/WS2CodexApprovalHost.swift:466-472 | prototype/Core/WS2OwnedProtocolHost.swift:52-58 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3f75d7279065d7b77c762efe3918a81d31be157c5e3831e282c20a4cb44ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prototype/App/WS2HookApprovalHost.swift:168-172 | prototype/App/WS2HookApprovalHost.swift:202-206 \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 \u0060prototype/App/WS2HookApprovalHost.swift:168\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prototype/App/WS2HookApprovalHost.swift:173\u0060 calls \u0060present\u0060 and \u0060prototype/App/WS2HookApprovalHost.swift:207\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":"prototype/App/WS2HookApprovalHost.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ed5b1105ed7f03cde0e374d48764ee89a803a5d5815614bce25d6f57f38ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): prototype/Capture/PreviewRenderer.swift:96-102 | prototype/Capture/PreviewRenderer.swift:277-283 | prototype/Capture/PreviewRenderer.swift:313-319 \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. 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":"prototype/Capture/PreviewRenderer.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"11112429997cecb18d9e505eee6294802e1715ea57136deea9790fc030063bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): prototype/Core/SystemIslandPolicy.swift:22-27 | prototype/Effects/EffectSoakProbe.swift:283-288 | prototype/Private/MultitouchBridge.swift:99-104 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. 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":"prototype/Core/SystemIslandPolicy.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b1bd361373d3f903f1a99cc394dda80e2a1ae603810c4126fee2ec1f9d6a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): prototype/WindowBrowser/DockHoverProbe.swift:935-939 | prototype/WindowBrowser/DockHoverProbe.swift:953-957 | prototype/WindowBrowser/DockHoverProbe.swift:983-987 \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 \u0060prototype/WindowBrowser/DockHoverProbe.swift:935\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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a187b6f26fd5459604b87c80989de7a1e24649b9d510c16e3b0fcfe8a50f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:33-98 | tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.swift:33-98 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3d44b65c0b71f168d33031f1df3af87013a343e9e851c1b47fc2458840e693"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:99-149 | tools/archive/design-qa-batch23-29/OwnedStatePreview.swift:11-61 \u2014 These two members are one piece of code written twice and then edited apart: 51 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":"tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac964e0883944030844be557af29f953a7c9f993ba305299f3ee78a5bf79bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:515-609 | tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift:13-127 | tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift:13-77 | tools/archive/design-qa-batch23-29/MediaArtworkPreview.swift:29-86 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:15-109 | tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:29-86 | tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:150-178 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:15-89 | tools/archive/design-qa-batch23-29/OwnedStatePreview.swift:62-90 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"498f13655a76aa1c71e81fbb19df02387dbe258033c82f432f0e24983b025a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:480-486 | tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:94-98 | tools/archive/design-qa-batch23-29/OwnedErrorFlowChecks.swift:6-10 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:481-487 | tools/archive/design-qa-batch23-29/OwnedScrollPreview.swift:6-10 | tools/archive/design-qa-batch23-29/OwnedStatePreview.swift:6-10 \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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ce1d74b89187e35c24381d7fe1965d1b163a880792cb8a2ccd2f9ef7f6af62"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): tools/archive/design-qa-batch23-29/CalendarCardPreview.swift:5-49 | tools/archive/design-qa-batch23-29/ConductorSurfacePreview.swift:40-63 | tools/archive/design-qa-batch23-29/CountdownTimerCardPreview.swift:5-50 | tools/archive/design-qa-batch23-29/FocusTimerCardPreview.swift:7-53 \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":"tools/archive/design-qa-batch23-29/CalendarCardPreview.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c776037ce5cc169e1f2a5d6b43c6c64904e359ec2347262c0cfc0c2a3084ef2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): tools/archive/design-qa-batch23-29/MergedRowPreview.swift:7-95 | tools/archive/design-qa-batch23-29/PowerEarPreview.swift:6-70 | tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift:12-118 | tools/archive/design-qa-batch23-29/UsageQuantityPreview.swift:12-139 \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":"tools/archive/design-qa-batch23-29/MergedRowPreview.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75e3e874b1c2dcb1073f71e7d565c907f963a925a667d0317c9eb1e7c3d1e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): tools/probes/remote-device/handshake-interop.py:58-78 | tools/probes/remote-device/socket-interop.py:54-74 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"tools/probes/remote-device/handshake-interop.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f98264ec0e53e3e8b4fe77220b50213ac8b800601f5a7869d0f46b34036a351"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:122-135 | tools/archive/design-qa-batch23-29/NotchMotionPreview.swift:18-30 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:22-35 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f744480027eb555beb36bd727ef5b4842b45e4b763dee7ee587e6ac290b2cbbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): tools/probes/remote-device/RemoteDeviceProbe.swift:229-247 | tools/probes/remote-device/RemoteDeviceProbe.swift:248-266 \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":"tools/probes/remote-device/RemoteDeviceProbe.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c0699f42f746cb15fc7c8287d987c1bb7d7cdf2698323eca861532bcaab2c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): tools/probes/FaceFeaturePrintProbe.swift:106-126 | tools/probes/head-motion-crosscheck/HeadMotionCrossCheckProbe.swift:37-55 \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":"tools/probes/FaceFeaturePrintProbe.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"693ecb8856297665782028d55f0d14be167fc96be19e161dfcbaff2c54930a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): tools/probes/companion-pairing/WS2NativeSRPPrimitive.swift:31-46 | tools/probes/companion-pairing/WS2NativeSRPPrimitive.swift:47-66 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"tools/probes/companion-pairing/WS2NativeSRPPrimitive.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02b9c77d9e374c4bc9ee846ef3765f48ee02d01dfe3c42677476ffbd653bc3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): tools/lid-report-probe/LidReportProbe.swift:30-43 | tools/lid-trace/LidTraceRecorder.swift:13-26 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"tools/lid-report-probe/LidReportProbe.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2f49a35d03305c8c27294dde87aeff3bb58e13e15d6f62a836c1c03d9548d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): tools/probes/companion-pairing/PairSetupProbe.swift:14-23 | tools/probes/companion-pairing/SRPProbe.swift:6-15 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"tools/probes/companion-pairing/PairSetupProbe.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4de604072fb882ceac25907a1c491b749335ac2b09a7ad3e571620b57f9e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:22-26 | tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.swift:22-26 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f494b684a9a8396514b8c5a651bc0dafd65a4b15d330cc0c6a891658dde1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:506-514 | tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift:6-12 | tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift:6-12 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:6-14 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:6-14 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b5dab1cfaa85c051193dc16ef9fd4dc85d7cfcc4c2ca33ade523763d6e1ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:9-11 | tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.swift:9-11 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"936e9a3d6ba6998f7a856bd5ed69e9acce965fdb75b8c6b3ee65d09365057e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): tools/probes/companion-pairing/pair-setup-interop.py:86-91 | tools/probes/remote-device/handshake-interop.py:41-44 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"tools/probes/companion-pairing/pair-setup-interop.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0a972d9c56a66187ce9f7bcfe6a1e1024bbfe638cf4564c0297a5e3bd0a172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): tools/probes/companion-pairing/SRPProbe.swift:17-22 | tools/probes/game-controller/GameControllerProbe.swift:10-14 | tools/probes/head-motion-crosscheck/HeadMotionCrossCheckProbe.swift:87-91 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/probes/companion-pairing/SRPProbe.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f7e07e8ae6d2fedd1a039dfd89acbd1d1ff5a5239e6c1f94c80a3a10adebce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:136-139 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:36-39 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8455059b12fb09945013e92ad81acf3aa0a9a57d8510e4e750c24f5fb1f6a281"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): tools/continuity-probe/ContinuityProbe.swift:61-61 | tools/probes/BLEReadProbe.swift:35-37 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"tools/continuity-probe/ContinuityProbe.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff386602bdb9167688472fb44951406c871c024ce9df622115831e7eaf396418"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:488-491 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:489-492 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bae6721366e22bcfa2e9fd11ae2331968002b458ffa1777e34539624eb885d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): tools/archive/design-qa-batch23-29/check-notch-motion-preview.py:37-40 | tools/archive/design-qa-batch23-29/check-progress-quantity-preview.py:76-79 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"tools/archive/design-qa-batch23-29/check-notch-motion-preview.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b57016f4c663af08db8bbe0fe7fc3c045aac20e8fec2a3a1bfe305385d86bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 1\u002B corresponding lines): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:120-120 | tools/archive/design-qa-batch23-29/NotchMotionPreview.swift:17-17 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:20-20 | tools/archive/design-qa-batch23-29/PrivacyDetailColumnDraftPreview.swift:37-37 | tools/archive/design-qa-batch23-29/UsageDetailDraftPreview.swift:107-107 | tools/archive/design-qa-batch23-29/WindowBrowserImagePreview.swift:7-7 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2ac468960a8bb66077295f2fa453ce55ac63667083fcddfa3a53dd03f4ee76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): tools/archive/design-qa-batch23-29/MergedRowPreview.swift:6-6 | tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift:11-11 | tools/archive/design-qa-batch23-29/UsageQuantityPreview.swift:11-11 | tools/archive/design-qa-batch23-29/WindowBrowserStatePreview.swift:8-10 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/MergedRowPreview.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f9efb9bb87d55c779a4e89ce3b1c70995f4e9843f2965d2d561a028a7b50da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): tools/probes/companion-pairing/pair-setup-interop.py:81-84 | tools/probes/remote-device/handshake-interop.py:37-39 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"tools/probes/companion-pairing/pair-setup-interop.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa42674097d48cde925801be1f095320dfd60ea58a5f9444a9bb98eca2b1058"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): tools/probes/companion-pairing/pair-setup-interop.py:93-95 | tools/probes/remote-device/handshake-interop.py:46-47 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"tools/probes/companion-pairing/pair-setup-interop.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"98db486ff1a9de1ede0c5fe239de829d307555c2b1ee57f5b126e0fc6a132fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): tools/probes/companion-pairing/PairSetupProbe.swift:13-13 | tools/probes/companion-pairing/SRPProbe.swift:16-16 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"tools/probes/companion-pairing/PairSetupProbe.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fabb77a76eed2398dbe32220eb40ef30365ec5944e6ede0a371e8767626beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (174 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:21-194 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:22-195 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:20\u0060 calls \u0060URL\u0060 and \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:19\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8547d34f55f83457e73600b0c867bc7fca293f9a2d65a5d3985326009c99ba53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (167 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:206-372 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:207-373 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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. 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0327ab5151a02d0ab8637a0becc870be45e169cee13c9678450626d52ef3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:402-449 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:403-450 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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. 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cc50fffebc52dcc0e165e6d64d8da0c99ea59c074bb8ed5ce2c627e55bc620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (160 lines \u00D7 2): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:176-335 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:76-235 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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. 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4109cfd55975a93dee34334cdc59fdcda8865baf809a3b4c471980da21d68d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:162-175 | tools/archive/design-qa-batch23-29/NotchMotionPreview.swift:31-44 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:62-75 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"43042fe38f42d52f29794c209ce8b27564e000f1ab768333a3a650108ce0103e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201312 lines \u00D7 4): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:256-258 | tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:266-277 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:156-158 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:166-177 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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. 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, \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:277\u0060 calls \u0060morph\u0060, \u0060token\u0060 and \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:258\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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccff5ba91e23e34dc951d5c9451a15bea7893446ca8e26782b7ab8a65c6fbf61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift:79-101 | tools/archive/design-qa-batch23-29/UsageQuantityPreview.swift:100-122 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/UsageQuantityPreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 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 \u0060tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift:79\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":"tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528fbc46b2d64028da537f3d1cfff5264f13466b1faa8e40eb322686782f1b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/lid-report-probe/LidReportProbe.swift:30-41 | tools/lid-trace/LidTraceRecorder.swift:13-24 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/lid-report-probe/LidReportProbe.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/lid-report-probe/LidReportProbe.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9712dcd198823b8d61b08e94cc4e7a7a9fc6d0b94723b2bf9c2fec201e44450a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:173-183 | tools/archive/design-qa-batch23-29/SilentPageLanguagePreview.swift:73-83 \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 \u0060tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:173\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 before the matched lines, \u0060tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:172\u0060 calls \u0060systemState\u0060 and \u0060tools/archive/design-qa-batch23-29/SilentPageLanguagePreview.swift:72\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":"tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7073c276644f077ee4982d33a03982b853ed15c0498b39a2437517993ebec6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): tools/archive/design-qa-batch23-29/CountdownTimerCardPreview.swift:20-28 | tools/archive/design-qa-batch23-29/FocusTimerCardPreview.swift:22-31 \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":"tools/archive/design-qa-batch23-29/CountdownTimerCardPreview.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbac21b38c38bcd7fc88d1ad46d5c10f3a1ce4e1361fa4ea4125d926a83760d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/archive/design-qa-batch23-29/WindowBrowserGridTitlePreview.swift:25-33 | tools/archive/design-qa-batch23-29/WindowBrowserImagePreview.swift:33-41 \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":"tools/archive/design-qa-batch23-29/WindowBrowserGridTitlePreview.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113aa718f09d156baadd7d7efc5e958f378002ab928353bdd186eacde0a4786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:464-476 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:465-477 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5690bdbe19d1ce07e93e6a05130d3b139f8f6803b2f2de97facf57914d22da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 3): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:535-542 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:35-42 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:41-42 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 77 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 \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:535\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"84645029b4df2a6c816462361eeb49fa5028fe041bbdee3ec6252012a00f8967"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:558-565 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:58-65 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:57-60 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 77 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 \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:558\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba0f227ed74df70f0c53fd48a9d874404844c77e1c60bd05cad13e2491c3fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift:13-26 | tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift:13-26 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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 \u0060tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift:13\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 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":"tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"74075dc954dcafb815038b697fb49e8ad7f956b92c61aa58aa72cdd0c4f80985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): tools/archive/design-qa-batch23-29/MediaArtworkPreview.swift:29-86 | tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:29-86 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/MediaArtworkPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 91 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. 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":"tools/archive/design-qa-batch23-29/MediaArtworkPreview.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e64aab63723d9c423ec971143d23bb85beb7fa0d251ccc20a5b40da735b7c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 6): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:480-486 | tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:95-96 | tools/archive/design-qa-batch23-29/OwnedErrorFlowChecks.swift:7-8 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:481-487 | tools/archive/design-qa-batch23-29/OwnedScrollPreview.swift:7-8 | tools/archive/design-qa-batch23-29/OwnedStatePreview.swift:7-8 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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. 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9c10d254d84a96c23d26773b1ccbfd3e3db744a0aa9f39b9802ed623ed5162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift:117-124 | tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift:67-74 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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 \u0060tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift:117\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":"tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ed1c4c39531288d437961b4c5939f025b1b786918e6afd4c40277d3da325bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:99-141 | tools/archive/design-qa-batch23-29/OwnedStatePreview.swift:11-53 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedStatePreview.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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 \u0060tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.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":"tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"417070dfae933696f7e6ad25cca369eae51f151745f0bec67525fc64f12aebd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/companion-probe/main.swift:178-184 | tools/companion-probe/main.swift:202-208 \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":"tools/companion-probe/main.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda70eeff25dc4b1cf370e76d85b2037b00908781874d820a0c1d303683887ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 5): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:544-549 | tools/archive/design-qa-batch23-29/MediaArtworkPreview.swift:55-58 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:44-49 | tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:55-58 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:44-49 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 77 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. 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"278a77e008a342d4be7592ce5b3c76c118eadad15f461d8388e073e9e1e90267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): tools/archive/design-qa-batch23-29/MergedRowPreview.swift:73-91 | tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift:96-114 | tools/archive/design-qa-batch23-29/UsageQuantityPreview.swift:117-135 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/MergedRowPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060tools/archive/design-qa-batch23-29/MergedRowPreview.swift:73\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":"tools/archive/design-qa-batch23-29/MergedRowPreview.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d1b4e4ea5693e6181051b48e2676bc8631ce0bb84d055bd4da8dda7eaf5952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:141-161 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:41-61 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee8489f62ec9af2ee6191213acdd69b344897281fea00be111aa2b32d2e5460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/archive/design-qa-batch23-29/ConductorSurfacePreview.swift:5-10 | tools/archive/design-qa-batch23-29/HostSurfacePreview.swift:5-10 \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 \u0060tools/archive/design-qa-batch23-29/ConductorSurfacePreview.swift:5\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":"tools/archive/design-qa-batch23-29/ConductorSurfacePreview.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e5120ad4c2cfc13d728f1567a1d2b8a0759c6e60c83640f8a1d933fb0a4b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 4): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:283-284 | tools/archive/design-qa-batch23-29/FeedbackPreview.swift:352-357 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:284-285 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:353-358 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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. 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, \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:357\u0060 calls \u0060record\u0060, \u0060enabledWord\u0060 and \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:284\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2896293900e2c33adaf33d2b08a798dbd4b2d0fd5ff2a0178d167cfb8569e661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:390-396 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:391-397 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edac0a2449b7c7b5212a4fb17c408d3943cf227ad0ef93d39ebdcb001aae75f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:451-462 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:452-463 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f66c364d8bd97ee07bcf2805671246c4bc7f00ebeb0a9896b09e9ece70e789a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/probes/remote-device/RemoteDeviceProbe.swift:232-244 | tools/probes/remote-device/RemoteDeviceProbe.swift:251-263 \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":"tools/probes/remote-device/RemoteDeviceProbe.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d213c20231b311bac5a309ce75bf4d7a0de1668c5beadbeba63eee574bc3de8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:65-71 | tools/archive/design-qa-batch23-29/FeedbackPreview.swift:142-146 | tools/archive/design-qa-batch23-29/FeedbackPreview.swift:156-160 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:66-72 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:143-147 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:157-161 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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 \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:65\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff3c0261d8a0feaec9083a99e4978bdc8b5cd1f3da0a3a0430bd79f5227f4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:264-268 | tools/archive/design-qa-batch23-29/FeedbackPreview.swift:296-300 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:265-269 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:297-301 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d7c263a8e1e56fc5f5bf74a9ed68b2d8ec8f6f9bd73c13a4d2653fc2302ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): tools/archive/design-qa-batch23-29/MergedRowPreview.swift:7-13 | tools/archive/design-qa-batch23-29/PowerEarPreview.swift:6-12 | tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift:12-18 | tools/archive/design-qa-batch23-29/UsageQuantityPreview.swift:12-18 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/MergedRowPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060tools/archive/design-qa-batch23-29/MergedRowPreview.swift:7\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 before the matched lines, \u0060tools/archive/design-qa-batch23-29/MergedRowPreview.swift:6\u0060 calls \u0060rect\u0060 and \u0060tools/archive/design-qa-batch23-29/PowerEarPreview.swift:5\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":"tools/archive/design-qa-batch23-29/MergedRowPreview.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba64b86ee5bb67bbbf43816feb75a80586af9ddabd0bd47c5cd1a67016a6cf9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:510-514 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:10-14 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:10-14 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 77 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 \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:510\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0c683dec91b405fe1cc7d9581bf0f17a642d39ae2f42222078482cb7cb3d17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:527-538 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:27-38 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:27-38 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 77 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 \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:527\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e1fd26bd7c43cbf855b067277332f1d1f6119903338ea22555d46bd9bb612a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:589-600 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:89-100 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:69-80 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 77 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 \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:589\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d7c3e7c654fe3e6d629dd9cf7f1875ecd60eb30a22620ea5be97b4127e0dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): tools/archive/design-qa-batch23-29/WelcomeStatePreview.swift:6-10 | tools/archive/design-qa-batch23-29/WindowBrowserGridTitlePreview.swift:5-9 | tools/archive/design-qa-batch23-29/WindowBrowserStatePreview.swift:11-15 \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 \u0060tools/archive/design-qa-batch23-29/WelcomeStatePreview.swift:6\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":"tools/archive/design-qa-batch23-29/WelcomeStatePreview.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"956a18eab57032d68a94f23ebe24b7824d349eb7008567e14210224716a14eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:33-82 | tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.swift:33-82 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 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 \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:33\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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2edd7afad2d0debc55070099a948aaf17f78d3219d30e78b83bd8899bb8b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/archive/design-qa-batch23-29/BrowserSettingsPreview.swift:53-57 | tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:75-79 \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 \u0060tools/archive/design-qa-batch23-29/BrowserSettingsPreview.swift:53\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 before the matched lines, \u0060tools/archive/design-qa-batch23-29/BrowserSettingsPreview.swift:52\u0060 calls \u0060constraint\u0060 and \u0060tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:74\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":"tools/archive/design-qa-batch23-29/BrowserSettingsPreview.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d54671cda070b8252c1c1625565de71a865bf9e09489e5445790f538a838c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/archive/design-qa-batch23-29/BrowserSettingsPreview.swift:54-59 | tools/archive/design-qa-batch23-29/SilentPageLanguagePreview.swift:42-47 \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":"tools/archive/design-qa-batch23-29/BrowserSettingsPreview.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac2127fe4ed94edee42b7b7aa416e20a7eadbdca84dc40fd240b5be99ed1aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:374-378 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:375-379 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b33918c78e6e83eca051bb0db20cb1e3efd53a6252550a7f17ede2057e7318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:574-586 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:74-86 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 77 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 \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:574\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"1792b2ea593a8c33bdc7123e9e5d706eb669f6cb34e76e9c2b40dae910769880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): tools/archive/design-qa-batch23-29/MediaArtworkPreview.swift:7-28 | tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:7-28 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/MediaArtworkPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 91 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":"tools/archive/design-qa-batch23-29/MediaArtworkPreview.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e519f2579f7b22402098aeb28bb03e7eea6ac86207ba92fe373e79d52ed26e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 6): tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift:74-77 | tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift:49-52 | tools/archive/design-qa-batch23-29/MediaArtworkPreview.swift:56-58 | tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:56-58 | tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:154-158 | tools/archive/design-qa-batch23-29/OwnedStatePreview.swift:66-70 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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. 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, \u0060tools/archive/design-qa-batch23-29/MediaOwnedStatePreview.swift:158\u0060 calls \u0060layoutSubtreeIfNeeded\u0060 and \u0060tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift:77\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":"tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf48d898adf0afc7c05fd042fac507078a8c77175155251035620fd2a5edbd33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:18-26 | tools/archive/design-qa-batch23-29/SilentPageLanguagePreview.swift:13-21 \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 \u0060tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:18\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":"tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"82638f276bf282e15b2358c9a54704becc7eb381559b22f552f88d9fb5293179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:144-152 | tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:155-163 \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":"tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3318569e131da6d11978ae80ac85db0a1dd580d7cd0d417465c4ca75c02a3d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:381-387 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:382-388 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8323111594064fa35b9c093dda04090c65ec00ed43796fe70000f441b4ea75be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:27-31 | tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.swift:27-31 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3334adc2dc4ecb03de08b61c007bae6999156bf9f101476e41a415b37232bf32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:115-119 | tools/archive/design-qa-batch23-29/NotchMotionPreview.swift:12-16 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:15-19 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e52edee73f530ee55f6b7bfd39c8828c69925149611b9540bd40fa490ac0465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:129-135 | tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift:29-35 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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 \u0060tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift:129\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 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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed48ee03c7b8f17d4e8c7b4736816a33d637da1175a7107ff2abeccf52eb34ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): tools/archive/design-qa-batch23-29/CalendarCardPreview.swift:30-34 | tools/archive/design-qa-batch23-29/ConductorSurfacePreview.swift:50-54 | tools/archive/design-qa-batch23-29/CountdownTimerCardPreview.swift:31-35 | tools/archive/design-qa-batch23-29/FocusTimerCardPreview.swift:34-38 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/CalendarCardPreview.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef8c8499385a54170f6745b4fd8350152f1cb340130ef2a55550873285cf337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): tools/archive/design-qa-batch23-29/CalendarCardPreview.swift:36-40 | tools/archive/design-qa-batch23-29/CountdownTimerCardPreview.swift:37-41 | tools/archive/design-qa-batch23-29/FocusTimerCardPreview.swift:40-44 \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 \u0060tools/archive/design-qa-batch23-29/CalendarCardPreview.swift:36\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":"tools/archive/design-qa-batch23-29/CalendarCardPreview.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6e0aaadc2c4cc65950cfd3f334d0fe3ed7abe6ddb95761107bb7a8bcae16d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:493-498 | tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift:494-499 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/OwnedPhasePreview.swift\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 464 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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ab13dfcf6aa8791383217da12452e76f4c84dfbbc424da2814c7b7b79bd3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:515-522 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:15-22 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:15-22 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 77 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 \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:515\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cdf7471e4cd61235b50e3fe170bbfeb7979e859d2bfcce1400e31010ac7c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): tools/archive/design-qa-batch23-29/FeedbackPreview.swift:605-609 | tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift:105-109 | tools/archive/design-qa-batch23-29/MediaSurfacePreview.swift:85-89 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/MediaFeedbackPreview.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 77 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 \u0060tools/archive/design-qa-batch23-29/FeedbackPreview.swift:605\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":"tools/archive/design-qa-batch23-29/FeedbackPreview.swift"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86c3f24b126167bc0012f0c3aa922f7a228e5cca9683996f560ce80abc8ebae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift:28-34 | tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift:28-34 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/FileShelfSurfacePreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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":"tools/archive/design-qa-batch23-29/FileShelfStatePreview.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59a2ac6d441b7163f227cb2f793989773a1db9c8874fc00e1b013e6cac3470a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/archive/design-qa-batch23-29/MergedRowPreview.swift:58-62 | tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift:58-62 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/MergedRowPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060tools/archive/design-qa-batch23-29/MergedRowPreview.swift:58\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":"tools/archive/design-qa-batch23-29/MergedRowPreview.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ba0a2ff035d9aa1c7e0e5bb8b9e260b38ecc0ffd872bfa089cc93f104f0162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): tools/archive/design-qa-batch23-29/MergedRowPreview.swift:65-71 | tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift:65-71 | tools/archive/design-qa-batch23-29/UsageQuantityPreview.swift:86-92 \u2014 before extracting anything, compare \u0060tools/archive/design-qa-batch23-29/MergedRowPreview.swift\u0060 and \u0060tools/archive/design-qa-batch23-29/ProgressQuantityPreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060tools/archive/design-qa-batch23-29/MergedRowPreview.swift:65\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":"tools/archive/design-qa-batch23-29/MergedRowPreview.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"754e324696e89827d051562813694f08c57977b63747f6be3882ff6c12009d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift:285-290 | tools/archive/design-qa-batch23-29/SilentPageLanguagePreview.swift:91-96 \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":"tools/archive/design-qa-batch23-29/SettingsShadeLanguagePreview.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"119b8b73123f980b99c9b690b6db6864e560cc238071d9a90c65a63736e7fd75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/archive/design-qa-batch23-29/SilentPageLanguagePreview.swift:51-55 | tools/archive/design-qa-batch23-29/SilentPageLanguagePreview.swift:60-64 \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":"tools/archive/design-qa-batch23-29/SilentPageLanguagePreview.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74a11a9125b076dfebbb5aec27f6bb2ed606483f70a829c7c79b654fb85fd3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/archive/design-qa-batch23-29/check-notch-motion-preview.py:91-102 | tools/archive/design-qa-batch23-29/check-progress-quantity-preview.py:242-253 \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":"tools/archive/design-qa-batch23-29/check-notch-motion-preview.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc7dddbfca622c1c72c8289f4588e18d46356b847c20ea1fbc9e5b4540e7b28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/archive/design-qa-batch23-29/check-notch-motion-preview.py:226-233 | tools/archive/design-qa-batch23-29/check-progress-quantity-preview.py:330-337 \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":"tools/archive/design-qa-batch23-29/check-notch-motion-preview.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"888f2c31610933014e6fa0297acd69abf593945575d6ac55f4322a8035ab026e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/archive/design-qa-batch23-29/check-notch-motion-preview.py:121-126 | tools/archive/design-qa-batch23-29/check-progress-quantity-preview.py:263-268 \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":"tools/archive/design-qa-batch23-29/check-notch-motion-preview.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"315ab741a132b3092e8e00f27c8084253328ce3159468809607b8f8d03eaa145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/face-model/convert.py:99-103 | tools/speaker-model/convert.py:63-67 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/face-model/convert.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6c328b409dbec682a45b6d8602fd7a1c6b41ebacc03cbf6c92e212e204733a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/archive/design-qa-batch23-29/check-notch-motion-preview.py:236-240 | tools/archive/design-qa-batch23-29/check-progress-quantity-preview.py:340-344 \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":"tools/archive/design-qa-batch23-29/check-notch-motion-preview.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b19ecfd297ec372a8a21d90a9bdca89fe3d9483992aee713b0cc09c6775d69"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 28): AppDelegate\u0027s methods fall into 28 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 28 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":"prototype/WindowShade.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a2c6e982676646846771b3c27d76b48a89ebf1b29d1b35491ab5027ac435a9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SparkleUpdaterBridge (LCOM4 9): SparkleUpdaterBridge\u0027s methods fall into 9 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 9 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":"prototype/App/UpdaterSparkle.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"88604aca86801f027bd0f4a82319a755cdd16000126f9063b4992a34ff109a78"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DuoSettingsWindow (LCOM4 9): DuoSettingsWindow\u0027s methods fall into 9 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 9 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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c974553e61ac10c2678a024db330f3a27ec553ebe734459be33261b99834900f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WS2RemoteSystemPort (LCOM4 7): WS2RemoteSystemPort\u0027s methods fall into 7 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 7 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":"prototype/App/WS2RemoteEffects.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5e8b0ea6e0436d315c946508767a5484a1650ace1b3c3299a32e35c88c25d7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PrivateSLSWindowMover (LCOM4 7): PrivateSLSWindowMover\u0027s methods fall into 7 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 7 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":"prototype/Private/SkyLightBridge.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df2778250f066dda41686a3c999ed3bb5c3d62ed69a845dd097f3c2e21ec8b8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NotchController (LCOM4 6): NotchController\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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"530e57aa791326b7434f9e2032ac30adfceb5bf3f0c2182fe5c3e7fb7507e8b5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CarPlaySurfaceView (LCOM4 5): CarPlaySurfaceView\u0027s methods fall into 5 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 5 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":"prototype/App/CarPlaySurface.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f57c398e2d06c278d4a6f2e3decac215822330c222339bfbebc5f6ef56c3c0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FileShelfTileView (LCOM4 5): FileShelfTileView\u0027s methods fall into 5 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 5 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":"prototype/App/FileShelfView.swift"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cfcd8695fd4707e514d9e3796f9df947ff884a6cbadb14858e426c6fb854b5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WS2PrivacyPane (LCOM4 5): WS2PrivacyPane\u0027s methods fall into 5 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 5 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":"prototype/App/WS2PrivacyPane.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9e45198e7a20bc130ecd53b4bda28e41964f6184cb8326085bd563c170a354"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PinnedPreviewController (LCOM4 4): PinnedPreviewController\u0027s methods fall into 4 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 4 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":"prototype/PinnedPreview.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76fc0889e0829521f8bb23b42c6a3cbe7088b79665fe48c32ff7ebbb507314a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PinnedPreviewContentView (LCOM4 4): PinnedPreviewContentView\u0027s methods fall into 4 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 4 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":"prototype/PinnedPreviewPanel.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21fbfeac6af728332b93326bd807f1b122286c7feeac7ae2893fdad9451ef08"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CarryStripView (LCOM4 4): CarryStripView\u0027s methods fall into 4 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 4 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":"prototype/App/Carry.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6ee98b9e2bac95816268444f0f2699fe6139c0bf04ae8501f26b38a7e3273c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HabitCloseButton (LCOM4 4): HabitCloseButton\u0027s methods fall into 4 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 4 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":"prototype/App/NotchCoach.swift"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e722a63fe5ff1278ac709d5bfca774c284181afe36dfefe06e936d861bf4e7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NotchLevelSystemPort (LCOM4 4): NotchLevelSystemPort\u0027s methods fall into 4 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 4 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":"prototype/App/NotchLevelControl.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c45825b5ba98069941d0a34a67d2a6c6ae6f1aa455f2b8f8ee3a94b820e3ad"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PiPView (LCOM4 4): PiPView\u0027s methods fall into 4 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 4 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":"prototype/App/PictureInPictureViews.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c623ee5d59248a1d5c5869a9488f9459c3000d2bfb3f3b98fab297b9835bd9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PinchEventTap (LCOM4 4): PinchEventTap\u0027s methods fall into 4 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 4 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":"prototype/App/PinchEventTap.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc990d8a14e0ef5b418131acac4deba437fd0725bf3e2a53129ca5a573ffba3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StripOverviewTile (LCOM4 4): StripOverviewTile\u0027s methods fall into 4 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 4 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":"prototype/App/ScrollStripOverview.swift"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e5b62acc10c9f5f6ac3dff61515a160a83c972b8dd2a309ab98c41429765fd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ScrollStripController (LCOM4 4): ScrollStripController\u0027s methods fall into 4 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 4 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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9207dc707039dd1c7c09d90d78fa307bd0aadac934ce85d41ff221bc36690818"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WelcomeHero (LCOM4 4): WelcomeHero\u0027s methods fall into 4 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 4 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":"prototype/App/Welcome.swift"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"d562df1a8d70de6a95e4f8e691ef100f2f97f3a1e783d3a819a902b7d790eb09"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WhatsNew1018Window (LCOM4 4): WhatsNew1018Window\u0027s methods fall into 4 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 4 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":"prototype/App/WhatsNew1018.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1be7f66e2c240c33fde99080ae52fa998a641c6313a12e72c38b618603fee2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/ShadeController.swift: prototype/App/ShadeController.swift changed 54 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in AppDelegate.shade at line 176. 9 of those changes were fix/bug commits, and the other 45 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/ShadeController.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":"prototype/App/ShadeController.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b22caa5e7ba78cd375dcd320be18cc12fc4f995ad927cc0b63af731943cb96a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/GlanceProbe.swift: prototype/App/GlanceProbe.swift changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 127 in GlanceProbe.exercise at line 117. 8 of those changes were fix/bug commits, and the other 40 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/GlanceProbe.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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e8cc8722870ee05052e27f3ccb0a5dea82b92bb7bd5702811cda711c87b142"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/GestureProbe.swift: prototype/App/GestureProbe.swift changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 121 in GlanceProbe.exerciseNotch at line 1906. 6 of those changes were fix/bug commits, and the other 18 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/GestureProbe.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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"18330bf5d90dd4d3e9efe9b206997c0281d40ccea1aafc7cec3757d6471aeed6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/main.swift: prototype/main.swift changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in main.swift.top-level code at line 4. 1 of those changes was a fix/bug commit, and the other 28 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/main.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":"prototype/main.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"71843c02c037db81e3acb6090f5ba94cbb3e02699f60502becffd85a254a4a54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowShade.swift: prototype/WindowShade.swift changed 88 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AppDelegate.applicationDidFinishLaunching at line 362. 11 of those changes were fix/bug commits, and the other 77 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowShade.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":"prototype/WindowShade.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"8029e4b7dda5f69748878f0ecf2c5d7b796d4244f2bc682f9c1b698da97df133"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/TrackpadGestures.swift: prototype/App/TrackpadGestures.swift changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in TrackpadGestureController.handleFlick at line 1302. 8 of those changes were fix/bug commits, and the other 25 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/TrackpadGestures.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":"prototype/App/TrackpadGestures.swift"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4468c5281025683c0713a34fbcb6b1bdbf3e7383913bd69689a927d3f9a2699c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Preferences.swift: prototype/App/Preferences.swift changed 88 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AppDelegate.applyFeature at line 234. 11 of those changes were fix/bug commits, and the other 77 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Preferences.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":"prototype/App/Preferences.swift"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c853f45b739af201ddb435fce281dc6a297c97d1d5e8a5b2a2c419e2af133a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Notch/NotchPanel.swift: prototype/App/Notch/NotchPanel.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in NotchPanel.apply at line 2110. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Notch/NotchPanel.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":"prototype/App/Notch/NotchPanel.swift"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1845e44ef6d038178fe2af777a95375907715536d9187478d4a09d20bae56130"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/MenuBarController.swift: prototype/App/MenuBarController.swift changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in AppDelegate.buildStatusMenuItems at line 72. 3 of those changes were fix/bug commits, and the other 32 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/MenuBarController.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":"prototype/App/MenuBarController.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed9b35357158d739d4a282e69500a9d8b1dcf188fe506610688d02b8078eb3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Effects/DuoSettingsWindow.swift: prototype/Effects/DuoSettingsWindow.swift changed 55 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in DuoSettingsWindow.liveChanged at line 1234. 7 of those changes were fix/bug commits, and the other 48 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Effects/DuoSettingsWindow.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":"prototype/Effects/DuoSettingsWindow.swift"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc2d404e869451d2e8e254aadd62e3c1827285c93bc46e2766e599aaac54569"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2AppRuntime.swift: prototype/App/WS2AppRuntime.swift changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in WS2AppRuntime.init at line 62. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2AppRuntime.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":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe36ebdc52fb2faa21499d3ccd2edc9c69041d193960844d54a95fac51f9e91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowBrowser/WindowBrowserController.swift: prototype/WindowBrowser/WindowBrowserController.swift changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in WindowBrowserController.refreshPanel at line 1463. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowBrowser/WindowBrowserController.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":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0effa656e3481cece014d9adab91860a0a5d39b69c94ea5443c7ce50ce8b98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/FoldTransaction.swift: prototype/App/FoldTransaction.swift changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AppDelegate.scheduleFoldVerification at line 108. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/FoldTransaction.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":"prototype/App/FoldTransaction.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"65df56908753b63ee02a13b6dfcb5ae54962d330156f8744c0d695cfcbbb2e17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2SilentApply.swift: prototype/App/WS2SilentApply.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 109 in WS2SilentApply.perform at line 34. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2SilentApply.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":"prototype/App/WS2SilentApply.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89dbb4ca7243f9706d7f2871193c73d725c9a9a60a2549bc58892d4428d59f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Effects/FoldRenderer.swift: prototype/Effects/FoldRenderer.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in FoldRenderer.draw at line 357. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Effects/FoldRenderer.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":"prototype/Effects/FoldRenderer.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c3870668622c436a3e9bb3fe9619465b7d238f6e8e50373261b3a8a3e9ffa4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2OwnedLaunchController.swift: prototype/App/WS2OwnedLaunchController.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in WS2OwnedLaunchController.receive at line 354. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2OwnedLaunchController.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":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64cc8a3cf0cc5878562447143308ce1b4e2c370e6362d5a5ec47ea7aa518a25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/EventTap.swift: prototype/App/EventTap.swift changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in AppDelegate.handleHotKey at line 147. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/EventTap.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":"prototype/App/EventTap.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"555bb607dde7d94ad5bf7f87c4f45741ad9613743b72537b18e0c736c43a677a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/NotchActivityController.swift: prototype/App/NotchActivityController.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in NotchActivityController.perform at line 535. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/NotchActivityController.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":"prototype/App/NotchActivityController.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b818abd5a542fed537757e04f00227d60b1b3c668fc4b1a19d3969c8dc77292d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/WS2SilentGates.swift: prototype/Core/WS2SilentGates.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 83 in WS2SilentReadout.sentence at line 432. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/WS2SilentGates.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":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4d7f03ee46f14f6b7b30dcee3245d1e87a579956221defa407f3b6ee1b7cf5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Effects/WindowFoldEffects.swift: prototype/Effects/WindowFoldEffects.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in WindowFoldEffects.prepareFold at line 72. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Effects/WindowFoldEffects.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":"prototype/Effects/WindowFoldEffects.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae33e171d33ada153bb0b27e960a35180ef54116b8f48b97b1a24929b413a3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/CodexWire.swift: prototype/Core/CodexWire.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in CodexWire.receive at line 135. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/CodexWire.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":"prototype/Core/CodexWire.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebb6f392b6928c6ecd9902e74510b565c1fe7941fa8fce04dd5ff3b96435a8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Effects/DuoController.swift: prototype/Effects/DuoController.swift changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in DuoController.tickDesktop at line 421. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Effects/DuoController.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":"prototype/Effects/DuoController.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aa976a069ada1c6ea49f0d528cfdd27eb28f6a7b0053a1bc89d7b7d47551a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/ConductorSession.swift: prototype/Core/ConductorSession.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 125 in ConductorSession.receive at line 223. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/ConductorSession.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":"prototype/Core/ConductorSession.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd35c819b7a72383917d2912ddd04d0d4395eba419a63007fdf62076cc3362a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/FocusSession.swift: prototype/App/FocusSession.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in AppDelegate.startFocusCurrentAppSession at line 361. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/FocusSession.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":"prototype/App/FocusSession.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1e63e583e7ecd8693082e36a9c93b6a67fe8b0124381c70731c661325c6d6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/NotchShapeProbe.swift: prototype/App/NotchShapeProbe.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in GlanceProbe.exerciseNotchShape at line 12. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/NotchShapeProbe.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":"prototype/App/NotchShapeProbe.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"857ffe9021677d2616aad8108d54c1dfc9913bfb1d57359c35618729aec232a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/SilentMilestoneProbe.swift: prototype/App/SilentMilestoneProbe.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in SilentMilestoneProbe.exercise at line 21. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/SilentMilestoneProbe.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":"prototype/App/SilentMilestoneProbe.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1167c14cf3aad1a57f54ec4d1a512c5ad7aebe7956f877bbebb2b2d835c66e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Effects/EffectSession.swift: prototype/Effects/EffectSession.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in EffectSession.show at line 99. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Effects/EffectSession.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":"prototype/Effects/EffectSession.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0561c0cc2190a4542b6237090402a04c286976282e8934b8c0cb8d4873ccfadf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/SlideOver.swift: prototype/App/SlideOver.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in SlideOverController.validateWindow at line 793. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/SlideOver.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":"prototype/App/SlideOver.swift"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"058c4ea0dd243401a3cd7ce2c5be2588e8af65ba090e1cbe6d46540db65eb461"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/PictureInPicture.swift: prototype/App/PictureInPicture.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in PictureInPictureController.enter at line 90. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/PictureInPicture.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":"prototype/App/PictureInPicture.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaeb15b8b2dfaf4576301c45eceec011c5031472c65e9f2a769e0c04aa1794d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Reconcile.swift: prototype/App/Reconcile.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in AppDelegate.applyReconcileAXSnapshots at line 297. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Reconcile.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":"prototype/App/Reconcile.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9a552d86fabd8bc4961d7a5681b57a1d49077c8d34838261d24dc5e3f1d725"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/ScrollStripRun.swift: prototype/App/ScrollStripRun.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ScrollStripController.evaluateColumns at line 1143. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/ScrollStripRun.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":"prototype/App/ScrollStripRun.swift"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f3001ac0679b96add66c9c4898295c97877617b299227cf2f97e764ca585c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/LaunchpadController.swift: prototype/App/LaunchpadController.swift changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in LaunchpadController.show at line 242. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/LaunchpadController.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":"prototype/App/LaunchpadController.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c181268b91d1b0291122ecb03ccc4e9b31ff6bb6cfb6e819b9b2c29f9848fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/InteractionCoordinator.swift: prototype/Core/InteractionCoordinator.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in InteractionCoordinator.acquire at line 173. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/InteractionCoordinator.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":"prototype/Core/InteractionCoordinator.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"711f2ad7d58e84318e9926018578df0c169dd08f173af2e062d5d25d1c8d3c03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/FoldExit.swift: prototype/App/FoldExit.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AppDelegate.unshadeReturningElement at line 7. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/FoldExit.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":"prototype/App/FoldExit.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4166e63adabfee69e8454115872f779d11a80a48f08a099a321a70ebe4ed93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Overlay/ShadeStrip.swift: prototype/Overlay/ShadeStrip.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in NativeProxyOverlayWindow.sendEvent at line 414. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Overlay/ShadeStrip.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":"prototype/Overlay/ShadeStrip.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9b4aef5b9ce5d1c42736802ef12634258bf881a5d918a249ecd5ec75773619"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Glance.swift: prototype/App/Glance.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in GlanceController.driveUnhide at line 823. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Glance.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":"prototype/App/Glance.swift"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"c824148740b4ef82673faafbeca7fa052849ef6f6ee0ed131205898659e6c169"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WindowSwitcher.swift: prototype/App/WindowSwitcher.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in WindowSwitcherKeys.handle at line 97. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WindowSwitcher.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":"prototype/App/WindowSwitcher.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaada67f8a5397cd09e7792a9cee3990480f9f08b919b1d9c0243b0a0ca665c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/LaunchpadView.swift: prototype/App/LaunchpadView.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in LaunchpadView.animateOut at line 1829. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/LaunchpadView.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":"prototype/App/LaunchpadView.swift"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc437063a8148815e903a570086fa9fe88e51965f230cc48357ac19e5a0c237c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2FoldCallbackGuard.swift: prototype/App/WS2FoldCallbackGuard.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in AppDelegate.observeFoldHide at line 40. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2FoldCallbackGuard.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":"prototype/App/WS2FoldCallbackGuard.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21b518e2f43ad8ca6d88b267ac1acf510671f5fb38da8eb40d45541a3ac0cb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowBrowser/WindowBrowserViews.swift: prototype/WindowBrowser/WindowBrowserViews.swift changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WindowBrowserSurfaceStyle.applyCard at line 131. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowBrowser/WindowBrowserViews.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":"prototype/WindowBrowser/WindowBrowserViews.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2a4229fe55280b04a90c247966cadfbdd0208d98c43efa7f8d7f11a279e83d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/ScreenCaptureBridge.swift: prototype/ScreenCaptureBridge.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WindowStreamCapture.stream at line 482. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/ScreenCaptureBridge.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":"prototype/ScreenCaptureBridge.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cec66b2c1c422971c015a138e25de0ec322e4146efcfae9fdaebe834f80680"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/EventTapCallback.swift: prototype/App/EventTapCallback.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in EventTapCallback.swift.eventTapCallback at line 139. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/EventTapCallback.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":"prototype/App/EventTapCallback.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6d47ff289f0d38a2fe82c14b3cbf8b9e0be92884d1e9cb3f747ceb0929c56a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2SilentHost.swift: prototype/App/WS2SilentHost.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in WS2SilentHost.asyncObserved at line 451. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2SilentHost.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":"prototype/App/WS2SilentHost.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbdc17b95c5bb72cca631b7c340fa5ec2373ee541a0db9fdda2270272b6e531"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Notch/NotchController.swift: prototype/App/Notch/NotchController.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in NotchController.wirePanelCallbacks 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Notch/NotchController.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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6ae36346ebb808985667bd6d776f1fe7b1859a255177c04e3da24a89a7a235"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/NotchActivitySources.swift: prototype/App/NotchActivitySources.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in NotchActivitySources.poll at line 257. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/NotchActivitySources.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":"prototype/App/NotchActivitySources.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d35bd610f06ea7117a0aa139eae8ed9a6f07686815492fa2e5efe6013ce738"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/FaceObservationSource.swift: prototype/App/FaceObservationSource.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in FaceObservationWorker.captureOutput at line 729. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/FaceObservationSource.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":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b39a14b3e38a58373f7a328ebfe21725b2aabdcda4193d4761b7e51342a79a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2OwnedSessionView.swift: prototype/App/WS2OwnedSessionView.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in WS2OwnedSessionView.render at line 154. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2OwnedSessionView.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":"prototype/App/WS2OwnedSessionView.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe512a45cd4b8cb4f306a655c4dee35ad5028070e534b64e73878d94dda3f9ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/GlobalShortcuts.swift: prototype/App/GlobalShortcuts.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in GlobalShortcut.factoryHotKey at line 178. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/GlobalShortcuts.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":"prototype/App/GlobalShortcuts.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"940f47dfe5932cabf49233ac73eca10cef109b578228ff18148519f135f38557"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/FaceScanExperiment.swift: prototype/App/FaceScanExperiment.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FaceScanExperiment.scanFrame at line 427. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/FaceScanExperiment.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":"prototype/App/FaceScanExperiment.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1eb8d584d76d83d135f38d8aa08a97a7afb3c41229949afd26f471670603fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/NotchActivities.swift: prototype/Core/NotchActivities.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CodingSessionActivities.apply at line 1054. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/NotchActivities.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":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce41c7839e67298ebe8e94bd86a3affbcae9be288ece408708cab6043c1373b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2ConductorPage.swift: prototype/App/WS2ConductorPage.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in WS2ConductorPageView.renderSessions at line 557. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2ConductorPage.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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcce88d97ca1e08ea2131736a79cd9281fd0b0371260264914332bdbc0b2f87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Recovery/Rescue.swift: prototype/Recovery/Rescue.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AppDelegate.collectJournalRescueActions at line 48. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Recovery/Rescue.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":"prototype/Recovery/Rescue.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a3534caec7b37985e1c17baeb71deb9c48d61c054f6e5945c2d94bd30c61ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/LaunchpadKeysProbe.swift: prototype/App/LaunchpadKeysProbe.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 125 in GlanceProbe.exerciseLaunchpadKeys at line 27. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/LaunchpadKeysProbe.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":"prototype/App/LaunchpadKeysProbe.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"869a16a1000d8254d61d9fea1a86e11f500714f7a7e22f67d7ebb54ed57d7717"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2ConductorView.swift: prototype/App/WS2ConductorView.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in WS2ConductorView.render at line 96. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2ConductorView.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":"prototype/App/WS2ConductorView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"924327b91085b1e3aab1e5ae5a718838a560cf2f451aa0eb4e6344a22df37be7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/FullScreenProbe.swift: prototype/App/FullScreenProbe.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in GlanceProbe.exerciseFullScreenDesktops at line 11. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/FullScreenProbe.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":"prototype/App/FullScreenProbe.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"812cc5dd523c6ee65281ae2fa4f67e41a96eca5ff876323c3430c7c8a3183ed1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Effects/SettingsShotProbe.swift: prototype/Effects/SettingsShotProbe.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in SettingsShotProbe.run at line 18. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Effects/SettingsShotProbe.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":"prototype/Effects/SettingsShotProbe.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52ffa156acf1f4d39c851ad7499b65f8af5d2e45e31ecba3c8a1c70cb938726"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2CodexApprovalHost.swift: prototype/App/WS2CodexApprovalHost.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in WS2CodexApprovalHost.present at line 107. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2CodexApprovalHost.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":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c21ea39641acf75e301aef6e19a814a76cb334d1986f55fd33f7ad6b2916c6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowBrowser/WindowBrowserActions.swift: prototype/WindowBrowser/WindowBrowserActions.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in WindowBrowserActionPolicy.preflight at line 123. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowBrowser/WindowBrowserActions.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":"prototype/WindowBrowser/WindowBrowserActions.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a393fc3e1e446bcec5670d55c447783d605383cfcbc459545998125ddfe2a29a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowBrowser/WindowBrowserActionPresentation.swift: prototype/WindowBrowser/WindowBrowserActionPresentation.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in WindowBrowserActionPresentation.item at line 77. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowBrowser/WindowBrowserActionPresentation.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":"prototype/WindowBrowser/WindowBrowserActionPresentation.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d5773da893c195b392b03724655770c3b1f7368c13c90a05b992025d5fe92d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2GameControllerBridge.swift: prototype/App/WS2GameControllerBridge.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in WS2GameControllerBridge.sample at line 138. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2GameControllerBridge.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":"prototype/App/WS2GameControllerBridge.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e3a48a69c08b916cc053f722ad9b84673eb35f976611a12b46ca70fdf97170"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2PrivacyPane.swift: prototype/App/WS2PrivacyPane.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in WS2PrivacyValues.value at line 553. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2PrivacyPane.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":"prototype/App/WS2PrivacyPane.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd57fa40eab48d94b439a3a81ada5527e562a734b666cab568d83b7956ef22f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/NotchWatch.swift: prototype/App/NotchWatch.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in MenuBarRoom.measure at line 241. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/NotchWatch.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":"prototype/App/NotchWatch.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba9484b7e3ae3db9ac115c3ae266969a4b45315cb9d0443ec87bdd063901858"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Welcome.swift: prototype/App/Welcome.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WelcomeView.show at line 313. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Welcome.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":"prototype/App/Welcome.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb1542b0c3f63ac7774ef56102dfa801040f642aca39ded8750565dc6f32d2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/FocusTimer.swift: prototype/Core/FocusTimer.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in FocusTimer.handle at line 125. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/FocusTimer.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":"prototype/Core/FocusTimer.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"698d747414731a21e9fb55365a98d1c525141b39560f17075a12e65ca9ff7a7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowBrowser/WindowBrowserGeometry.swift: prototype/WindowBrowser/WindowBrowserGeometry.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WindowBrowserGeometry.layoutPlan at line 364. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowBrowser/WindowBrowserGeometry.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":"prototype/WindowBrowser/WindowBrowserGeometry.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"118c047293cfcdbf62c0c00c2d89287a6910921573fc62b4b8336c40369ab522"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/DockScenariosProbe.swift: prototype/App/DockScenariosProbe.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in GlanceProbe.exerciseDockScenarios at line 10. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/DockScenariosProbe.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":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be05fdcb170eac8492161a76f24a2359a3ce6b5932e8dfd4d5270963f8fa317"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/ArrangeController.swift: prototype/App/ArrangeController.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AppDelegate.restoreArrangedOverlayFrames at line 9. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/ArrangeController.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":"prototype/App/ArrangeController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e298a37988fb55e6bae10cd8eb5ebc2a508d98cff8fe62537c3c85aaf0e1673b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Carry.swift: prototype/App/Carry.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CarryController.layout at line 316. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Carry.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":"prototype/App/Carry.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b187b193dba7a3ef460e3bce154aad296de63fc96049999ab07878556c82d14e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/HubHoldProbe.swift: prototype/App/HubHoldProbe.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in GlanceProbe.holdSetUp at line 41. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/HubHoldProbe.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":"prototype/App/HubHoldProbe.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"227b11e06a9f31721ec1130c90615d30863dd90692514060e159787e2ef2dd37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/NotchActivityView.swift: prototype/App/NotchActivityView.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ActivityCard.update at line 227. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/NotchActivityView.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":"prototype/App/NotchActivityView.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"13544e79d0747f9707429a70cddabce206e21dd9e33aa0f4e0d5e6603493253f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: site/history.js: site/history.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in history.arrange at line 98. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- site/history.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/history.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"901e4717fe3f8ab60e296d97a23c371bf0ad3b058d1db269442804656db4684f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/FlickMotion.swift: prototype/Core/FlickMotion.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in MorphRetarget.kickKeyframes at line 362. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/FlickMotion.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":"prototype/Core/FlickMotion.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"574a1103fc023e36fb9be4ca01e1158aa982114cebd2e3cefad1a972c52665de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowBrowser/WindowBrowserShotProbe.swift: prototype/WindowBrowser/WindowBrowserShotProbe.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in WindowBrowserShotProbe.render at line 204. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowBrowser/WindowBrowserShotProbe.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":"prototype/WindowBrowser/WindowBrowserShotProbe.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"65765148bcd12d3a19e0b4802d302bb32f50e2ef2c722a38e0534ba1fcad5cc4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2HookServer.swift: prototype/App/WS2HookServer.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in WS2HookEvent.parse at line 53. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2HookServer.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":"prototype/App/WS2HookServer.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0a5b795cab473ca7262baeeab6cd2639c33862face060946e6e62e97b18b09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Thumbnail.swift: prototype/App/Thumbnail.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AppDelegate.arrangeThumbnailEntries at line 716. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Thumbnail.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":"prototype/App/Thumbnail.swift"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"132b5838144b85f9557d0cc450f58dd4ca06213d3471f4068c1eb17bcd31d9e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Effects/EffectFrameSource.swift: prototype/Effects/EffectFrameSource.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in EffectFrameSource.stream at line 254. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Effects/EffectFrameSource.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":"prototype/Effects/EffectFrameSource.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ed2da36fd865316822368569f2343ab96a70cf9cae418bee84cbad3afe5aaa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Effects/EffectWindowProbe.swift: prototype/Effects/EffectWindowProbe.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in EffectWindowProbe.run at line 15. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Effects/EffectWindowProbe.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":"prototype/Effects/EffectWindowProbe.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2319eb772aee05c80dc96f222f274ddcfca306250f6a51b3715df48b000dafdc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/TrackpadGesture.swift: prototype/Core/TrackpadGesture.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in HorizontalLadder.next at line 206. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/TrackpadGesture.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":"prototype/Core/TrackpadGesture.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d0948fa29a0d3054fc505e4045484b26bf6e9d47d13f133fcfa1547941d3c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Notch/NotchCanvas.swift: prototype/App/Notch/NotchCanvas.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in NotchCanvasView.morph at line 321. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Notch/NotchCanvas.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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a90961c0f9f571b736c9554a4a96bd32b71ca74f7d68cd050d5eddb98ec13e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2AgentSessionView.swift: prototype/App/WS2AgentSessionView.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WS2AgentSessionView.render at line 35. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2AgentSessionView.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":"prototype/App/WS2AgentSessionView.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e890b354b08dd733173397f20cda0f85225b10d877d7351f3fce4ca39cb06448"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/FaceGestureTracker.swift: prototype/Core/FaceGestureTracker.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in OwnerTurnChallenge.receive at line 271. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/FaceGestureTracker.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":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d363492dc84e74fff77531655b778069ae61c2178caa38b75c1ad0865e4830"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/Notch/NotchContentView.swift: prototype/App/Notch/NotchContentView.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in NotchContentView.place at line 308. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/Notch/NotchContentView.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":"prototype/App/Notch/NotchContentView.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"087918059985bd61a4410b2761f35f0d4ec6cbfe5ab0f2dc9a2d87775433b342"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/MagicTilingRun.swift: prototype/App/MagicTilingRun.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TrackpadGestureController.magicTile at line 71. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/MagicTilingRun.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":"prototype/App/MagicTilingRun.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e882ad04f3810fc99834eeb2055359f7caf4233711ffa37bf6a9dcf55dcef7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/FocusTimerCard.swift: prototype/App/FocusTimerCard.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in FocusTimerCard.render at line 83. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/FocusTimerCard.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":"prototype/App/FocusTimerCard.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"337d4f116cd8c96bc715b0774b0fd0d43da5a57fd51c24e2fb2a95e6edd91317"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/StripPeekProbe.swift: prototype/App/StripPeekProbe.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in GlanceProbe.exerciseStripOverview at line 230. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/StripPeekProbe.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":"prototype/App/StripPeekProbe.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf76c810660e82d8993e4ee4038154b1781c90c8cba9563bcd988a3d9c0ce75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/ws2-hook/main.swift: tools/ws2-hook/main.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in WSHookMain.main at line 18. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- tools/ws2-hook/main.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":"tools/ws2-hook/main.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"948189736aa061a148e6244b29795b736dd34a8c3fdec571cc233740e80f0622"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/NotchAuthentication.swift: prototype/App/NotchAuthentication.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in NotchAuthenticationController.authorize at line 80. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/NotchAuthentication.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":"prototype/App/NotchAuthentication.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3dfc6ee763bc2feb701ebce5f3399449788472cec1ea55a2ce20538237b65a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowBrowser/WindowThumbnailService.swift: prototype/WindowBrowser/WindowThumbnailService.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in WindowThumbnailService.request at line 413. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowBrowser/WindowThumbnailService.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":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfece3b5b2e4b45616458b7df51f9be7eeeda0a2da990abacd4182cedb50b79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/AwaySummary.swift: prototype/Core/AwaySummary.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AwaySummary.build at line 150. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/AwaySummary.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":"prototype/Core/AwaySummary.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29a5b23ebffa004ce49c59b799046a50f071696b52f5d2e8bd19523ce7d069c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/HabitProbe.swift: prototype/App/HabitProbe.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in GlanceProbe.exerciseHabits at line 14. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/HabitProbe.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":"prototype/App/HabitProbe.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe0acef4e1eeb998691ba7a7b4a82586760b01f1df4591417fcf96dca46c523"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/FaceAutofillSettings.swift: prototype/App/FaceAutofillSettings.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AppDelegate.updateFaceAutofillControls at line 70. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/FaceAutofillSettings.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":"prototype/App/FaceAutofillSettings.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f603a7ca3112b922aed7a70717d10d8fd9221b36073c2b03a3a4a4f8cb87b2d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/WS2OwnedCodexSession.swift: prototype/App/WS2OwnedCodexSession.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WS2OwnedCodexSession.init at line 25. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/WS2OwnedCodexSession.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":"prototype/App/WS2OwnedCodexSession.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b5ab84369aa14d93ff9080eaaf6f33a7b5efd7d1603a4baf04986b1fdb8148"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Core/WS2SilentSession.swift: prototype/Core/WS2SilentSession.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in WS2SilentSession.confirm at line 135. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/WS2SilentSession.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":"prototype/Core/WS2SilentSession.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7156cce5c80a8aacdf09b5657a881469ac77016f33fa125941a52d5b0f93d254"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/GapProbesFoldDesktops.swift: prototype/App/GapProbesFoldDesktops.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in GlanceProbe.exerciseFoldDesktops at line 9. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/GapProbesFoldDesktops.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":"prototype/App/GapProbesFoldDesktops.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbe7be3cb17ef076670a5dfe6c1ef5d5271b98a4927a264413255a483163216"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/Capture/CaptureIndicatorRemoval.swift: prototype/Capture/CaptureIndicatorRemoval.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CaptureIndicatorRemoval.detect at line 120. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Capture/CaptureIndicatorRemoval.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":"prototype/Capture/CaptureIndicatorRemoval.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"832019e7cdd7df08e92b7318c0cb71d5e310b95561ab1caaaadf16555716611c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/LaunchpadActivities.swift: prototype/App/LaunchpadActivities.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Card.update at line 78. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/LaunchpadActivities.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":"prototype/App/LaunchpadActivities.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6df782db9fe5bcf8b04c7ed7ae01c6e61e6b40265b6da96936949bde0f4d3a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/CheckProbes1031.swift: prototype/App/CheckProbes1031.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in GlanceProbe.exerciseNotchDebugCycle at line 241. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/CheckProbes1031.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":"prototype/App/CheckProbes1031.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2633c8b711d2498567b89e7b8bc047c0fbc9de06a1e59b56ee9aa1a03468ee0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/ClaudeConductor.swift: prototype/App/ClaudeConductor.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ClaudeConductor.receive at line 104. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/ClaudeConductor.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":"prototype/App/ClaudeConductor.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1beb58a3b6b9ee652cca503a1bc6a1efa4a97f734a82f026b47f81b26f2f541"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/NotchShelfProbe.swift: prototype/App/NotchShelfProbe.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in GlanceProbe.exerciseShelfPeek at line 64. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/NotchShelfProbe.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":"prototype/App/NotchShelfProbe.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8b06a9686478836d83b13fd0849460a225d8bf6cd4f08c3eece5270ffa40b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowBrowser/WindowClassesProbe.swift: prototype/WindowBrowser/WindowClassesProbe.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in GlanceProbe.exerciseWindowClasses at line 29. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowBrowser/WindowClassesProbe.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":"prototype/WindowBrowser/WindowClassesProbe.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab3c976efcbf487f877729339f0c274a8c447f09ebe68e464a5fcc2cd158db2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/App/ElsewhereProbe.swift: prototype/App/ElsewhereProbe.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in GlanceProbe.exerciseElsewhere at line 7. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/ElsewhereProbe.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":"prototype/App/ElsewhereProbe.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1ffc6925783ee362cfd8fd6a918c650053ccd6773fcdcc4e8aeafff80663ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prototype/WindowBrowser/WindowBrowserMoreProbe.swift: prototype/WindowBrowser/WindowBrowserMoreProbe.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in GlanceProbe.exerciseBrowserMore at line 10. 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-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/WindowBrowser/WindowBrowserMoreProbe.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":"prototype/WindowBrowser/WindowBrowserMoreProbe.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ed401a8d53294f4a73be20d29ba4b7c3913760888721e9265cf5fe9e19b94f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: prototype/App/OverlayPresentation.swift: prototype/App/OverlayPresentation.swift changed 6 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 AppDelegate.enforceOverlaySpaceInvariant at line 163), AT OR 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(native-feel): \u5F48\u7C27\u6536\u53E3\u3001\u73BB\u7483\u5206\u5C64\u3001Dock \u7DA0\u71C8\u53EB\u7CFB\u7D71\u9078\u55AE\u3001\u7E2B\u8A8D\u7CFB\u7D71\u534A\u5C4F\u201D; \u201Cfix(stage-manager): \u4E09\u5904\u53F0\u524D\u8C03\u5EA6\u8FB9\u754C\u2014\u2014\u8DE8\u684C\u9762\u6536\u8D77\u3001\u4E0D\u53EF\u6700\u5C0F\u5316\u6362\u8FB9\u3001\u526F\u5C4F\u5377\u5E18\u6761\u88AB\u632A\u201D; \u201Cfix(stage-manager): \u53F0\u524D\u8C03\u5EA6\u5F00\u7740\u65F6\u8BA9\u4F4D\u6362\u8FB9\u3001\u5144\u5F1F\u7A97\u4E0D\u518D\u5192\u56DE\u6765\u3001\u5377\u5E18\u6761\u4E0D\u88AB\u7CFB\u7EDF\u632A\u4F4D\u5E26\u8D70\u201D; \u201Cfix(windows): \u53CC\u51FB\u677E\u5F00\u3001\u5377\u5E18\u6761\u6DE1\u5165\u3001\u89D2\u843D\u505C\u653E\u4E0E\u6B7B\u8BBE\u7F6E\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/OverlayPresentation.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":"prototype/App/OverlayPresentation.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9280cb4494b44e1d3a14e5c661d45ac3e086cd42ea75693183cfdf66eea5d88"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: prototype/Core/FoldVerifier.swift: prototype/Core/FoldVerifier.swift changed 6 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 12 (its worst body is FoldVerifier.check at line 129), AT OR 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(native-feel): \u5F48\u7C27\u6536\u53E3\u3001\u73BB\u7483\u5206\u5C64\u3001Dock \u7DA0\u71C8\u53EB\u7CFB\u7D71\u9078\u55AE\u3001\u7E2B\u8A8D\u7CFB\u7D71\u534A\u5C4F\u201D; \u201Cfix(fold): \u6536\u8D77\u9A8C\u8BC1\u8FC7\u671F\u540E\u6309\u771F\u5B9E\u72B6\u6001\u6536\u5C3E\uFF0C\u4E0D\u518D\u8BA9\u7A97\u53E3\u51ED\u7A7A\u6D88\u5931\u201D; \u201Cfix(fold): \u53F0\u524D\u8C03\u5EA6\u628A\u6700\u5C0F\u5316\u505A\u6210\u4FA7\u6761\u5361\u7247\u65F6\u6309\u5916\u6846\u8BA4\u4F5C\u5DF2\u6536\u8D77\uFF0C\u5BF9\u8D26\u4E0D\u8BEF\u6E05\uFF0C\u5C55\u5F00\u65F6\u8BF7\u56DE\u821E\u53F0\uFF08\u89C4\u683C R19\uFF09\u201D; \u201Cfix(fold): \u53F0\u524D\u8C03\u5EA6\u4E0B\u7B2C\u4E8C\u6247\u7A97\u6700\u5C0F\u5316\u9A8C\u8BC1\u4E0D\u5230\u65F6\u591A\u7B49 2.5 \u79D2\u518D\u56DE\u6EDA\uFF08\u89C4\u683C R19\uFF09\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/Core/FoldVerifier.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":"prototype/Core/FoldVerifier.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa5896a81ebbfb33c4a42c10f905970674febaf7d82a11b886c23078857fa3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: prototype/App/PrivateAppListSettings.swift: prototype/App/PrivateAppListSettings.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 5 (its worst body is PrivateAppListPanel.reload at line 120), AT OR 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(\u672C\u5730\u5316): \u628A\u5199\u6B7B\u7684\u7B80\u4F53\u754C\u9762\u6587\u5B57\u63A5\u8FDB WSL10n\uFF0812 \u5904\uFF0C\u65B0\u589E 3 \u4E2A\u952E\uFF0C\u590D\u7528 11 \u4E2A\uFF09\u201D; \u201Cfix(appkit): isFlipped \u6539\u4E3A nonisolated\uFF0C\u4FEE\u6B22\u8FCE\u7A97\u53E3\u53CC\u51FB\u95EA\u9000\u201D; \u201Cfix(settings): \u8BBE\u7F6E\u9762\u677F\u590D\u6838\u2014\u2014\u4E24\u5904\u771F\u7F3A\u9677 \u002B \u4E00\u7C7B\u9690\u60A3\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:16:35 \u002B08:00\u0027 --until=\u00272026-11-16 19:16:35 \u002B08:00\u0027 --full-history --no-merges -- prototype/App/PrivateAppListSettings.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":"prototype/App/PrivateAppListSettings.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd24815a97e4f94430b8001ccc1f455091cba542468c2d6d688618885b01907"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060messageId\u0060 spells \u0060Id\u0060 where 506 names in the project spell it \u0060ID\u0060: 506 of 509 names in project repository spell the token \u0060ID\u0060 (506 of 509; unit: names in project repository containing \u0060ID\u0060). Peers: AudioLevelSystem.appPIDs(bundleID) (prototype/App/AudioLevelTap.swift:74); AudioLevelTapping.start(bundleID) (prototype/App/AudioLevelTap.swift:127); AudioProcessTap.tapID (prototype/App/AudioLevelTap.swift:205); AudioProcessTap.aggregateID (prototype/App/AudioLevelTap.swift:206); AudioProcessTap.procID (prototype/App/AudioLevelTap.swift:207). Rename to \u0060messageID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/carplay/iap2/Iap2Csm.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc7119d315061da8395320de18ce89ecacd75f86cd8e7ae6837467d7cab2025"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060messageId\u0060 spells \u0060Id\u0060 where 506 names in the project spell it \u0060ID\u0060: 506 of 509 names in project repository spell the token \u0060ID\u0060 (506 of 509; unit: names in project repository containing \u0060ID\u0060). Peers: AudioLevelSystem.appPIDs(bundleID) (prototype/App/AudioLevelTap.swift:74); AudioLevelTapping.start(bundleID) (prototype/App/AudioLevelTap.swift:127); AudioProcessTap.tapID (prototype/App/AudioLevelTap.swift:205); AudioProcessTap.aggregateID (prototype/App/AudioLevelTap.swift:206); AudioProcessTap.procID (prototype/App/AudioLevelTap.swift:207). Rename to \u0060messageID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/carplay/iap2/Iap2Csm.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6876d788979e2fe9d5f5111a662e922139127ae42c09af4993e97ac07f01e14"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060controlSessionId\u0060 spells \u0060Id\u0060 where 506 names in the project spell it \u0060ID\u0060: 506 of 509 names in project repository spell the token \u0060ID\u0060 (506 of 509; unit: names in project repository containing \u0060ID\u0060). Peers: AudioLevelSystem.appPIDs(bundleID) (prototype/App/AudioLevelTap.swift:74); AudioLevelTapping.start(bundleID) (prototype/App/AudioLevelTap.swift:127); AudioProcessTap.tapID (prototype/App/AudioLevelTap.swift:205); AudioProcessTap.aggregateID (prototype/App/AudioLevelTap.swift:206); AudioProcessTap.procID (prototype/App/AudioLevelTap.swift:207). Rename to \u0060controlSessionID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/carplay/iap2/Iap2Link.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"584327797d5a9d6e5732ef904c83309a8e912eb3118ccc6f14295e1189a5d249"}},{"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":"0dbb915274563a1a1c7710b67a8c19d2a107f22fcaf0daddfce999f66be50e9d"},"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":"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":"3c5dca3595bf0262166c5bbb228392a6ba5cb14bc8bea07e85d69ed732a7bc2e"},"properties":{"dependency":{"package":"sharp","version":"0.35.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"0.35.5","relation":"direct","declaredRange":"^0.35.4","reachability":{"kind":"unknown"}}}},{"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":"15c04d3a94efb3a7da711faa27f366456dc217d6fa7c529bb16d3c2b677d136c"},"properties":{"dependency":{"package":"undici","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"7.30.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D32","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":"c11c5aa84aea4e8f74a7bb1a5792ecffc6532eb416940ae5267dd3f6ff14b260"}},{"ruleId":"D32","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":"34644a193d601bc1eabe84b44d40dfd5122acc423455619fc742253dc5f3db8b"}},{"ruleId":"D32","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":"c7f8e20164e30ac04b48dd0cede682c4ed75ca913fb3b04bd06ed14ff6dff633"}},{"ruleId":"D32","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":"88faa8e6b644db33751d59a76f1de90fcdbe8963cf69a0a33a7415611f3d4cc2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WindowBrowserController.swift \u2194 WindowBrowserViews.swift: \u0060prototype/WindowBrowser/WindowBrowserController.swift\u0060 and \u0060prototype/WindowBrowser/WindowBrowserViews.swift\u0060 change together 60% of the time (6 of the 10 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 6 shared commits counted here, the most recent 3 are \u0060df35605a\u0060 test(probes): \u6B0A\u9650\u5361\u7247\u53EF\u622A\u5716\u9A57\u5916\u89C0\uFF1B\u5361\u7247\u7DA0\u71C8\u90A3\u689D\u8DEF\u91CF\u904E\u3001\u4E0D\u6210\u7ACB\uFF0C\u5DF2\u56DE\u9000; \u006041af1f2d\u0060 Delete 620 lines of code nothing can reach; \u0060ab3a34fd\u0060 Cut idle wakeups and redundant WindowServer work; finish two 1.0.14 r\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df111ad70287dc0bca8ad6c7ecf2eb77f6450553363bef4d0342731de57faed"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WS2InputSettingsPane.swift \u2194 DuoSettingsWindow.swift: \u0060prototype/App/WS2InputSettingsPane.swift\u0060 and \u0060prototype/Effects/DuoSettingsWindow.swift\u0060 change together 60% of the time (6 of the 10 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 different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00607193755a\u0060 feat(settings): \u65B0\u5F00\u300C\u624B\u52BF\u300D\u9875\uFF0C\u5341\u6761\u624B\u52BF\u8BBE\u7F6E\u6309\u56DB\u7EC4\u653E\u5230\u4E00\u5904\uFF08\u89C4\u683C R16\uFF09; \u00603a7c0ea1\u0060 fix(settings): \u24D8 \u9489\u6CD5\u6536\u8FDB\u884C\u5BB9\u5668 \u002B \u8001\u6784\u5EFA\u5668\u6E05\u96F6 \u002B Remote \u5B50\u884C\u53BB\u7F29\u8FDB\uFF08\u7B2C38\u6279\uFF09; \u0060335cf1c7\u0060 fix(settings): \u884C\u5BB9\u5668\u7EDF\u4E00 \u002B \u24D8 \u8D34\u63A7\u4EF6\u6210\u5217 \u002B \u4FA7\u680F\u4E24\u8282\u56FE\u6807 \u002B \u6587\u6848\u6536\u5C3E\uFF08\u7B2C37\u6279\uFF09 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2InputSettingsPane.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4719977ef3d0e6152a8693d91359c88d41001ae233cf1ea5d3fbe30f748156"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EventTap.swift \u2194 Preferences.swift: \u0060prototype/App/EventTap.swift\u0060 and \u0060prototype/App/Preferences.swift\u0060 change together 56% of the time (9 of the 16 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 9 shared commits counted here, the most recent 3 are \u0060636b24e7\u0060 feat(features): \u529F\u80FD\u76EE\u5F55\u3001\u5B89\u88C5\u9ED8\u8BA4\u4E0E\u7B2C\u4E00\u6279\u603B\u95F8; \u006033f795b1\u0060 feat(titlebar): \u6807\u9898\u680F\u53CC\u51FB\u5728\u540E\u53F0\u5224\u5B9A\uFF0C\u4E3B\u7EBF\u7A0B\u5361\u4F4F\u4E5F\u4E0D\u6F0F\u7ED9\u7CFB\u7EDF\uFF1B\u8BBE\u7F6E\u53EF\u9009\u300C\u7167\u7CFB\u7EDF\u8BBE\u7F6E\u300D\uFF08\u589E\u8865\u7B2C 15 \u6B65\uFF0C\u62CD\u677F 10-29 \u2026; \u00601ff6ac8f\u0060 feat(arrange): \u6392\u5E03\u5386\u53F2\u2014\u2014\u72B6\u6001\u680F\u83DC\u5355\u300C\u6574\u7406\u25B8\u64A4\u9500\u3008\u6700\u8FD1\u4E00\u6B65\u3009\u300D\uFF08\u4E5917\uFF0C\u62CD\u677F\u7B2C 20 \u6761\uFF09 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/EventTap.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"369cd2bb598ecbb3c40d4d4e9c007c0867cb26f766f1af550bc1be4368ce8da0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Preferences.swift \u2194 WS2InputSettingsPane.swift: \u0060prototype/App/Preferences.swift\u0060 and \u0060prototype/App/WS2InputSettingsPane.swift\u0060 change together 50% of the time (5 of the 10 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 5 shared commits counted here, the most recent 3 are \u00605ee86ce6\u0060 fix(\u8BBE\u7F6E): \u79FB\u51FA\u5E73\u6ED1\u6EDA\u52A8\u3001\u9F20\u6807\u6EDA\u52A8\u65B9\u5411\u3001\u4E09\u6307\uFF0F\u56DB\u6307\u8F7B\u70B9\u56DB\u4E2A\u505A\u4E0D\u5230\u7684\u5F00\u5173; \u00607193755a\u0060 feat(settings): \u65B0\u5F00\u300C\u624B\u52BF\u300D\u9875\uFF0C\u5341\u6761\u624B\u52BF\u8BBE\u7F6E\u6309\u56DB\u7EC4\u653E\u5230\u4E00\u5904\uFF08\u89C4\u683C R16\uFF09; \u00603a7c0ea1\u0060 fix(settings): \u24D8 \u9489\u6CD5\u6536\u8FDB\u884C\u5BB9\u5668 \u002B \u8001\u6784\u5EFA\u5668\u6E05\u96F6 \u002B Remote \u5B50\u884C\u53BB\u7F29\u8FDB\uFF08\u7B2C38\u6279\uFF09 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Preferences.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e7cdb32336f39ea781f2842f8243bcbdba782e8c450f33bc3fe47e4868d4da"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WS2ConductorSettings.swift \u2194 DuoSettingsWindow.swift: \u0060prototype/App/WS2ConductorSettings.swift\u0060 and \u0060prototype/Effects/DuoSettingsWindow.swift\u0060 change together 50% of the time (5 of the 10 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 different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00603a7c0ea1\u0060 fix(settings): \u24D8 \u9489\u6CD5\u6536\u8FDB\u884C\u5BB9\u5668 \u002B \u8001\u6784\u5EFA\u5668\u6E05\u96F6 \u002B Remote \u5B50\u884C\u53BB\u7F29\u8FDB\uFF08\u7B2C38\u6279\uFF09; \u0060335cf1c7\u0060 fix(settings): \u884C\u5BB9\u5668\u7EDF\u4E00 \u002B \u24D8 \u8D34\u63A7\u4EF6\u6210\u5217 \u002B \u4FA7\u680F\u4E24\u8282\u56FE\u6807 \u002B \u6587\u6848\u6536\u5C3E\uFF08\u7B2C37\u6279\uFF09; \u00606d33a691\u0060 feat(settings): \u7B2C36\u6279\u6253\u78E8\u2014\u2014\u56FE\u6807\u8865\u9F50\u3001\u884C\u95F4\u8DDD\u3001\u6587\u6848\u901A\u4FD7\u5316 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2ConductorSettings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0ca7e88b27568513107ef9f764709cb825ea64ae08d419fbbc078e9788725f"}},{"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":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","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":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PinnedPreviewController.menuMirrorOwnerID: \u0060PinnedPreviewController.menuMirrorOwnerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/PinnedPreview.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9c559fd838ca69806671e5069590fe9e5eed50edf63c526a3ccc8b537ffa73"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PinnedPreviewSession.sourceSpaceID: \u0060PinnedPreviewSession.sourceSpaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/PinnedPreviewSession.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbf48f2a18eb4e5eec6e88470351f4ee8da2646948f2fdbc5c7919485e6a1e8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AppDelegate.foldPresentationID: \u0060AppDelegate.foldPresentationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowShade.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ca0bea1b074529ddf3c14351f90b79ceb51be670220e86b69c72cc85240ddf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PendingTitlebarTripleClick.foldTransactionID: \u0060PendingTitlebarTripleClick.foldTransactionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowShade.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b111c605223d793096e3cd74465a2dcfd570923b70eb5099a2a40fcf214cff"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PendingSpaceReturn.sourceSpaceID: \u0060PendingSpaceReturn.sourceSpaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowShade.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa5a3b1db83685ec464a76b9f91f342d10e46ca9c7b802968d9a15f672f492b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PendingSpaceReturn.returnSpaceID: \u0060PendingSpaceReturn.returnSpaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowShade.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"645016dec4fb1898c0001b456bd252d5f9d386590feaa057dc9f01b82968b6fc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Context.bundleID: \u0060Context.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/AudioLevelTap.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"06af0663acbb9c3f908ef4e0764a0767c6f88356c353cc893d18cc191046dfea"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Carried.bundleID: \u0060Carried.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Carry.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b685a33adfc58453b7cb1fb5f547e02f39262529f6aa5e7193b9c735542201"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ClaudeConductor.sessionID: \u0060ClaudeConductor.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ClaudeConductor.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ed727fb205c23144b5856073ecb4ba39c6174b80d154a9e328dce5fda4a23f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CopyProgressSource.nextID: \u0060CopyProgressSource.nextID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CopyProgressSource.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ee46f148aa3be3b07bbecf628ec4d611d87bd518b84e84f323567ec5b905cf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DockScenarioItem.bundleID: \u0060DockScenarioItem.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/DockScenariosProbe.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee04e8b32b7d698d6d4a048a2ddf0eb781901ded9e433b4ef0b642679774a11"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceCameraDescriptor.id: \u0060FaceCameraDescriptor.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1bf955d298be6753a5235427a869c4b024bad68b2a9ba95df0ee8009282a89"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceObservation.cameraID: \u0060FaceObservation.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"969a07d15e64a6c208c7f29b4abdfadd35367cac7eacd3e6f60cb25903e2d134"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceObservationSubscription.id: \u0060FaceObservationSubscription.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2128460c599fb9be8c3836ec6955cd638f32ec64087ec9a96f6eb3b5809bf5bc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceObservationHub.deviceID: \u0060FaceObservationHub.deviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fa71712a1aac444bea3d2ffd876d80f921b822782a21b0d212306631066205"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceObservationWorker.deviceID: \u0060FaceObservationWorker.deviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5531a53b8208b143a6f6c0515ed2bb2b1b0941bdc6db7a1cae2096f9c6e949e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceScanExperiment.scanID: \u0060FaceScanExperiment.scanID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceScanExperiment.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"573690e2ac7f1f1c1745fbc1d3f612fb0af8e059cd683806a29505a71baaeec3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GlanceTarget.bundleID: \u0060GlanceTarget.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Glance.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd9220c15341eeb618282dc17ffa249581a2a8a0bfbbab73a6e1f2a9ede9b23"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: GlanceSession.bundleID: \u0060GlanceSession.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Glance.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6ee8c926f9bfdf8721992ede93ac130216a94c74681d52c5dbd70e4308e183"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HabitAppFacts.bundleID: \u0060HabitAppFacts.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/HabitContext.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"346c5b9337d3bb7ee6145ed7532540eb6d085b700e087dbaae1124180f8e6f0f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HabitDecision.bundleID: \u0060HabitDecision.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/HabitContext.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee65ca544ec76dcf40026bbda54afb8c446103ccdfbf62aeed45eccbe9b05375"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LaunchpadActivityCards.idleTimerID: \u0060LaunchpadActivityCards.idleTimerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadActivities.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"89778d9746b5521eaec6a5e7c7c73c8d916b04bc580b07f43db635cf3fe5b3ad"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Hit.id: \u0060Hit.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadActivities.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cbd29af3b5298b42fe4a8042da09287992b9d754241b260f886d28108759b8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LaunchpadFolderOverlay.folderID: \u0060LaunchpadFolderOverlay.folderID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"044387ea56ae5ffa76a07cfe4f61fb67e1aaab61466064e2537493a2b8b22483"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchActivityController.timerActivityID: \u0060NotchActivityController.timerActivityID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityController.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"39af77cbc3f3f0e2cd697b81780736d99b761331c3a983e3e03ffb3d72f61d94"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchActivityController.calendarActivityID: \u0060NotchActivityController.calendarActivityID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityController.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4088356d8608070bc9c357de9a4f9f8a6305401ac6d8d30da4a7b3fc32c8af56"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchActivityView.selectedID: \u0060NotchActivityView.selectedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityView.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ef2da362348aed30c391a3b33317fd9a20807e4b4350b58f6b7f5b2253e87c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchActivityView.animationID: \u0060NotchActivityView.animationID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityView.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5c44b3d860fb0a051a7fe34bb9ccac0ea0e1ffa6d25c0a61c94ec8471a4430"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchActivityView.selectedActivityID: \u0060NotchActivityView.selectedActivityID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivityView.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed2af7cc2e91464e03b2a06d8a9b814e1cd5300d8a626a46d24c14c47f5d6ab"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchFocusController.focusedID: \u0060NotchFocusController.focusedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchFocusController.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcd5ba1967256d791e02ca87b4b3f37b65736e031e9bcfd4f49454d428c304b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchFocusController.visibleFocusID: \u0060NotchFocusController.visibleFocusID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchFocusController.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8966f36b9c43210776e0cfcb9f46bbf0eb8ff16bbca96d968c92c4a078407e1e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Cell.id: \u0060Cell.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchFocusController.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbd47b8ea510975a16f2f4a0d97b68699534be77ef25edbee372a993b0b1885"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchLeaseHub.bootID: \u0060NotchLeaseHub.bootID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchLeases.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8681b3586dd6b324b3e958e749d39197857736f9b43fa23daf17b043ab00a215"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Peripheral.registryID: \u0060Peripheral.registryID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PeripheralBatterySource.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b7087ad9431a0dfee36eec22c3fd1baa8ec7a870073d5580040517fe0b95f3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Item.bundleID: \u0060Item.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PrivateAppListSettings.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c468132eb695e6b1f2e04806f9f067e3bab3a96e8ed564a4e2cbc4ac85ed6d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ScrollTap.frontmostBundleID: \u0060ScrollTap.frontmostBundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ScrollTap.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"882e2fca6c2ceda19d5aa8d47e06fed5cc90ae802bf8d849fa5a2adda3de1209"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: UpdateBundleInfo.bundleID: \u0060UpdateBundleInfo.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/UpdaterSystem.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc5a20f35209b0c0ac6c2b95a859b8c2388e129f8e3d0688ddf15e78aafe6ec"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Found.windowID: \u0060Found.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2AgentSessionWindowFinder.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7274bad8e2fbdc114a21c261035fa0bf5a15966f69644f5721c78852d8c804cd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2CodexApprovalHost.connectionID: \u0060WS2CodexApprovalHost.connectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98b6d59d37706cca31d30c3efa1acbf60ad59dafa9a092bdf8727aff48f1904"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2ConductorPageView.pageID: \u0060WS2ConductorPageView.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38aa94626cf0a2e33cd9caae10b94010c7895b036c9a8b299164c8bc634015c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Shown.id: \u0060Shown.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fc7317b3675c73fdd810a71b2f69df50e29df2e4371d9538ee41f18e7d8393"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Entry.id: \u0060Entry.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2GameControllerBridge.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de28aac84c090d44c876c87ebac1fb873e3aef49b83f45f581cb8764bc0eade"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Row.id: \u0060Row.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2GamepadDesktopControl.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5163241d44fe02b9b95c1af7545a7da097fba73f2ad3b28a8a481a29b8f78cdf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Pad.id: \u0060Pad.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2GamepadDesktopControl.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a0622d878f0a89b655b3c22f10dfbbb819c353d314aa1443c8cd494d1abc91"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2HookEvent.sessionID: \u0060WS2HookEvent.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookServer.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c47badf2d4b10ef7184383cce68b8a273473ad6620aa1cf6aa2dcb29b5b111b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2HookSessions.peerID: \u0060WS2HookSessions.peerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookServer.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7fcee8253e1d996927d68396f8c1290788d59458b56cf97c08d6ba1fb618ff"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Change.sessionID: \u0060Change.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookServer.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d04b078b97a7d8fe7b7020c37af3151cb10af92d19fa59852c425702a408193"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Meta.projectID: \u0060Meta.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookServer.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cac3162300e7b21d59cb232c1fb8f32fc092dbe07ecea9f7654027ab5c3e72f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PermissionAsk.sessionID: \u0060PermissionAsk.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookServer.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"291f5c56c00febb5c423aec5ac79ea56be1ef6d400a5bf97f879ba0b0a3a522e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2ModelPickerView.pageID: \u0060WS2ModelPickerView.pageID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2ModelPickerView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3c89113b1f8e3fbed06cead9ebdb9437b7ec0aa9609a77f002785959e81ecc"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2ModelPickerView.armedID: \u0060WS2ModelPickerView.armedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2ModelPickerView.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e71ba98f63d83edbcef981f7460a3dd79fb53422613e9a2af09a57795da0b8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2OwnedClaudeSession.connectionID: \u0060WS2OwnedClaudeSession.connectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedClaudeSession.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b113b1d9da19995dff8a3827c0fd575710a7af7fe28d6e6e3536dff624a9428"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2OwnedClaudeSession.sessionID: \u0060WS2OwnedClaudeSession.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedClaudeSession.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4172106a26a14004b98e3030550e5cf1b8c179ae048c035259f3db199adbd938"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2OwnedCodexSession.connectionID: \u0060WS2OwnedCodexSession.connectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedCodexSession.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b3d5695b0ca9121ae72a388d9dc6e5be2f10d91b06167f865acffebdf5c6c0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2OwnedLaunchController.launchID: \u0060WS2OwnedLaunchController.launchID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7460b51dcf8503bd71c75590d466c18cfbd6269a6cd4b34d183dbaf8c19a26"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2OwnedLaunchController.loginID: \u0060WS2OwnedLaunchController.loginID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"418f82b5ca9ededf7fcc50d92aad45e1b78671237556c1eb5e01719c06f173a2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2PrivacyRow.id: \u0060WS2PrivacyRow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2PrivacyData.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a3e42d368549416aec41aefdc2e28dc335cf37e412c395aced3739f7d105ee"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2PrivacyRow.switchID: \u0060WS2PrivacyRow.switchID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2PrivacyData.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0265bea50710d12d102952134b350d3620cc8b8faf5d513435bbebe506dd1c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Connection.id: \u0060Connection.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c555779d35e0568af8695f13cc1a9ef30cc85d0523eaa138a340ecedf4e3033"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Connection.serverSID: \u0060Connection.serverSID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2RemoteHost.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"2381cfe5ddfd1023299f74fc99a0226d66e181e06136fef80ddd8b404891465a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SessionTerminalPeekController.probeWindowID: \u0060WS2SessionTerminalPeekController.probeWindowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2SessionTerminalPeek.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a4bd64f4172b89f02776e2940e9124084a7c5d5236fce6a78ee957298aac8b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Session.turnID: \u0060Session.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AgentSessions.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"667c1d48d720798fe88977996861a27912dadb21860b593b305ba4c853d752e0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ArrangementStep.windowID: \u0060ArrangementStep.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ArrangementHistory.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9780ae26a8f0ca8dce1067388d29f252ad6078400386a45f1672293c8578a0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Facts.bundleID: \u0060Facts.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AudioLevelBands.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95c028d685e0775469b80c1ad1eb6d379f7da1a1933abf67621a485e1a5674e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AuthorizationGrant.requestID: \u0060AuthorizationGrant.requestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AuthorizationLedger.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62f1cfb7744eb5aa365e7e221ef13b0010f4d7b5ff212599ab56c1fb5c68af5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AuthorizationGrant.bootID: \u0060AuthorizationGrant.bootID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AuthorizationLedger.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdca9d0e5cdd12b5aac7c34a309f7adb9dfe53e672c2b8745ff4e922340e1c6d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: EvidenceTicket.bootID: \u0060EvidenceTicket.bootID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AuthorizationLedger.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefb8fcef6939730c8e6f5f043910f8fe301e613338064d7f3c9eba0a3489d7b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AuthorizationLedger.bootID: \u0060AuthorizationLedger.bootID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AuthorizationLedger.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4206936fbab6d25111671a4eb676d2ebdaafd5135ded0ba3481cb46e46c52f19"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AuthRequest.requestID: \u0060AuthRequest.requestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AuthorizationModels.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1bc56e714f800f4cf0070e1c6e26cb331bf431e430f7fa7cf0ceb9d2a7d0db"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AuthRequest.issuerBootID: \u0060AuthRequest.issuerBootID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AuthorizationModels.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c390c57fce3e11aadcffb8bd519b6941be0a7acc8e42adb955a7c1c9f29ac3d2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DeviceEntry.deviceID: \u0060DeviceEntry.deviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AwaySummary.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2625711b3f8e7a6658f022970dd32c26a331874e7fa13f64dbaa535ef2ab52b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowEntry.id: \u0060WindowEntry.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AwaySummary.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4fc0004a7971c5e2d1457d6c07741c15522e11af8040d7cb5b0536723f3ca2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Item.windowID: \u0060Item.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AwaySummary.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a687bf7f7cbf91f62507a529b5c14a4df6d8ae7a91b88725f41b95e86adfe8ab"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AwayList.omittedID: \u0060AwayList.omittedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AwaySummary.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b39313242b53ccd7724ff2a72201a2939df1733c9bb090563e7463502ca568"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Cell.id: \u0060Cell.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/AwaySummary.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb7dfb0c0f70009aa317d990d2b2ff20ca13382a6f73a44b10269fb56f19328"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: BluetoothBatteryDevice.id: \u0060BluetoothBatteryDevice.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/BluetoothBatteryParse.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ed39d30587afe0ee0120c1f3be615ac89a792adeb6ff747bd4293bd9ecf75c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: BystanderPolicy.ownerID: \u0060BystanderPolicy.ownerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/BystanderPolicy.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac70d4749aa582af873de4a203c841b25e23053ebc992d891c15d2b973da039e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: BystanderPolicy.nextID: \u0060BystanderPolicy.nextID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/BystanderPolicy.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f577f8911607287fa9545ce72ead86e57981ace5358309b85d2f7be048c2e0af"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Track.id: \u0060Track.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/BystanderPolicy.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0220f60de8e009dd5a33e3093ff056e2d6bffbad92bfdd5ba96beb821b2cfff"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Candidate.bundleID: \u0060Candidate.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/BystanderPolicy.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4540850cf17e7267744ef0fd5d74f5cd96ddbb7589ccdc690210069193fbcd9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CalendarEventInput.id: \u0060CalendarEventInput.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/CalendarActivity.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"74afd6e8f3b402279ff3ce806c6bba05ff7f9eb5580f2b1a0a903e43ebbdee49"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Bloom.eventID: \u0060Bloom.eventID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/CalendarPresentation.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cf6fea3f493e717789d529980a8e757f7adb51d549f3ea60660ccb7b5b0b23"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ToolUse.id: \u0060ToolUse.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ClaudeWire.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c0e577345c4f3d4d791764243095a2ac4e25ddb0b9c06d0a9a0f2af7af3bbd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Result.sessionID: \u0060Result.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ClaudeWire.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"39542684de1207e66bdd53e55cc19688fec7bd667df4ae30c9e8e6774bdebc11"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexWire.threadID: \u0060CodexWire.threadID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/CodexWire.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"df192d3bdb53b3da4b3f26ba4a6abec110a339eeddbe45bb0f6f005b855d72a0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexWire.turnID: \u0060CodexWire.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/CodexWire.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6011c24a7b0adc59943620d2d403bcedf60f76fbaf881c9ba15ca18ae75fc20b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodexWire.expectedResumeID: \u0060CodexWire.expectedResumeID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/CodexWire.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d54fd0e7d106226437703d9eec030c744004ceb61c33883ed8ad5e03a5f9600"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ConductorCapabilities.ultracodeWorkflowID: \u0060ConductorCapabilities.ultracodeWorkflowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ConductorCapabilities.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fd5c924846fc17e58bd51d7de7e391dea3d73d044d28350fbe9280a802791a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ConductorSession.lastPressID: \u0060ConductorSession.lastPressID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ConductorSession.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95b4c0cc1857b26ea2945995687e80ac6b312866c91a7ca56a783c58323426d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Press.id: \u0060Press.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ConductorSession.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9853a5daa58e293989bb0628b94febb3d46e0c7747457a51707b2ff5adbe9e8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Command.turnID: \u0060Command.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ConductorSession.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1c99fc9c3d4ec99ff30cbe27a57545098aac49fcfaf55c92d3ce12b1725dae"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Token.bootID: \u0060Token.bootID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/Contracts.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e201d7e247d62ef9a2b81453ab1136f03e45c829d1bc0744f82c08e6532213"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TokenSource.bootID: \u0060TokenSource.bootID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/Contracts.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b048a23a37aaa9551325448689f1bb17e5a74733d548f10aa07c136e4c3e1a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SessionKey.id: \u0060SessionKey.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/Contracts.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3584e64b7510f6695c1926a8ead0b6f4a24a11469c1e58a28ec85a7d11519783"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Context.peerID: \u0060Context.peerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/Contracts.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"796e83ff28c3b5df16beada6fb609df504d468fe62f4f6d0f40f98d7062328e1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Context.projectID: \u0060Context.projectID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/Contracts.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f66d4a73302fb09f5669d975b10a4922b24c6b6e63b1d939f8f6d47f218dc6c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Envelope.turnID: \u0060Envelope.turnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/Contracts.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b803ca702255065ccedac429215434ff801bafcda7d85d1462a65a19c3fdbe"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ModelID.modelID: \u0060ModelID.modelID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/Contracts.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70c1aef3371e77474e5b2fe368c2cc54739693a717b95d6533558ef142646b4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ExecutionConfig.workflowID: \u0060ExecutionConfig.workflowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/Contracts.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"662c0f45205053b9ff7edc285222772b3c5061c7e97db63325de27e867108313"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ButtonEvent.pressID: \u0060ButtonEvent.pressID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/Contracts.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5bd06cafa6f315495354a57ab9777b312ac7c42b0b3b2fa4dfe32dcdc4fd26"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: DeviceIdentity.id: \u0060DeviceIdentity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/DeviceBattery.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1781ecd82bda8e497dd73724b60cca1cb5eb2ff51656164e174ec2329343acb2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: BatteryReading.deviceID: \u0060BatteryReading.deviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/DeviceBattery.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"33033f9157fab2372c8edaa33c34118c42df362d2d387cb04cf937647a3153e6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Key.deviceID: \u0060Key.deviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/DeviceBattery.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"03107e67c0aa6e37de36f90eed481ec0ff7356178bd8992575c84ab0e01d5b69"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: BatterySourceRow.deviceID: \u0060BatterySourceRow.deviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/DeviceBattery.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4933fa4cc8592131050278cd404dcf27a5b23c09e0ed73f19b718f3a6fadcb31"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: BatterySourceNote.id: \u0060BatterySourceNote.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/DeviceBattery.swift"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a883573dd42775fc3387d555e5f95c0fd518b6388887b53906dfc299d645e0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Display.id: \u0060Display.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/DisplayKeyResolver.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dead820ab3104e460a7560797a8e3da67bf1fb9670615f810c892e87b8338ea3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Space.id: \u0060Space.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ElsewhereWindows.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e94618e2d9717d9409380e30065f92deeb69214d813684622260218a6f9f00a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ExplainerSpec.id: \u0060ExplainerSpec.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ExplainerScript.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb116307670159467f3b259e25c333a849b85cf483243d0f2519d2a3595c317c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ExplainerPage.id: \u0060ExplainerPage.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ExplainerScript.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6036252e43261519405e205a7f6f64e25578151663d1429ef24471541613a9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RowState.id: \u0060RowState.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ExplainerScript.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dc808853a26815f3e710187c67a9c4a009e6aa6697752dc16c90c404cd6984"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceEnrollmentFrame.cameraID: \u0060FaceEnrollmentFrame.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceEnrollmentFlow.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50457fc8320327fdb3a51e6e173257ccda66f1c19bdf4834def2d6c2224398e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Stream.cameraID: \u0060Stream.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceEnrollmentFlow.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ddd42d517f000e6311bb65c09a1a8b4f25ad0af8163ea6b044b560dc1d85e4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OwnerTurnChallenge.cameraID: \u0060OwnerTurnChallenge.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61d33038b089283b1a872e64e0beb39178ef8e802027af77ef58456d26b9d1f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Evidence.cameraID: \u0060Evidence.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceGestureTracker.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e90c7062f769919504e76c02659f1a8877a41e395d036bc53b6b67330dc8919"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceScanFrame.cameraID: \u0060FaceScanFrame.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceScanGuard.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"455f4ebdedd4481a955fcc2305ebc56f58acaea258808f652a16288a36b51da1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceScanEvidence.scanID: \u0060FaceScanEvidence.scanID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceScanGuard.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81e05f06c23785e69dc68dd2ead5245dadbc86de2e1ed214e641364cfc8cdcf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceScanEvidence.cameraID: \u0060FaceScanEvidence.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceScanGuard.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"107d4bfde4ceafe9c75408e140958dc73ba402b58276fc61497282ac4b76869f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FaceScanGuard.nextScanID: \u0060FaceScanGuard.nextScanID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceScanGuard.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f95f483c5d93edd646e5f5b63d3bd7affbad5cc37962df300677185a72e9da1"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Stream.cameraID: \u0060Stream.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceScanGuard.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f5896f4d180fe9a65fce31a7c15da8903bfd73737787689e6c5377b31cc87c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Scan.id: \u0060Scan.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceScanGuard.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"66577740590e999e96f7feb1589325ca9cfe10d5f0674af402bac404ccf357df"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Step.id: \u0060Step.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FaceThresholdCalibration.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b0ca311b7d95bed71fae96f7fdf3e78c71df7dd7bdc2cdda021d462d219da8"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FileShelfIdentity.fileID: \u0060FileShelfIdentity.fileID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FileShelfModel.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"310c10d98d595157739a6904954ee72b41aeb7dd069b3885c5348c7fa93c8eea"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: FileShelfEntry.id: \u0060FileShelfEntry.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FileShelfModel.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b9b65b34257a589ace850d2a9fe8286f37a2d0c77abe85c465d227431e3522"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Item.id: \u0060Item.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/FocusNavigator.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"accb74cbc0080a4c67645224a39a586dd046d0dd5bef49f5d84a31fac14a8f8f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Pad.id: \u0060Pad.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/GamepadMapping.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c6d9f4b4988792c79d049afc2810bd432f898f8c60e19eec14dcb67ff40766"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Device.registryID: \u0060Device.registryID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/HIDMappingTransaction.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d086f913aab46721d6fff93e5c5733a8817fc601ccf4ec5ac0d6c8a84e29a167"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: HabitScene.frontPID: \u0060HabitScene.frontPID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/HabitRules.swift"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5f61956caf297f07f6f4224f7f9d129ba8302661b85208430451488b3f1487"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: IdentityEvidence.scanID: \u0060IdentityEvidence.scanID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/IdentityEvidence.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a2673afc9714a7cf238f6fe6494224911b798fb4e614f19b4d6f494a152ba6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: IdentityEvidence.cameraID: \u0060IdentityEvidence.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/IdentityEvidence.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd9313ade0f3db27031c9a5959fd65b4c35040be3b33dc9f50ae3df28e6ada4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Device.vendorID: \u0060Device.vendorID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/InputDeviceKind.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab443f35189953b32d03a1a5a0a2fe3ad65a6780a078fab20cf3271351a18461"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Device.productID: \u0060Device.productID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/InputDeviceKind.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee203415609b9f756112a7f4e134f6d04293bdefa135b797f44681de2323322"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LaunchpadApp.bundleID: \u0060LaunchpadApp.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/LaunchpadModel.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b619c67a33eefd13e26f647ede705b358b9975a3d4c4364ee5d79585a1137e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LaunchpadFolder.id: \u0060LaunchpadFolder.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/LaunchpadModel.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fd2bb239d8efa469676e0d6828d16ce0bffacd0ce0e1a93fcdda89e91e5326"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LaunchpadCategory.id: \u0060LaunchpadCategory.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/LaunchpadModel.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c42bce62f901d397befcefb345a12a2db021e40a88f821faefed909c1ab1b6f"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MagicWindow.bundleID: \u0060MagicWindow.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/MagicTiling.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddee6b6bf06e7e40577eecb633875025b678070006458e8ed1f04c81153ee219"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchActivity.id: \u0060NotchActivity.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1c897833b4b53b5ecceabf5085ea9971c3a7eb1033f13dbdf3829e2542cdd3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchActivityStore.selectedID: \u0060NotchActivityStore.selectedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0da4d1d90a5ccfd65595831d9e77ec431aa79ec8cf9582cefbe22e81beed7d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodingSessionActivities.activityID: \u0060CodingSessionActivities.activityID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"6447db8ac9b9b2ce70d30661fb45285d1e988ff85547a06e7abb92e49dd98eb9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodingSessionActivities.completionID: \u0060CodingSessionActivities.completionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"013c8d3229e4e717dacefeedf4702706b41c58269ef5a30e566cc21cb3369a15"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: CodingSessionActivities.usageBloomID: \u0060CodingSessionActivities.usageBloomID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"332f778971f42c4dd6adcf1be8fd5b6cabb5bf4102aafe386e8f455d9dfdf4d9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Change.id: \u0060Change.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1f27a1ff26bbe24b9ca3f9baa48bdca78873e5a9dc35847bf85e28c7a01e82"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Live.id: \u0060Live.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7c020b3975c06ce1988d6799bd8a38aa94ec11ee71bbb4194722f2402c7c78"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Bloom.sessionID: \u0060Bloom.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4da83f9be5d0445b5c75e27d1f944607f6e73bf3525846d52e228cd8f67e56"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Spec.sessionID: \u0060Spec.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aa8012a0062a4c9da783ddfa7045f8d2473da1000c735ef6a6792f82247cd2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: MenuRow.sessionID: \u0060MenuRow.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9fd851c18ae72c519a075bc91468c90c18f47f161cba8e72a01eb5ed3b9b12"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Candidate.windowID: \u0060Candidate.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchActivities.swift"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"df435fc7a53c195da4e2374123551012b662dc51f419bf1b27527158bead37b4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: OngoingCell.activityID: \u0060OngoingCell.activityID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NotchRow.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9a5ba12023dd9d671bf6db5f8cb5a05659fdb777252643edc4b0dce133f9bf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NowPlayingCardContent.bundleID: \u0060NowPlayingCardContent.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NowPlayingCardLogic.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9a6aab23cd26dc77e6b4c6ff51a1fc829d4671fab98fa2cd0d4f7d7216030d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AudioOutputRoute.id: \u0060AudioOutputRoute.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NowPlayingCardLogic.swift"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fdfbd18616cd196d5f305aa82238399c6fb0a32ef0bc48dd2d96144c7cc44b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NowPlayingInfo.bundleID: \u0060NowPlayingInfo.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/NowPlayingStreamParser.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a76dc516595a648e7341b182273ca06852d6b82fe628f64dbd501ba7c8108a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: PiPFrameGate.windowID: \u0060PiPFrameGate.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/PiPFrameGate.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d00e536c1a268b792b9c6ca6cf72e19a23a987e8cf8db1397640dbcfff04e37"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Probe.id: \u0060Probe.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/PresenceLock.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a89ddcfd9c81e3756becd50a838f5165ad6abc0e240555928219fd2fa46e8c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Paused.bundleID: \u0060Paused.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/PresenceLockGlue.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3545b5145148fd81867272027e2d687572b4a02c071e7e0857366f312f8c3e1e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteInputRouter.lastFocusID: \u0060RemoteInputRouter.lastFocusID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/RemoteInputRouter.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"945fea33333bc61fb9d6c452ade7c30b66e23e0c901f6fcfeb3279de519efa39"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteMode.lastPressID: \u0060RemoteMode.lastPressID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/RemoteMode.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f939478190222be947a0c09bb8e9773d5e7bbd1ca0fdf193ce22cf06ced4262"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Press.id: \u0060Press.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/RemoteMode.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4169141e0a62021950fbd87bcae157559df90a3279359b94662853268445487e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Request.foregroundBundleID: \u0060Request.foregroundBundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ScrollSession.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5a2996211eaf54b38d68d4622fc44051d378a4056e38df800a07fa07f5375c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SettingsSearchEntry.id: \u0060SettingsSearchEntry.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/SettingsSearch.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec94c131928a6d2cc1bb07e34c8cffb2abc7cf0271314f2703fa23b20703f83e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SettingsSynonymGroup.id: \u0060SettingsSynonymGroup.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/SettingsSearch.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b961d759d122b26f4891032bca7513945115b8ee038a1578fdfbf57c6b37a2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ShadeState.foldTransactionID: \u0060ShadeState.foldTransactionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ShadeModels.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d77070ea227d5ac83c254915876eb76fa50cd318dd9bdbbd6405cb8b89d442"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ShadeState.sourceSpaceID: \u0060ShadeState.sourceSpaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ShadeModels.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8886b5af5a2bf92068b31b628f77f4c09bf6b5f8bf9893d300fb776efcc1f4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ShadeState.bundleID: \u0060ShadeState.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/ShadeModels.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0883a31f4ccbe94b62f9090589e84cd1be53bc96106bd6e9d5c1a08a8f3af5de"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SiriRemoteButtons.nextID: \u0060SiriRemoteButtons.nextID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/SiriRemoteButtons.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"118a6a2ae608d2cbe44a208c14da9b17aec592f86a4221e350f22de6d06958fb"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Press.id: \u0060Press.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/SiriRemoteButtons.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a423d0ab90635f02fcfe1142ebabbf3d090a509aee58de8a03c7a8589a796d62"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: SplitWindow.id: \u0060SplitWindow.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/SplitPair.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2893639092ce9f7ac424e3c2ddf68ee8ff0118a56c05d26fbc4994597a4c468"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Contact.id: \u0060Contact.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/TouchTap.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0e32a0c533ef0af7c1f6eaed3f2c1e73a855dae72ca516c8e928d2313075cd"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Slot.id: \u0060Slot.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/TouchTap.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c296a137ff21bfe19d82ef3b7c8e5ba09b1192ea30e441eb035d8eb5689cb48"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: UpdateJournal.oldPID: \u0060UpdateJournal.oldPID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/UpdateModels.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c346294441247387993aec02f56d878091c063169fc4681d0842cd4f198e4a"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: UpdateJournal.requesterPID: \u0060UpdateJournal.requesterPID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/UpdateModels.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cbf9f9d05132f68289a534dbffd36b72916320f2988d4d5f6161dfeebf0d4c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Ticket.id: \u0060Ticket.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2CarPlaySession.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f9f030721ece851d11114c4048ba8c33c8eaf8ded23287345136d2782eca9e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Peer.id: \u0060Peer.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2ConnectionBudget.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1c7ed5cd7b8680d08964210aa8f4a01f7c84147bd2129c251856f3e6814bbe"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Identity.registryID: \u0060Identity.registryID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2DeviceInputGate.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5f5c4cb659984de4eae0925c2b6761f1d3c891105b32bc31d166167ee3ad5d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Operation.id: \u0060Operation.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2FocusEffectPlan.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"991686b43e66786248b985713deeb923b5138ccc124dfa2ca17f01725d1be7a6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Identity.windowID: \u0060Identity.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2FocusWindowOwnership.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"46506371f26ebf520fd610c2ea35d6c67bc2eb9f10992f6ecb12e3d3a30a3a90"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Request.id: \u0060Request.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2LockRequestPolicy.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7a92f81500b43958fce5d1f278eda9ae6347b0f016407649be7e83076ead36"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2MouthRecording.commandID: \u0060WS2MouthRecording.commandID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2MouthTemplates.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1167fc014c6f2bc0630387eb3db5a914f19ccf4937fcedaf6234bbbe79751d07"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Project.id: \u0060Project.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2OwnedScope.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f29736446951ad357fccc0cc11bd43324145c755be755a797c22923f8fe06b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SelectionModel.selectedID: \u0060WS2SelectionModel.selectedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SelectionModel.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2219db049dda6313259117ac68879801f6b7c55189a28c9e8f9454a1ae1f8571"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Item.id: \u0060Item.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SelectionModel.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"40df8c9bf27f2fda0c0d0ace031ca51881e80f9539d942fe583a471258419fbe"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Activation.itemID: \u0060Activation.itemID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SelectionModel.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c076d4c9670a44e766cf5fde38ec3557874bd5fe4b6f80ea570c6233e8337fd0"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentCommand.id: \u0060WS2SilentCommand.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentCatalog.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab21e2c2b1cfbd7e4a862982d44b29af7fb13cb61a5493f9d9294a5455ea7cdf"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentDraftAck.requestID: \u0060WS2SilentDraftAck.requestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentDraft.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4917236b16e6e8a271e4a0c97f69bda434f82b676260da5997c61dae65ec927e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentDraftAck.draftID: \u0060WS2SilentDraftAck.draftID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentDraft.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"96609ea5f728ac3d9376c3247f6221237bcc9c276aa8d848e51120bc3d8b6b59"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentDraftAck.sessionID: \u0060WS2SilentDraftAck.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentDraft.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0933daa2b75b216ee3ae693199474e2ddc29560feeea5c5c8482648033f184"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentDraftHost.draftID: \u0060WS2SilentDraftHost.draftID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentDraft.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b42bd443c8a2be5bcfb95800b086febfea379c0c12b7328b68c2498006f444"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Submission.submissionID: \u0060Submission.submissionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentDraft.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a115ea66ba75fb02e18238f8d6d0b9d51caeb2b4cec8f0166b05053ea18212e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Submission.sessionID: \u0060Submission.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentDraft.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32c91c60de4875468d5e809641ec2f1d456f124a25ced4a6f9412df893b4bec"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Submission.requestID: \u0060Submission.requestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentDraft.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a15a82c30147944ee6ce598d0f41f675ad3d920aa42fa02a647e186b505bd9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Submission.draftID: \u0060Submission.draftID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentDraft.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"499716b473f2e85fbadfa7ae1621ebe2f8d5b26232f06290d2681b24fce7084e"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2EffectReceipt.commandID: \u0060WS2EffectReceipt.commandID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ab2ebe97cb4123980c62ead3ec9b77b65d8ee642c24e0ac8628252314fa025"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2EffectReceipt.targetID: \u0060WS2EffectReceipt.targetID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5854cfad2c1cab5baeb91c376176643ca07b6b600b276127ad5bd2fa61350818"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Record.id: \u0060Record.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2496649c58ebde7230fd6bd58c6e7ac2f14865b891532bfa59434e8db708afb9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Record.commandID: \u0060Record.commandID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4e6ed261561145acfaff22c716a0c17e74740e29b00e6a794c7ab630ff046c"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Record.targetID: \u0060Record.targetID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1582a03686bff79a15f583645d3d70354edc0eb8cc2dd4ff66e9ffb9bdc1ddd6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2BoundWindow.displayID: \u0060WS2BoundWindow.displayID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d821c625ecca7ff97c8a0acab3c39cebe885f4ab3aaac73dc2ff67ff3a87dfa"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2BoundWindow.windowID: \u0060WS2BoundWindow.windowID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33fec0c0f34032896de7bc73701c1d51005ec9889a85e4966e56b628c6514be"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2LockedShelf.selectedID: \u0060WS2LockedShelf.selectedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5350d191d76e4ef002ce3b8b03dd067098b5dae01cdd8186583f03c5e0408f83"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2PageRestore.selectedID: \u0060WS2PageRestore.selectedID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentExecution.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb9b69af1a99baa4c83c0c8fc371d745b81cf38a7f7e70b0b3cea6f8bdc22a3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentActivityCursor.cardID: \u0060WS2SilentActivityCursor.cardID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6006ac5bd6ae936e06fe53a0ed622debba314b9f020641bfe086cdb7601165"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentAssistantAck.requestID: \u0060WS2SilentAssistantAck.requestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ae5b9fc49e42ae760c4068e51074825a4d4255c22d146eb46e7c8536df2009"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentAssistantAck.targetID: \u0060WS2SilentAssistantAck.targetID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"002e7826f0aa8b0252acff7ae32bba0038d6c1c07d068021ed3f562d00ff7e34"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentAssistant.stopRequestID: \u0060WS2SilentAssistant.stopRequestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7cedf8fa0ac1674f8d2f77cdf143763aa31cee4dd1baacadeec2fc5aa0eac6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentAssistant.stopTurnID: \u0060WS2SilentAssistant.stopTurnID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"261366f3e4b87846e3e92d6cd7d0f7f86b92beeb08ae553da21be330d3a9e7df"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentAssistant.steerRequestID: \u0060WS2SilentAssistant.steerRequestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"abadbf4af706e164bb6626f52ea70f713735b34f22a1ec9c06d521daed2d1e36"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentAssistant.steerTargetID: \u0060WS2SilentAssistant.steerTargetID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fef216ddcf4fe06c43590051084530545d35ecaedd12374cfe420459b84ada"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentChallengeOutcome.commandID: \u0060WS2SilentChallengeOutcome.commandID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentGates.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b293e85be579230bef9cefb7b302138a7b3e238becdd9e8409576ad8decfbc6d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentSecurityOutcome.id: \u0060WS2SilentSecurityOutcome.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentSecurity.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3162ffd3551d48f59d9e405d1b45c17d3205d7c49c3bcfdcd12ee48d41f51e49"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2LivenessRound.cameraID: \u0060WS2LivenessRound.cameraID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentSecurity.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"697dec389da8281f38eb09ac28a35157a4b8e23fb3b26f12ef25f72bf5bce395"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2SilentSession.nextID: \u0060WS2SilentSession.nextID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentSession.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d51e242dfc13aed2d5a88478eaa602ed8a52a0f844c613ca035b0a01b8dfc6"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Proposal.id: \u0060Proposal.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentSession.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d00a279d54dafb95005204e8478ce9b8dfb5a7a7147c0b91bfab93509379541"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Proposal.targetID: \u0060Proposal.targetID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WS2SilentSession.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"210768752a868540d6e92386eb54697bc027d186fc78b40c106c44df10d08a44"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Tool.bundleID: \u0060Tool.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Core/WindowToolConflict.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"79746c8c23d2b0aa4a684181edfe69da4732a230737ca715a476bee56592783d"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: EffectFrame.id: \u0060EffectFrame.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/EffectFrameSource.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"752fef01c13b50eea1bf048fe5f8994eae76c37af0878cde295ecaafba1570d5"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: TouchContact.id: \u0060TouchContact.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2CarPlayReceiverWire.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6f17965b042cb6218b4a1e1ee2e2413b94050fda7008d58e940ec350454dad"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: VerifiedSession.connectionID: \u0060VerifiedSession.connectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2CompanionCrypto.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac95cecd8d8cab4ec8fe24ae6cd9716fb8e0c4c72a03058ce899c23e65acc6b"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2CompanionTCPTransport.connectionID: \u0060WS2CompanionTCPTransport.connectionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2CompanionTCPTransport.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be0565c0314a7dfa87279cfa9cbb16c74d683860ab67c6891f3fbbaafe05c50"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WS2EnrollmentReceipt.id: \u0060WS2EnrollmentReceipt.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2PeerRepository.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d2502eb5819caecc19e118e41f8c06d2de843150d6a44abaa054a661de1a24"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: AppEntry.bundleID: \u0060AppEntry.bundleID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Window/WindowRegistry.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b912c199531f497d28c671b5e063c3388fe16eb0b1f9e2238c2e2ead50d56e12"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowSpaceEvent.spaceID: \u0060WindowSpaceEvent.spaceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Window/WindowStateHub.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e25a8fe4aac1b90bc48230838b6d06de7d801a5b69fbf7e33de4b5462446fb7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Submission.id: \u0060Submission.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserActions.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcac40e405a54d86bb05de8134bd7c768a447dd4b341ba489d1631ad0cb2328"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowBrowserController.liveSessionID: \u0060WindowBrowserController.liveSessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7671bae04b11b120495b6a7f21bae63db37f378bb27d857f0dbdaf368b6046a2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowBrowserController.perfSessionID: \u0060WindowBrowserController.perfSessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e412aee9720a395c3381b71ed632768dc6539bbe31cc673d80434b710792df"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LivePreviewLease.ownerID: \u0060LivePreviewLease.ownerID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45c61916c3e503bdaa37511ee406c880131e06c0aeab8af68d1b674d44d1ed3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: LivePreviewLease.sessionID: \u0060LivePreviewLease.sessionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserController.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7f90173e6082d3df1a14ff1172f1ba66276430bb2a96b5bfa71ef5b57276a3"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: ScreenSnapshot.displayID: \u0060ScreenSnapshot.displayID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserDockDetection.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d70b6f5b5bed026498ed63cf7a2de50b6fa37d5367c03c537d83e386300620"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowBrowserDetectionRequest.requestID: \u0060WindowBrowserDetectionRequest.requestID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserDockDetection.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaaf931f917fdf13b98033c531cdf88f22b999094b3952681e39b08e3df22de4"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowBrowserMetadataDemand.jobID: \u0060WindowBrowserMetadataDemand.jobID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowBrowserMetadataScheduler.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35c90738b55efb69b60efd0f252eeed88226c322e7cc63214703b09e4369d07"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowThumbnailSubscription.id: \u0060WindowThumbnailSubscription.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"186d5fb6b8df40990f516c0788621ab16e600d1890c693fe8971d7b5cc766548"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowThumbnailService.nextJobID: \u0060WindowThumbnailService.nextJobID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a105c9c41f34ce6df5fc61c6ff151e593cddbfbf1bd2cc88582cf6ddafb106"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: WindowThumbnailService.nextSubscriptionID: \u0060WindowThumbnailService.nextSubscriptionID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/WindowBrowser/WindowThumbnailService.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f133a96b968d7acd2380108fdec9212096a324e534a599b106cd5a7a4b746214"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchMinimumShape.id: \u0060NotchMinimumShape.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd91e4bb9bfdd0a82e66e0dc035ddf0a9c4515d3c33552ecf9b7a9fe96a19f9"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: NotchMinimumView.shapeID: \u0060NotchMinimumView.shapeID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dece4f22c1513d5e2e99e9f8c0e849d4b3f9ae12b79be0195973007bdddfcc2"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: Ongoing.activityID: \u0060Ongoing.activityID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/Notch/NotchTile.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c63c90e286dbcc4d8568fce28170ccfeb7fb20622d72da8cebd42fcc906258"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteDiscoveryProfile.deviceID: \u0060RemoteDiscoveryProfile.deviceID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/probes/remote-device/DiscoveryProfile.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe6963b6b8b2759ca83cb6a8225f9e991a00175856a0f2bec9fc75771ec6f61"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteDiscoveryProfile.uniqueID: \u0060RemoteDiscoveryProfile.uniqueID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/probes/remote-device/DiscoveryProfile.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64e1dec6369a6b358d56d0ba483b5da757958812c687f888f46c5958d24d986"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteHandshake.id: \u0060RemoteHandshake.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/probes/remote-device/Handshake.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6101e3fb66a194d4a5f7e0a7d01babc30095331c245d1d8cb304a031d74788da"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteConnection.id: \u0060RemoteConnection.id\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/probes/remote-device/RemoteDeviceProbe.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a7644fc5e9f02525c1513f74f5f10bc192a001f7ba0d1b87be9c54a6c4aa51"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteSessionProfile.clientSID: \u0060RemoteSessionProfile.clientSID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/probes/remote-device/SessionProfile.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f1fe57782c27e3bae52e6314572a0922eeaefffee06f0a12f80f04b38194f7"}},{"ruleId":"DM2","level":"error","message":{"text":"Raw-primitive id despite a typed-id idiom: RemoteSessionProfile.serverSID: \u0060RemoteSessionProfile.serverSID\u0060 is a raw primitive id while the repo already defines typed-id wrappers \u2014 an inconsistently-adopted typed-id idiom. Give this identity its own typed id so it can\u0027t be confused with another entity\u0027s id or a plain value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/probes/remote-device/SessionProfile.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"485d7d0d3a989b455db8b16af1680789e7a700ea49c0a11fae304e34526072bd"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): FaceScanExperiment.refresh: \u0060FaceScanExperiment.refresh\u0060 performs two independent DURABLE writes \u2014 \u0060store\u0060 (a persistence store) via \u0060delete\u0060 and \u0060calibrationStore\u0060 (a persistence store) via \u0060delete\u0060 \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceScanExperiment.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"616a445007cdaea64b0500028e0f4007b3ab306c41ca451496dc74b19a3115d8"}},{"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 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060site/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"site/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fc7104d1b889700645e2312f89b5048cdbbdcdbe5f839290b2566f989e2c8f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74578af32bf86e2108276be2d7e55b069b95387b4a3708f0b663eeacaf5d493"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/NotchRetargetPreview.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"74283373359e2b262804c700472dd1dd48a190c5bb0b495134fed5f282db7bc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060abs(f[\u0027actualRowWidth\u0027]-width)\u003C0.1 and abs(f[\u0027hostWidth\u0027]-(width\u002B32))\u003C0.1\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-privacy-column-production.py, tools/archive/design-qa-batch23-29/check-privacy-row-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-privacy-column-production.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71ed7853a70aaee050e1f9b8359cda74b0161551ec9d25bb82ce188f193e3db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060abs(f[\u0027contentWidth\u0027]-560)\u003C.1 and abs(f[\u0027contentHeight\u0027]-126.5)\u003C.1\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-fileshelf-preview.py, tools/archive/design-qa-batch23-29/check-fileshelf-state-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-fileshelf-preview.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4617185a32c6d468de7e13f4015985346e5a9f5e02901f5888b6e9ebd8f5a56f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060abs(f[\u0027width\u0027]-561)\u003C.1 and abs(f[\u0027height\u0027]-160)\u003C.1\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-fileshelf-preview.py, tools/archive/design-qa-batch23-29/check-fileshelf-state-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-fileshelf-preview.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5037694dc48d4ba6974ad37e06c3ad6dbf04b523d79760c79231a793940d4afe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060abs(x-(14\u002B84*i))\u003C.1 and y==0 and w==76 and h==104\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-fileshelf-preview.py, tools/archive/design-qa-batch23-29/check-fileshelf-state-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-fileshelf-preview.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"747f4a7e698b1b6034e8a74866bbc9cbf1bca39d3f34106432d586e2b2b9edc6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body[\u0027text\u0027]==text and body[\u0027tooltip\u0027]==text\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-privacy-column-draft.py, tools/archive/design-qa-batch23-29/check-privacy-column-production.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-privacy-column-draft.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3407a68af337361c54555224c4bbe6ea952a959ea20d339adcd5b30b0e0f9dec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cleanup[\u0027temporaryDirectoriesRemoved\u0027] and cleanup[\u0027volatileDomainRestored\u0027]\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-fileshelf-preview.py, tools/archive/design-qa-batch23-29/check-fileshelf-state-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-fileshelf-preview.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73bbf89f038a015fc4945298fe48b4983b9516e80b65663f09067d03d0bdbcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f[\u0027panelAlpha\u0027]==0 and not f[\u0027intersectsScreen\u0027] and not f[\u0027activeApplication\u0027]\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-fileshelf-preview.py, tools/archive/design-qa-batch23-29/check-fileshelf-state-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-fileshelf-preview.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc31a3d149008653bcb5b72c7c3001168169589019649e940f66d6f42f2f574"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frame[\u0027visible\u0027] is False and frame[\u0027active\u0027] is False and frame[\u0027alpha\u0027] == 0\u0060 appears character-identically in 4 files \u2014 tools/archive/design-qa-batch23-29/check-browser-settings-preview.py, tools/archive/design-qa-batch23-29/check-grid-title-preview.py, tools/archive/design-qa-batch23-29/check-merged-row-preview.py, tools/archive/design-qa-batch23-29/check-window-browser-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-browser-settings-preview.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f193b8583d72a481b45a05f233ac152c4040eea426ed1d9ff626bcc6cddb08c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, (int, float)) and not isinstance(value, bool)\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-notch-motion-preview.py, tools/archive/design-qa-batch23-29/check-progress-quantity-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-notch-motion-preview.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01e4d97a0db1d8fdb192054042067b5482132d172c0bb779385ca217e54ae36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m4[6] == b\u0027\\x04\u0027 and srp.verify_proof(m4[4].hex().encode())\u0060 appears character-identically in 2 files \u2014 tools/probes/remote-device/pipelined-interop.py, tools/probes/remote-device/socket-interop.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/probes/remote-device/pipelined-interop.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf32b830c9c3067c961e819c7c4e32e58e95426dab53e6d60a8c68640aef18e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not f[\u0027visible\u0027] and not f[\u0027active\u0027] and f[\u0027alpha\u0027]==0 and f[\u0027mainThread\u0027] and f[\u0027toggles\u0027]==0\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-privacy-column-production.py, tools/archive/design-qa-batch23-29/check-privacy-row-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-privacy-column-production.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2fab99d974a300de7e06f1437ae295ed9ab95f3f869b55432273dc52565c20"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not frame[\u0027intersectsScreen\u0027] and not frame[\u0027activeApplication\u0027]\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-feedback-preview.py, tools/archive/design-qa-batch23-29/check-owned-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-feedback-preview.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b142d64432f4fb493b1a43a93f8c4a31922bf939f3000ac6f5cea2d7aaa827"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not r[\u0027pageInstantiated\u0027] and r[\u0027plannedFixtureOnly\u0027]\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-privacy-column-production.py, tools/archive/design-qa-batch23-29/check-privacy-row-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-privacy-column-production.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bd3158567e2dc8d4098c3c4377c2daeb8fa0670ab9b9c43ead24719d222f41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.is_relative_to(root) and hashlib.sha256(p.read_bytes()).hexdigest()==digest\u0060 appears character-identically in 3 files \u2014 tools/archive/design-qa-batch23-29/check-fileshelf-preview.py, tools/archive/design-qa-batch23-29/check-fileshelf-state-preview.py, tools/archive/design-qa-batch23-29/check-media-owned-state-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-fileshelf-preview.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ac0286b9f6aeae035b3d67771c05a6c1f5d1edfc3cbd5bf55a57eced8c8467"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060renderer[\u0027swiftLanguageVersion\u0027]==6 and renderer[\u0027strictConcurrency\u0027] and renderer[\u0027warningsAsErrors\u0027] and not renderer[\u0027optimized\u0027]\u0060 appears character-identically in 3 files \u2014 tools/archive/design-qa-batch23-29/check-privacy-column-production.py, tools/archive/design-qa-batch23-29/check-privacy-row-preview.py, tools/archive/design-qa-batch23-29/check-usage-detail-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-privacy-column-production.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea486c586fd89d495382d952718061003edf731531f64848b014b6504e1a98b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value[\u0027text\u0027]==\u0027\u8FD8\u6CA1\u8BFB\u0027 and f[\u0027registeredStatus\u0027]==\u0027planned\u0027\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/check-privacy-column-production.py, tools/archive/design-qa-batch23-29/check-privacy-row-preview.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/archive/design-qa-batch23-29/check-privacy-column-production.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cfaaa1ff8c139d6f12439e95c34d1a9f8b3fb9183f1ecb86f3e74368be359a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!rows.isEmpty || group.title==WS2PrivacyCopy.destinationGroupTitle\u0060 appears character-identically in 2 files \u2014 tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift, tools/archive/design-qa-batch23-29/PrivacyPageCompositionPreview.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":"tools/archive/design-qa-batch23-29/Batch26CombinedEntry.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f55a95132a20fabab31769b4b9eb4fb1bf9390ff1b0c778b1bbae8d0812ff7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!slide.mirrorVisible \u0026\u0026 slide.tabVisible\u0060 appears character-identically in 2 files \u2014 prototype/App/GapProbesSlideOver.swift, prototype/App/GestureProbe.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":"prototype/App/GapProbesSlideOver.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"126866487320d2c76522d3d07621e98c4f143e5482551fff03357deecc9d1155"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.activationPolicy == .regular \u0026\u0026 !$0.isTerminated\u0060 appears character-identically in 2 files \u2014 prototype/WindowBrowser/DockHoverProbe.swift, prototype/WindowBrowser/WindowBrowserController.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":"prototype/WindowBrowser/DockHoverProbe.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ba5453ae59d872deb8f078f32c6f6fcb884d7c8059e645231c92c2ff3e6da2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.properties.generalCategory != .control \u0026\u0026 $0.properties.generalCategory != .format\u0060 appears character-identically in 2 files \u2014 prototype/App/WS2ConductorPage.swift, prototype/App/WS2ModelPickerView.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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31cba57b62a45b86278f1aaf00adee9decef342cf0eedcf4417e96ad3027bf8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060NotchController.isEnabled \u0026\u0026 owner.notch.isAvailable\u0060 appears character-identically in 2 files \u2014 prototype/App/MagicTilingRun.swift, prototype/App/NotchFaceRecognition.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":"prototype/App/MagicTilingRun.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fe6832e233781791f708397782b50d58fb1fc3a3b9dba06dc3ca24256fc6a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060TrackpadGestureController.neighbor(of: screen, toward: .left) != nil || TrackpadGestureController.neighbor(of: screen, toward: .right) != ni\u2026\u0060 appears character-identically in 2 files \u2014 prototype/App/GestureProbe.swift, prototype/App/StripPeekProbe.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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95afe09ba6b559973780b9161062625dc8c5218e0415614a67d11ed8fb5e73d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060abs($0.x) \u003C Self.settleDistance \u0026\u0026 abs($0.v) \u003C Self.settleSpeed\u0060 appears character-identically in 2 files \u2014 prototype/Core/FlickMotion.swift, prototype/Core/WindowProxyMotion.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":"prototype/Core/FlickMotion.swift"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b54aa6ded6eed484aee1729bb71a56e57da604a4d5f52c5a09eb54df153635"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060abs(a.minX - b.minX) \u003C= tolerance \u0026\u0026 abs(a.minY - b.minY) \u003C= tolerance \u0026\u0026 abs(a.width - b.width) \u003C= tolerance \u0026\u0026 abs(a.height - b.height) \u003C=\u2026\u0060 appears character-identically in 2 files \u2014 prototype/Core/DisplayRefit.swift, prototype/WindowShade.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":"prototype/Core/DisplayRefit.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1139546e568a85d82b49ecfdadec670f259c407833e8927dba2539024d70fe0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060abs(observed.width - target.width) \u003E 4 || abs(observed.height - target.height) \u003E 4\u0060 appears character-identically in 4 files \u2014 prototype/App/DropSplitRun.swift, prototype/App/MagicTilingRun.swift, prototype/App/TrackpadGestures.swift, prototype/App/WindowProxyArranger.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":"prototype/App/DropSplitRun.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6762348dc78eb8bfb1f248d523af33f84ee096d584af7c2da1497d6af5e4b2e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.activationPolicy == .regular || app.activationPolicy == .accessory\u0060 appears character-identically in 2 files \u2014 prototype/App/AXLatencyBench.swift, prototype/App/FocusSession.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":"prototype/App/AXLatencyBench.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff87419ccb46577c53ad563c5b70ac71880c8ebf61e037c76aceb515cd5c68a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060best == nil || distance \u003C best!.distance\u0060 appears character-identically in 2 files \u2014 prototype/Core/ScrollStrip.swift, prototype/Core/StripNotchExchange.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":"prototype/Core/ScrollStrip.swift"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"052fda6d860996d22d3dda27d6c3025d090165d50ff3b9ff3cdd2263fdf8f0fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate != nil || armTask != nil || panel?.isVisible == true\u0060 appears character-identically in 2 files \u2014 prototype/App/PictureInPictureViews.swift, prototype/App/SlideOverDropHint.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":"prototype/App/PictureInPictureViews.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"372188e08ca395fe3b5dddc02e20d3014d591ee3facf16e29e81bb317fb42270"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060compact.progressTone == .timer || compact.progressTone == .timerPaused || compact.progressTone == .calendar || compact.progressTone == .cale\u2026\u0060 appears character-identically in 2 files \u2014 prototype/App/Notch/NotchCompactViews.swift, prototype/App/Notch/NotchPanel.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":"prototype/App/Notch/NotchCompactViews.swift"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cc3deb6320d01d0a74c256765810ddf6ad7fdb317c384a1e867cd8ad0e3477"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction == .left || direction == .right\u0060 appears character-identically in 3 files \u2014 prototype/App/SlideOver.swift, prototype/App/TrackpadGestures.swift, prototype/Core/TrackpadGesture.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":"prototype/App/SlideOver.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ec5f4c61c99dae7529d5f08508388aa6110cf01080e90c3780134a3a7a0631"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.phase == .began || event.phase == .mayBegin\u0060 appears character-identically in 2 files \u2014 prototype/App/Notch/NotchCanvas.swift, prototype/App/NowPlayingCard.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":"prototype/App/Notch/NotchCanvas.swift"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f089b7d6a20e474b56840d480b41d62d9cb981bcea00965e5cf806735d2728"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.phase == .cancelled || wheelDirection != true\u0060 appears character-identically in 2 files \u2014 prototype/App/LaunchpadFolders.swift, prototype/App/LaunchpadView.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":"prototype/App/LaunchpadFolders.swift"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"8affbd2ea3d52eebb2cc988a13da0c437a0c9d90c84d447be97c26e02d82e2a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inputIsCurrent() \u0026\u0026 expectedLease != nil \u0026\u0026 currentLease\u0060 appears character-identically in 2 files \u2014 prototype/App/WS2ConductorPage.swift, prototype/App/WS2ModelPickerView.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":"prototype/App/WS2ConductorPage.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cab11d6a1419fca89da7fbdb7e85d318a94115c418d0dcb293699af2cd1e0f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSelected || isHovering || actionBar.isBusy\u0060 appears character-identically in 2 files \u2014 prototype/WindowBrowser/WindowBrowserCardView.swift, prototype/WindowBrowser/WindowBrowserListRowView.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":"prototype/WindowBrowser/WindowBrowserCardView.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cce31547ef504cf70dac725faaadff4b64a225f1ee57d924992d8e4965442bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pip.framesForProbe(lid) \u003E 3 \u0026\u0026 pip.panelFrameForProbe(lid) != nil\u0060 appears character-identically in 2 files \u2014 prototype/App/GestureProbe.swift, prototype/App/HubHoldProbe.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":"prototype/App/GestureProbe.swift"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f3f2e9996115e2a0400e422fc7cb761b45c855fd942fe481b5d05d76dfd91a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060presence.enabled \u0026\u0026 (presence.phone == .present || presence.watch == .present)\u0060 appears character-identically in 2 files \u2014 prototype/App/FaceAutofillController.swift, prototype/App/NotchFaceRecognition.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":"prototype/App/FaceAutofillController.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7056179229c3878f597fe79313389d31cc861d58670efdbd8a8568c7c66944b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.onscreen(self.id) \u0026\u0026 self.owner.shaded[self.id] == nil \u0026\u0026 self.owner.duoController.windowEffects.activeCount == 0\u0060 appears character-identically in 2 files \u2014 prototype/App/GlanceProbe.swift, prototype/App/HitchProbe.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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5765a6f06356849b483b4910ea50774bc5c3cd68b01b59607caacb0dcd78b3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060speech == .denied || speech == .restricted || mic == .denied || mic == .restricted\u0060 appears character-identically in 2 files \u2014 prototype/App/MacVoiceTranscriber.swift, prototype/App/SpeechVoiceprintCapture.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":"prototype/App/MacVoiceTranscriber.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f30c13054705f0665c19befd36d98fa1644e0a0c4abd6916e067c7ce96b5174"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060speech == .notDetermined || mic == .notDetermined\u0060 appears character-identically in 2 files \u2014 prototype/App/MacVoiceTranscriber.swift, prototype/App/SpeechVoiceprintCapture.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":"prototype/App/MacVoiceTranscriber.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c5eb9d267402e51c2adc17895dd89eb548cceffa594794d906db36965d3b15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.hide == .hidden \u0026\u0026 GlanceController.unhideForLiveEnabled\u0060 appears character-identically in 2 files \u2014 prototype/App/GlanceProbe.swift, prototype/App/ThumbnailProbe.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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"09da746def27762e2ae1e360303e656a77c4d9d293b227bc5725fc662131cc4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.hide == .offscreen || state.hide == .privateOffscreen || viaUnhide\u0060 appears character-identically in 2 files \u2014 prototype/App/GlanceProbe.swift, prototype/App/ThumbnailProbe.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":"prototype/App/GlanceProbe.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"868af776a6ebc8f738960ffb3fb3f11b12a44e8266aafb57efe5c1941fbef3fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == errSecSuccess || status == errSecItemNotFound\u0060 appears character-identically in 4 files \u2014 prototype/App/FaceTemplateKeychainStore.swift, prototype/App/FaceThresholdCalibrationStore.swift, prototype/App/UnlockPasswordKeychainStore.swift, prototype/App/VoiceprintKeychainStore.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":"prototype/App/FaceTemplateKeychainStore.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0c2bacfdf72e28361bde35a1589768d17fc899748d363545261d99c463f213"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transport == kAudioDeviceTransportTypeBluetooth || transport == kAudioDeviceTransportTypeBluetoothLE\u0060 appears character-identically in 2 files \u2014 prototype/App/AirPodsBatterySource.swift, prototype/App/AudioLevelTap.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":"prototype/App/AirPodsBatterySource.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8d060953799ac17fb412a2a6e6ae79c9def887313071bd99fae0443ceb1c21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type == .tapDisabledByTimeout || type == .tapDisabledByUserInput\u0060 appears character-identically in 9 files \u2014 prototype/App/GlobalInputFilter.swift, prototype/App/HabitKeys.swift, prototype/App/MiddleTitlebarTap.swift, prototype/App/MissionControlKeys.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":"prototype/App/GlobalInputFilter.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"273099bce44a6fcf0849ba686d67e4ff8d9d3606998e01f7c1040e002593e84f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window is NotchPanel || window is NotchShoulders\u0060 appears character-identically in 3 files \u2014 prototype/App/Notch/NotchController.swift, prototype/App/NotchWatch.swift, prototype/App/QuietDefaultsProbe.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":"prototype/App/Notch/NotchController.swift"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5520cc33b5317aa178ee4801ade9882c074c7287cab6042e16c800ba79f15ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Window/AXHelpers.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f2c785b5e183a5022c97bd424a4396b59be631df2e5e43dd94ac25e6fc05de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Window/AXStallBreaker.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c31f538cb9f77a28ed1840e00a8db70718d82a00d8f311bef966af177c2f90f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2CompanionTCPTransport.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92696de6a1dbe197113fac58ce6e41a721eb1838b5ac50f191dffd539e16446"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2DuplexProcess.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaaf1b0e265fa4410dc56626e4e3a2d7277ea114c7518386454c0801dd2f042"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Support/WS2VersionProbe.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ded256c243f4acf2ca8cc9dad8ebd87494597b768a2ce6efe9921d4625dac6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/Effects/FoldGPU.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9975a0a6982e32d25ead2fc9c7c1f58b8e828630f77016975607a1df80415b9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/AirPodsBatterySource.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"223030ca78b09db126a2c49f12a52a968b78b69d764ac90f01a9e06da4098ade"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ConductorSoundPlayer.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4070f5f698c5c5eea05b4216128eabbbe66ae1ce79bb2c0506476040ead02af0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CountdownTimerCard.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc734d3f57e0925a86067f85266257d1297f7e6279268279dcb7ab0fbe5384da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/CountdownTimerHost.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fad3984b660441e12a3c014589a940013f1a874727bda2e1b2d0996851640ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/EntitlementProbe.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc52e2f209694bce864e491dca1e427f3dad515f925fd4a7db4ac8678cde9ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceAutofillController.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2289288145fd902423abb592889a52acdfcc9214828240a8ac1a8d8d870a8ef6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bbcef28028b55dc76ca013076fa446d4b3ebe8b467295ae6581ccd776febdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FaceObservationSource.swift"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"9760fcef2d24c23198d0222cf4e7dd145ade613e30afda5c6ca317f25507b9de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/FocusTimerHost.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e94a6e29454d91a4a937a86706f13531aa0a85a03245b8b2ca79f6c2c51535"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchActivitySources.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a1f00f7953f918812ddeb4091f91f18889041f0f3363dc8437db2eb13ec95f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NotchLeases.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"417594e416d556777a9570ca972954e6905c54dff47a871f2df00ff6f5731d77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NowPlayingArtwork.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ade42e9b7b3d0067c5eb8064bc42615cb5bfcffdf49088dc07d288be6e9d9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NowPlayingStream.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"725989693707ee93d7061ba0950ee7584f2dc3b3feb8c1e2404314a4700bfcc1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/NowPlayingStream.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"079a63ac4841e86dfa78ebd23c52b478df2ea0e0f73eb2be9a68f029cb9eef5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PictureInPicture.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"f296b1fb38a75f1b470ec18651cc85b61c1ddd5d52dab4cf720ad61d04b98065"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/PresenceLockDriver.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e544b470a0b138e7c200f736f46952da56322d01f5bb4b27565b0126aeaa4b0a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/ThumbnailProbe.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2179c944f2a21fbfd25ca456f3690577047fa4cf5cddf1cc027a52300910cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/UnlockPasswordKeychainStore.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bc7e5827b426fe36b71525fe150409e05c40faef08ab857cb97503df751bcf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/VisionFaceEmbedder.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3542f87765aa1d3ef16962283829b4d33acaa24d885d83515efefae91b959ede"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2AppRuntime.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a5eaa5b1645c8e9f37b4ae60cb12198f23264d4cedeb454d2c31ef78b06c2d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"809ba1bcccc190072b2e6256b468f375fb4f05517a3ce75fea1d5b74a58869b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c6009958a304657ee8cde0411f4dd9fa8020dea8dde61c6fe5d22643e7c8a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2CodexApprovalHost.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8f4a8ae611ab537dac3fdb03cab128b6bd581bcc02d8d7da3cd79984c358ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2GameControllerBridge.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2121d23d7443ed207a3c9763bc9c8718d17d54419c39e4937e143ee2a29918c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookApprovalHost.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cae55e44ecb846f7c0b79bffd119b21753f2000f24320fabf6a0dfa1f210e4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2HookApprovalHost.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd35f3da430e6e118f33572eada7a020a41d4924b5a39b2909c2f1212a56e1df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedClaudeSession.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b314d1ddca4276b80277598b8b1690be066a9213752bb39681e181e2745b5a56"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedCodexSession.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93e562f9356fb0720fbe8e48adbaef18ec2bcd08fd9fd9e880dfe1cd4d750fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedLaunchController.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0508be98a88c395638b3880a1983688969d768f098f19bae42857afa1ac705d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prototype/App/WS2OwnedSessionView.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af66df5ed83fae912461000f397697cbb5eaa5be4cd4fc88d77a945265cae90"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060namesInDirectory\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":"prototype/App/WS2AppUninstallScanner.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9034314d51c0794eb7b815bbc70ad7d068ea5799c30f9656326f801b8f01f95"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060candidates\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":"prototype/Core/CalendarActivity.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a704837aa25554798fe7d936e26eed32fd3ac9ab3f93b0e149e11af49987effe"}},{"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":"prototype/Core/FrameRhythmAnalysis.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2948e41dc7343dbcb54d34bcae8b9a2dc49c34f73a0cac7cc6d7a407ef0f317c"}}],"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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.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-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"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":12,"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."]}]}