{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ContainerMountStore.validate (cyclomatic 172): ContainerMountStore.validate has cyclomatic complexity 172 (threshold 15). Of this number, 148 points are the body\u0027s own statements and 24 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8881b1ec5ea851f70534273bebfbfaee1804ed1ec2757224a763bc5c69fe605"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerMountStore.replaceTransfer (cyclomatic 82): ContainerMountStore.replaceTransfer has cyclomatic complexity 82 (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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f43bfab59ed2cc184f80cfb74c1391be0f19a647edd148bdd8571ee63c8fb6"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.verifiedSwitchState (cyclomatic 66): DataDirMover.verifiedSwitchState 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"9855936210cb5f017397e86154b9ed8b50f35897678b6b52da3a16a04ff8d0b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.performRetainedTransferCleanup (cyclomatic 59): ContainerVolumeMigrator.performRetainedTransferCleanup has cyclomatic complexity 59 (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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dc6744ebbf4091a7dc6bdead507c872b64e7762b940ecd2eba4ad9fdf18d16"}},{"ruleId":"D1","level":"warning","message":{"text":"PortalPresentation.write (cyclomatic 58): PortalPresentation.write has cyclomatic complexity 58 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 9 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":"AppPorts/Utils/PortalPresentation.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b13eec1dd43fde4e3b429cc473a951a4d8330f2055b5f97f032aa069c87ca51"}},{"ruleId":"D1","level":"warning","message":{"text":"AppMigrationService.excludeFromSearch (cyclomatic 55): AppMigrationService.excludeFromSearch has cyclomatic complexity 55 (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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"687e1f148e6790cfa16d280a479454cf170f8eeecdfc32f4fc4d662f454d8b64"}},{"ruleId":"D1","level":"warning","message":{"text":"PrivilegedAppTransfer.perform (cyclomatic 54): PrivilegedAppTransfer.perform has cyclomatic complexity 54 (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":"AppPorts/Services/PrivilegedAppTransfer.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7a0dbbcfbadefcc78c7416b2e81fe4ac63f45096f45819070772c9454dbec8"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureHistoryStore.materials (cyclomatic 54): SignatureHistoryStore.materials has cyclomatic complexity 54 (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":"AppPorts/Services/SignatureHistoryStore.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d3e31d2c2f9117d5de0de1e939ba811cced596a3a8000de57a97dab0333fd7"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.finishBackupCleanup (cyclomatic 53): CodeSigner.finishBackupCleanup 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"50037de6a0d8989458bd1abd287e70a55f07ba04183b2c6a70007b30c8044650"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.restoreRetainingOriginal (cyclomatic 52): ContainerVolumeMigrator.restoreRetainingOriginal 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea85db107747fa9d18e023a4310107833f1053933bcca40881ce241ffecdba10"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.cleanupPreservedRestoreMaterials (cyclomatic 52): ContainerVolumeMigrator.cleanupPreservedRestoreMaterials 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0f9240fe0fbe1504adfa6e68b243dbf47302114bf5a3d713879042e6331999"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirOperationButtons.body (cyclomatic 49): DataDirOperationButtons.body 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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"148f0159f230125ef36d4734c707fb078a2b0652cdb1f9c0aec90b33fd2bd772"}},{"ruleId":"D1","level":"warning","message":{"text":"AppTransferTransaction.start (cyclomatic 48): AppTransferTransaction.start has cyclomatic complexity 48 (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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ec08ad616367da65af304c231b8b2b2335c2aaa48e4c7ea3a7b7b598127735"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.resumeVerifiedMountMigration (cyclomatic 47): ContainerVolumeMigrator.resumeVerifiedMountMigration has cyclomatic complexity 47 (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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"78db3a3159342be2d98f907e1d65bc8fd829d1657f4d50c0631cb1767caa5490"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.relocateInternalBackup (cyclomatic 46): CodeSigner.relocateInternalBackup has cyclomatic complexity 46 (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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace44d5d13711772b7e0c433c084a9aa1ce93892511a0b8d542d8e9a98ff6002"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.retainOfficialOriginal (cyclomatic 44): CodeSigner.retainOfficialOriginal 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"c387a311592ea83b99e63952919938459b4f963d482ce2785098785a0674bef7"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalDiskInventory.parse (cyclomatic 44): ExternalDiskInventory.parse 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":"AppPorts/Utils/ExternalDiskInventory.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca808e1d23c97ab7d074ad7f9abfd86c1b14ccf4fdf23c069387cba250552cf"}},{"ruleId":"D1","level":"warning","message":{"text":"WriterAdmission.pruneExitedPresences (cyclomatic 42): WriterAdmission.pruneExitedPresences has cyclomatic complexity 42 (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":"AppPorts/Utils/WriterAdmission.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"04129668c94e994ca31608e67d56213256e7b31201077a8bbab315742da66c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.resumeVerifiedMountRestore (cyclomatic 40): ContainerVolumeMigrator.resumeVerifiedMountRestore 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83d47daa75a769b6630aecc8e34c3a4a59fd7f65ea31964854f2bb8c13c79e1"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirScanner.mergeRecoveryRecords (cyclomatic 40): DataDirScanner.mergeRecoveryRecords has cyclomatic complexity 40 (threshold 15). Of this number, 35 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b257ed4613a9639ff23fdedf756ec6b914a90a6d0fe0e864af65b7bb579f1f"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.performScheduledMaintenance (cyclomatic 39): ContainerVolumeMigrator.performScheduledMaintenance 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b79d474f529084fc00d01bc78dd9d62c59a0a8c28af773a3cb94a6fdf0f492c"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirScanner.scanLibraryDirsWithDiagnostics (cyclomatic 39): DataDirScanner.scanLibraryDirsWithDiagnostics 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e49cd04deb46cf67b25bce0c5ae83a9e4b2d073120aed9453148292b2c6284"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessCommandRunner.execute (cyclomatic 39): ProcessCommandRunner.execute 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":"AppPorts/Utils/DiskUtility.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4cfd60c34cdc290346917279fc0714f228de073c724e85343da522bdf6d3fc"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.cancelPreparation (cyclomatic 38): DataDirMover.cancelPreparation has cyclomatic complexity 38 (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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c58e495df47fd7774b12581ddd08cd8d2bc5022b9a9e8545fecbad145272648"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.associatedApplication (cyclomatic 37): CodeSigner.associatedApplication has cyclomatic complexity 37 (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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fea36ee2e931c9275e15b46515f059661b7613cf775a53c5903f6eacc08475"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.sign (cyclomatic 36): CodeSigner.sign 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5349c8b532db8296b8fec1daa99ddacc47499de8be4208c0f1c8cd017ae790"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerMountStore.mutate (cyclomatic 36): ContainerMountStore.mutate has cyclomatic complexity 36 (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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1684bffb923370f63989fc1c9c0b1db0d7568e072d56a031b4b70f51cc86caa"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.resumeVerifiedTransfer (cyclomatic 36): DataDirMover.resumeVerifiedTransfer 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"228fdac65c7be3fd5777ec6df161258300080bd9ec41b60fe902fb82308f5e77"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.body (cyclomatic 35): ContentView.body 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":"AppPorts/ContentView.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3492031ce75d21b5d9799a3f12a0189d7051c621826abae0218a302fa31379"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.restorationSource (cyclomatic 35): CodeSigner.restorationSource 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb93a45bdb912c6d1562dff480a0d7cc1ab689aa978b32181d0717911dc6e8d3"}},{"ruleId":"D1","level":"warning","message":{"text":"AppScanner.scanExternalApps (cyclomatic 35): AppScanner.scanExternalApps 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c820f5d20a26e932189d1a82d0827a46b5ac1927f1f4afc5e3ece67f25d5b555"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.performRetainedTransferCleanup (cyclomatic 34): DataDirMover.performRetainedTransferCleanup 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d34c23be4700dee04cced560ebe7d4d93665fcb1f47b2f41906efbcf213b2e2"}},{"ruleId":"D1","level":"warning","message":{"text":"Context.copyNode (cyclomatic 33): Context.copyNode 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":"AppPorts/Services/SignatureCompatibilityCopy.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99da4ac644a50ec6497a5c741ba9a99eadcb60328a0e22b21412f1f81a05628"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureSnapshot.fingerprint (cyclomatic 33): SignatureSnapshot.fingerprint 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":"AppPorts/Services/SignatureSnapshot.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d201531bbed2281a3858b942f97ffdc5bd01737efb27c05cc42c24a275df5b90"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirsView.body (cyclomatic 33): DataDirsView.body 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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"907194f628ae55d19a6b2e15737e19653db63000ca58357b24388b8bc9e69a25"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirsView.appDirsContent (cyclomatic 33): DataDirsView.appDirsContent has cyclomatic complexity 33 (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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea14010c5adfca63a92066069d19ade38554aed6904bf3ca4c8bdc7a80820d4e"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureRepairSheet.body (cyclomatic 33): SignatureRepairSheet.body has cyclomatic complexity 33 (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":"AppPorts/Views/SignatureRepairSheet.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc1c013ec5c3503ca0c06f27612493cb8c80cccb56dfca72a82e41c556d42c1"}},{"ruleId":"D1","level":"warning","message":{"text":"OperationMaintenance.finishScheduledDataOperations (cyclomatic 32): OperationMaintenance.finishScheduledDataOperations 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":"AppPorts/Services/OperationMaintenance.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a25abc78763cf88ba0fdf076799f457353764cc0f877fdd47980b7eca7a230"}},{"ruleId":"D1","level":"warning","message":{"text":"VolumeStateClassifier.inventory (cyclomatic 32): VolumeStateClassifier.inventory has cyclomatic complexity 32 (threshold 15). Of this number, 31 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":"AppPorts/Services/VolumeStateClassifier.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b81bf70af8949a39d6a3c8d0d20ed69db0632ffcde327f712f4e86aa926d36b"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeCopySession.compareEntry (cyclomatic 32): TreeCopySession.compareEntry has cyclomatic complexity 32 (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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"487cd37669fd51257b5996b20f6c2d7b893c81e4ffb3b9a70cf59969ae0819c5"}},{"ruleId":"D1","level":"warning","message":{"text":"VolumeStateClassifier.classify (cyclomatic 31): VolumeStateClassifier.classify 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":"AppPorts/Services/VolumeStateClassifier.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc7e07815d7b7de7bc14b6a4b1df17ce591dc20e83c61795e4bf1b54c5bc264"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeCopySession.copyNodeContents (cyclomatic 31): TreeCopySession.copyNodeContents 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ea192dcfc97a66b95b53bd9b7341d139e2164e999c949f3b5aeaf39baf312e"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.removeUnactivatedMigrationVolume (cyclomatic 30): ContainerVolumeMigrator.removeUnactivatedMigrationVolume 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. This shape REPEATS in the file: one other method here (ContainerVolumeMigrator.removeUnactivatedMigrationVolume::verifyCandidate) 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"9990495f547352c5f1692742bc0bb07033f9792f9930feef6d020d88cd80ec36"}},{"ruleId":"D1","level":"warning","message":{"text":"MountPointLease.init (cyclomatic 30): MountPointLease.init 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":"AppPorts/Utils/MountPointLease.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0059dc17072a5eb6623e63845fa7c40bc9a14b993035061da8e9d79bbae385b"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTreeRelocator.move (cyclomatic 29): DataTreeRelocator.move 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":"AppPorts/Utils/DataTreeRelocator.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daa49f754793f5b2ceaade96d93401ebcb245199bd4fb6771dbaf4b32f98eb4"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeCopySession.compareRemovalRemainder (cyclomatic 29): TreeCopySession.compareRemovalRemainder 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7d64fda607799f901b79f873f19f25ea2584372babe9f06c4b13af0e3dbe6f"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLibraryImageService.mount (cyclomatic 28): AppLibraryImageService.mount 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":"AppPorts/Services/AppLibraryImageService.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"729fbc377181b697a775fbbb9443fdd13b0585a1710aa532ca3963a871df8b8c"}},{"ruleId":"D1","level":"warning","message":{"text":"WeChatAccountMigrationService.groupedItems (cyclomatic 28): WeChatAccountMigrationService.groupedItems 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":"AppPorts/Services/WeChatAccountMigrationService.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"97de91e5da56afb1cdb6baa078e0d13287d0f6a46038a9388d3aa14708ebf487"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.requireActiveData (cyclomatic 28): ContainerVolumeMigrator.requireActiveData 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e4461afb42dac11e40c6be6dacc44dfb0e92feb9ba2ddbeab844ee038a8f11"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirsView.scanLibraryDirs (cyclomatic 28): DataDirsView.scanLibraryDirs 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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d78425c653dca43449b332b4398b4b334262eec54432af1f77e322df309e449"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.performMoveOut (cyclomatic 27): ContentView.performMoveOut 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":"AppPorts/ContentView.swift"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94ee1a1fc9551a67974868a30603c9bf653635acb3bf1f9f6020b0333254a31"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.requireUnstartedMigrationFilesystem (cyclomatic 27): DataDirMover.requireUnstartedMigrationFilesystem 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"887b23787c3c4e69c50f00c3d258347abff006132b900805fb2aa92902d613a8"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLibraryImageRecovery.recoverSelected (cyclomatic 26): AppLibraryImageRecovery.recoverSelected 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":"AppPorts/Services/AppLibraryImageRecovery.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b27e2e25c5969ca67c564cc412c9abfe19c0e551a88ab3d636a65d28ca044c"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureSnapshot.copyUsingSystem (cyclomatic 26): SignatureSnapshot.copyUsingSystem 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":"AppPorts/Services/SignatureSnapshot.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9290c9a8bca421522c70fbc302d63653672783b318d1efd63083a226b6abf3"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.migrate (cyclomatic 26): ContainerVolumeMigrator.migrate 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"3383d3333df74f68885bf5157c615715536e6e4d473614a9f83fb3bbe6864465"}},{"ruleId":"D1","level":"warning","message":{"text":"AppMigrationService.externalTargetReplacementReason (cyclomatic 25): AppMigrationService.externalTargetReplacementReason 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a8acaa29de702c45ce8d8b6822e2bbb7a4a09e31b546f6232c20ffe12fdba9"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.recoverMountOperation (cyclomatic 25): ContainerVolumeMigrator.recoverMountOperation 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b4c84887971e1d6712e0fc7345b42c0a4138fa650873e18d97f5ffa6c2758b"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.requireExclusiveMigrationCandidate (cyclomatic 25): ContainerVolumeMigrator.requireExclusiveMigrationCandidate has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab862d32d802a43af950de355cc36bb14d765f71ca16c703552cc0136ac80be4"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeCopySession.partialCopySnapshot (cyclomatic 25): TreeCopySession.partialCopySnapshot has cyclomatic complexity 25 (threshold 15). 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, separate the cases: extract each independent 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0441b803a0ff382a56a89a891f95fb9ece76054604dbf821d5efdc06d710e72"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirsView.scanDotFolders (cyclomatic 25): DataDirsView.scanDotFolders 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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e757cf514e7ed82108b8b5456f7c55b9c91cfe4ad12b62362648468a770c3bc8"}},{"ruleId":"D1","level":"warning","message":{"text":"manage_translations.manage (cyclomatic 25): manage_translations.manage 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":"manage_translations.py"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8d3f341aa9a600e1dc293c037f4ccb2145a91715a02bb790452cfb246614b0"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTransferProgress.transition (cyclomatic 24): DataTransferProgress.transition 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":"AppPorts/Models/DataTransferProgress.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"947001fa8b17a7865a56022616f12e341f6809c03f4dd80aa552afb3c00cc282"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLogger.searchDeviceRecursive (cyclomatic 24): AppLogger.searchDeviceRecursive 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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b10ba100100dd72290e226428869cd63c899586799f857f0701068f27f621bd"}},{"ruleId":"D1","level":"warning","message":{"text":"AppMigrationService.refreshExistingStubPortal (cyclomatic 24): AppMigrationService.refreshExistingStubPortal 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ada4da3bdafd562f9c5415f3212000bb1555e6423a78dc84d381c5e407e6841"}},{"ruleId":"D1","level":"warning","message":{"text":"PortalStaging.removeContents::remove (cyclomatic 24): PortalStaging.removeContents::remove 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2662}}}],"partialFingerprints":{"codehealthFindingId/v1":"1557ab1f44091b1f3b4ff44c6bec448aa86e6c2474b3247520c2b41cd8cd148a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppTransferTransaction.finishCommitted (cyclomatic 24): AppTransferTransaction.finishCommitted has cyclomatic complexity 24 (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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a12c9dd539987b780bd227d459ff831ce56a2435d768c762410cb5fa93702b"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.retireUnrecoverableRecord (cyclomatic 24): CodeSigner.retireUnrecoverableRecord 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c2f6d86d2df9f5f8f0fd34b2be47e65225c6d00277ac79c9b0e94e6ff67c70"}},{"ruleId":"D1","level":"warning","message":{"text":"AppScanner.detectLocalAppStatus (cyclomatic 24): AppScanner.detectLocalAppStatus 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"779411c1b242484e2675aaaac1d66ae3075401baf45fb6040994065186449c7d"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.requireUnswitchedMountEntry (cyclomatic 24): ContainerVolumeMigrator.requireUnswitchedMountEntry 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f36ce7cefbd96d43d863ff78a8a29e94cdff51a1dc9223ec6b0160a55dfba6a"}},{"ruleId":"D1","level":"warning","message":{"text":"prepare-fumadocs.convert (cyclomatic 24): prepare-fumadocs.convert has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/scripts/prepare-fumadocs.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf287bf7d5bcb3d8806f9f75740e5aca02f46b2ec207fe3d789976218e1275a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDataShortcutService.updateShortcut (cyclomatic 23): AppDataShortcutService.updateShortcut 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":"AppPorts/Services/AppDataShortcutService.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"15045a60c69007166c537d945a23f2ab33c86e7be9c9e6b65f33a03a6cd7f740"}},{"ruleId":"D1","level":"warning","message":{"text":"AppSearchExclusionService.inspect (cyclomatic 23): AppSearchExclusionService.inspect 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":"AppPorts/Services/AppSearchExclusionService.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd67608cc05b7d842d867eb25bc8ed222fce5801f136f06da8e2a96346e34907"}},{"ruleId":"D1","level":"warning","message":{"text":"AppTransferTransaction.reconcileSignatureFacts (cyclomatic 23): AppTransferTransaction.reconcileSignatureFacts 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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2739684b8c605c5fb79311d44857744e1bd8555723beadce76a3a628f6aede71"}},{"ruleId":"D1","level":"warning","message":{"text":"AppTransferTransaction.observeActivation (cyclomatic 23): AppTransferTransaction.observeActivation 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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"4088806052e1b64c45dd34b231eee2e58dee76d6e3b5047238ef673484aabbc2"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerMountStore.resumeUnstartedMountRestore (cyclomatic 23): ContainerMountStore.resumeUnstartedMountRestore 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a47ebcae93a8ba91b947fc9edd3a4b2fb24bb0c1510d1053ee9ac138e34248"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.requireVerifiedResumeTopology (cyclomatic 23): ContainerVolumeMigrator.requireVerifiedResumeTopology 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3cc52ae42087fc858263a80c50bcca545ce6dcb08c091802e8a82764bb9b59"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.preparationSource (cyclomatic 23): DataDirMover.preparationSource 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a89dc65d332d2e691402f0e816d900d9ff198a08c7949dbc675a7a19cc328a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppItem.== (cyclomatic 22): AppItem.== 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":"AppPorts/Models/AppModels.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b663bb60ebf7339ea1e2b4cd777870269a2cdc0a9c94e796360bbd47d3152ce0"}},{"ruleId":"D1","level":"warning","message":{"text":"AppTransferForceRecovery.run (cyclomatic 22): AppTransferForceRecovery.run 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":"AppPorts/Services/AppTransferForceRecovery.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0f894cf24ac1f9788cce4751b3b9ad1a538a73108422b3180c33c814eb217e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.finishMaterialDeletion (cyclomatic 22): CodeSigner.finishMaterialDeletion 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. This is NOT this file\u0027s highest cyclomatic complexity: SigningError.errorDescription (cyclomatic 23) 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fbd096bd0f07b07a37161feb74114b13b1dfcf1fe2093b41531ffd93901b03"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.performAutomaticMaintenance (cyclomatic 22): CodeSigner.performAutomaticMaintenance 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. This is NOT this file\u0027s highest cyclomatic complexity: SigningError.errorDescription (cyclomatic 23) 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"8627c140e206f9e2f980c826bb0d3f0dbb94a89cd6db871de020d01095c62420"}},{"ruleId":"D1","level":"warning","message":{"text":"DiskEjectionPauseStore.snapshot (cyclomatic 22): DiskEjectionPauseStore.snapshot 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":"AppPorts/Services/DiskEjectionPauseStore.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db2864e14c746a0b40c1e8e299524d84e6719e00b1887356c48421d212ef30e"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.cancelUnstartedRestore (cyclomatic 22): DataDirMover.cancelUnstartedRestore has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"add948f2cf3cb7447c6cf836bb0724a9e53eddc72e9abef88be3afefe6542c20"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirScanner.scanSignatureDependencies (cyclomatic 22): DataDirScanner.scanSignatureDependencies has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b76901346c13859a23ffb9551d9e0101f034f3aac1a6206c6a220cf9b4a2d51"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeCopySession.copy (cyclomatic 22): TreeCopySession.copy 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c5fb8303f9812d2dde788ac8474226b2cdbd1a807922c9dfa77e167d49adbf"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeCopySession.walk (cyclomatic 22): TreeCopySession.walk has cyclomatic complexity 22 (threshold 15). Of this number, 17 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7bf3e30aa492d0cbf8a661cee36398cad954b8c0172ac9d08a30b214660e0a"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirOperationButtons.mountOperationButtons (cyclomatic 22): DataDirOperationButtons.mountOperationButtons 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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cce8bac9837523e6fbd9fba6d14cab391b1784ee737192f7ee9bf4cf7367f3"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusBadge.badges (cyclomatic 22): StatusBadge.badges 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":"AppPorts/Views/Components/StatusBadge.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee315c9d2450c541b34ff2eae9a165a40cbdd3af4be131ac4d98b005198781c7"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.scanBothAppsAtomic (cyclomatic 21): ContentView.scanBothAppsAtomic 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":"AppPorts/ContentView.swift"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c411e7ab4802bfc12068c1ae16b225abd05514ed29c8574659679ed0a365ab"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTransferRecord.followsLocation (cyclomatic 21): DataTransferRecord.followsLocation 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":"AppPorts/Models/DataTransferRecord.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca94130698e92e0ee9d60a426cd61886fcd98b22f66db1b710a18233558f4d30"}},{"ruleId":"D1","level":"warning","message":{"text":"AppMigrationService.retryDisposition (cyclomatic 21): AppMigrationService.retryDisposition 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda1a076e2b1b74a79cf5cbab0ad1630ecba84df8160879023673ae2debd654c"}},{"ruleId":"D1","level":"warning","message":{"text":"Journal.hasValidScope (cyclomatic 21): Journal.hasValidScope 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":"AppPorts/Services/AppSearchExclusionService.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a68e1d1906d16d8de8df952084d1fab43ff21c51ae0c1611ccbc66a4ab09a8e"}},{"ruleId":"D1","level":"warning","message":{"text":"DataOperationSafety.requireNoOverlap (cyclomatic 21): DataOperationSafety.requireNoOverlap 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":"AppPorts/Services/DataOperationSafety.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9d4da345fbdb50dd82841ea5702cfda6572b208579aee4682c094770034030"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureFactStore.reconcileCommittedMetadata (cyclomatic 21): SignatureFactStore.reconcileCommittedMetadata 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":"AppPorts/Services/SignatureFactStore.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"95af0e3d391666f73a0cd5dff494583d3ab8aad593a6d8bd1829f205a6d9ca39"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureRemovalManifest.remove::removeNode (cyclomatic 21): SignatureRemovalManifest.remove::removeNode 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":"AppPorts/Services/SignatureOperationRecord.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"473a9e4b6768f0be1d8635c2cd577b8500d101e6e662109b045420e37f46a8fe"}},{"ruleId":"D1","level":"warning","message":{"text":"WeChatAccountMigrationService.migrate (cyclomatic 21): WeChatAccountMigrationService.migrate 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":"AppPorts/Services/WeChatAccountMigrationService.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c849b0087c012260ad40c1692b1644d92354761c83615f2510d9536b5754a25d"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.mountPreparationSource (cyclomatic 21): ContainerVolumeMigrator.mountPreparationSource 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. This is NOT this file\u0027s highest cyclomatic complexity: MigrationError.errorDescription (cyclomatic 23) 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25f098603dec562a605e4daf037d9ad9cff05176afd802cc004cd20ea54946a"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.cancelPreparationUsingOwners (cyclomatic 21): ContainerVolumeMigrator.cancelPreparationUsingOwners 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. This is NOT this file\u0027s highest cyclomatic complexity: MigrationError.errorDescription (cyclomatic 23) 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c3f96e8769e70104d0d48b66fb6ba161f1cd0762a6e85202a18e241db314ad"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.mountVolume (cyclomatic 21): ContainerVolumeMigrator.mountVolume 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. This is NOT this file\u0027s highest cyclomatic complexity: MigrationError.errorDescription (cyclomatic 23) 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3b0b90ba4dd31d37444e60d6707a5f8024a073ae60df3e321501ccf4981566"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.restoreRetainingOriginal (cyclomatic 21): DataDirMover.restoreRetainingOriginal 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"11adf373021f00b469afdc7a77ec4d46719b2fb5c98e8a13db8e154803a12a46"}},{"ruleId":"D1","level":"warning","message":{"text":"DirectorySizeTraversal.measure (cyclomatic 21): DirectorySizeTraversal.measure 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":"AppPorts/Utils/DirectorySizeTraversal.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71052b69d416b28cfa4cabef22031bcf6d2d1b99e7c22eec2e42a36f2b3d391"}},{"ruleId":"D1","level":"warning","message":{"text":"FileCopier.copyContents (cyclomatic 21): FileCopier.copyContents 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":"AppPorts/Utils/FileCopier.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"518817c3a2d35c342c37993e672118031a86e4117e7c9119284868f625aa4c95"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRowView.appMenuItems (cyclomatic 21): AppRowView.appMenuItems 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":"AppPorts/Views/Components/AppRowView.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f614e41c55da6e79d7a5f1a6abd9b9fa9e63b88e6eb704c05bfd969d37c06287"}},{"ruleId":"D1","level":"warning","message":{"text":"DataPathPolicy.classify (cyclomatic 20): DataPathPolicy.classify 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":"AppPorts/Models/DataPathPolicy.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"23948ab5c0fac52d56a9046201217237e98ba9c6513d4fe667be04c3c330fc85"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLogger.runDiagnosticCommand (cyclomatic 20): AppLogger.runDiagnosticCommand 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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6c31ba9e7c7a99849e487335e48d36eab9a536aa07c276d585985bb4869190"}},{"ruleId":"D1","level":"warning","message":{"text":"AppMigrationService.moveAndLink (cyclomatic 20): AppMigrationService.moveAndLink 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"5128b5b016203075efbf0a597afce3437ee7c434d818b309be71722e4af6fe8d"}},{"ruleId":"D1","level":"warning","message":{"text":"AppMigrationService.localPortalKind (cyclomatic 20): AppMigrationService.localPortalKind 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af6e43ccb2c8f41206c5164f76f769ab294853816d128a2d4ba7f2c91ec807f"}},{"ruleId":"D1","level":"warning","message":{"text":"AppTransferTransaction.commitPredecessorActivations (cyclomatic 20): AppTransferTransaction.commitPredecessorActivations 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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7798c81ab75bb8e9d380d2dc6fcd8b18be82eec1a902036c4895f406eb779b"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.hasBackupDependencies (cyclomatic 20): CodeSigner.hasBackupDependencies has cyclomatic complexity 20 (threshold 15). 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. This is NOT this file\u0027s highest cyclomatic complexity: SigningError.errorDescription (cyclomatic 23) 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"a411e2c4c6618fd57e1a404d1434e9d27b10a1f9bd5fae50e3cce6f82890892f"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerMountStore.adoptLegacyRestoreOwnership (cyclomatic 20): ContainerMountStore.adoptLegacyRestoreOwnership has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee7b615aa7e656a7965088f9c35f5b0590d116fd12967fd61989fa6d7c5f541"}},{"ruleId":"D1","level":"warning","message":{"text":"DiskEjectionService.request (cyclomatic 20): DiskEjectionService.request 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":"AppPorts/Services/DiskEjectionService.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bcde7f52d1bbb33b4503019f5934b8670734f819b6595c55384f26166b2253"}},{"ruleId":"D1","level":"warning","message":{"text":"AppIdentityResolver.readBundle (cyclomatic 20): AppIdentityResolver.readBundle 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":"AppPorts/Utils/AppIdentityResolver.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"577af7d361ea7d8eabb7ce3f21016c18a5e7845c8f63d4a1de5905b033e234c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.releasePrivateRestoreMount (cyclomatic 20): ContainerVolumeMigrator.releasePrivateRestoreMount 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. This is NOT this file\u0027s highest cyclomatic complexity: MigrationError.errorDescription (cyclomatic 23) 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a898f6d9a7dd3237b49c34f2400778be90cb15802b48208611e97a3c7c13b6"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.verifyAutomaticCleanup (cyclomatic 20): DataDirMover.verifyAutomaticCleanup 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"493be400be9613ad9c42c126ed1c80db6987dc77b69ebd567230be3505dadf33"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirMover.cleanupLocation (cyclomatic 20): DataDirMover.cleanupLocation 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbb979f3c47b7a0d98d1dc0a562fb2b524a81c9fb09ac9da9c821dc8fd218f5"}},{"ruleId":"D1","level":"warning","message":{"text":"DurableFileIO.syncNode (cyclomatic 20): DurableFileIO.syncNode 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. This is NOT this file\u0027s highest cyclomatic complexity: Operation.localizedDescription (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":"AppPorts/Utils/DurableFileIO.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42e6b94e9d4dc9b21cc199b39994c5ea75921f12973363d63d5f568d038d8b4"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTransferRecord.isUnstartedSymlinkRestore (cyclomatic 19): DataTransferRecord.isUnstartedSymlinkRestore 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 shape REPEATS in the file: one other method here (DataTransferRecord.isUnstartedSymlinkMigration) 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":"AppPorts/Models/DataTransferRecord.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca8d1f61dfdb8d3591339784ee61adbaa3967e31f10d8e49e4d607b5ee1f03e"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTransferRecord.isUnstartedSymlinkMigration (cyclomatic 19): DataTransferRecord.isUnstartedSymlinkMigration 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 shape REPEATS in the file: one other method here (DataTransferRecord.isUnstartedSymlinkRestore) 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":"AppPorts/Models/DataTransferRecord.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c565daa89b5c1fb4d772dcb6bb3370bb842a2f276ffdfbb2e675febd47e8e93"}},{"ruleId":"D1","level":"warning","message":{"text":"AppMigrationService.linkAppWhileLocked (cyclomatic 19): AppMigrationService.linkAppWhileLocked 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"3874d8e6016407e71c178d24a13963739365f87840cb3268938919f40c313b97"}},{"ruleId":"D1","level":"warning","message":{"text":"AppTransferTransaction.continueTransfer (cyclomatic 19): AppTransferTransaction.continueTransfer 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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f2536265e544d983785da1e2b943d9d0206f8f273e774db32816b1bded3d3d"}},{"ruleId":"D1","level":"warning","message":{"text":"DiskEjectionController.refresh (cyclomatic 19): DiskEjectionController.refresh 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":"AppPorts/Services/DiskEjectionService.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"afeeb9e560cc487deed090b7f10dd3fa2f1453bd30a36259b33148a1267de609"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalPath.init (cyclomatic 19): LocalPath.init 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":"AppPorts/Services/DockShortcutService.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1900674a9ed3f4ac936673b82bfb9e4829af49b50cb77c6a1fc1d99ee22ea85"}},{"ruleId":"D1","level":"warning","message":{"text":"WeChatAccountMigrationService.restoreSplit (cyclomatic 19): WeChatAccountMigrationService.restoreSplit 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":"AppPorts/Services/WeChatAccountMigrationService.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c96a767c50701acc5ec57e05e8eeaf651fa554a9346f9a201f4084e3b115435"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.requireUnactivatedMigrationDestination (cyclomatic 19): ContainerVolumeMigrator.requireUnactivatedMigrationDestination 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1771e3adb599110325fe34cd484873d9a84b4438bb7dfe0be379c506e3a2e9f"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirScanner.findMatchingDirs (cyclomatic 19): DataDirScanner.findMatchingDirs has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (inspect, recordRelatedReadIssue, entries). 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5853160039fa746c6c4fd54206c1018057b0bf07c6e713552ebe507babe5eaab"}},{"ruleId":"D1","level":"warning","message":{"text":"Handle.largeOffsetDescriptor (cyclomatic 19): Handle.largeOffsetDescriptor 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":"AppPorts/Utils/ResourceForkStream.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc96dae2af1df2a596499c5acf8f9506d5a824e713c3dba90989f127c129e60d"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeCopySession.captureOnce (cyclomatic 19): TreeCopySession.captureOnce 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f5d64be2ea9c7feeb7b0fcfaafcee824c1d8758199924dc682475e7d893d66"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.computeAndStoreSizes (cyclomatic 18): ContentView.computeAndStoreSizes 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":"AppPorts/ContentView.swift"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"3052827ef24489366670c19a78bac8ee649e12902d1e62817c5b81e4ed365509"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLibraryImageFileAccess.evaluate (cyclomatic 18): AppLibraryImageFileAccess.evaluate 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":"AppPorts/Services/AppLibraryImageFileAccess.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ed0eb14a3f2b9d2d764b01d38ce447905f124fb0d6f965d024bfbec1ed8011"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLibraryImageRecovery.restoreForLaunch (cyclomatic 18): AppLibraryImageRecovery.restoreForLaunch 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":"AppPorts/Services/AppLibraryImageRecovery.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d507c6f3abce692ec61436db35c51edbb1bf9316c01de4d04ad6e3a4a1c745d"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLibraryImageService.imageDevices (cyclomatic 18): AppLibraryImageService.imageDevices 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":"AppPorts/Services/AppLibraryImageService.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"824752d02569fe6647de7cf8c2c03ba230bfef9315fe9092f7396fd4e65a414a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppMigrationService.replacementChoice (cyclomatic 18): AppMigrationService.replacementChoice 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba6e6fa3ca64c841a307b7b91121a621048cf6d02ba05836171f2ce8224432f"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureOperationStore.decode (cyclomatic 18): SignatureOperationStore.decode 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":"AppPorts/Services/SignatureOperationRecord.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0971f8fbcb692b30037759bcb6df2f2e967a1b1e0378a163d8c72a6e66c5c913"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.detachAutomaticallyMountedCandidate (cyclomatic 18): ContainerVolumeMigrator.detachAutomaticallyMountedCandidate has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf72fea00cd672b1bfbd374d52cf7b6e03861b8a2a7bc3d5b63c0e499f03ef7"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirScanner.scanContainerStructure::visit (cyclomatic 18): DataDirScanner.scanContainerStructure::visit 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ea539dc655263a883e2416038f29028af01a60b2bd370a70ce0963e6f2c9e4"}},{"ruleId":"D1","level":"warning","message":{"text":"DataCleanupResolutionSheet.transferRow (cyclomatic 18): DataCleanupResolutionSheet.transferRow 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":"AppPorts/Views/DataCleanupResolutionSheet.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d208d37191518e873eb8e103ca878f028f6c869dea2dc1f9cec621e379029ae"}},{"ruleId":"D1","level":"warning","message":{"text":"AppDataDirectoryRow.body (cyclomatic 18): AppDataDirectoryRow.body 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":"AppPorts/Views/Components/AppDataDirectoryBrowser.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"348310133fa09e9e32c1e80e656981d3c600949a2111d3cfb8dad811a48ce185"}},{"ruleId":"D1","level":"warning","message":{"text":"DiskEjectionControls.body (cyclomatic 18): DiskEjectionControls.body 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":"AppPorts/Views/Components/DiskEjectionControls.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"82efcc21fd6b40f17f959c5b220240fe6787370e2599d9b6c8da4583cdc70670"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLogger.pathStateDetails (cyclomatic 17): AppLogger.pathStateDetails 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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24d11a06f3353f7e37c7f2df496058176eceb9a60bc4889f348b83824edf4f4"}},{"ruleId":"D1","level":"warning","message":{"text":"AppMigrationService.addMissingFolderEntries (cyclomatic 17): AppMigrationService.addMissingFolderEntries 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba7be8a71bea4efd713feb4ba58ecea920a6c2de4471b2fc1586950e3db7d81"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.temporarySpaceRequirement (cyclomatic 17): CodeSigner.temporarySpaceRequirement has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (account, adding). 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. This is NOT this file\u0027s highest cyclomatic complexity: SigningError.errorDescription (cyclomatic 23) 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f4d7da55dd2efaef80a7bc3d55dbeaf639f92ea2f08c08b2fbbfe90f26e754"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerMountStore.finishAutomaticMountRollback (cyclomatic 17): ContainerMountStore.finishAutomaticMountRollback 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30ce7c6942555f1246e9ca2555d6733aeb74d1d4969ee758721ea476498cd1b"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubUpdatePackage.prepare (cyclomatic 17): GitHubUpdatePackage.prepare 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":"AppPorts/Services/GitHubUpdatePackage.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a1536769f3b255185dbcd4dc44d91fe5415ca1fdef5cfbe34f7c7d4396aab3"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubUpdatePackage.validateApplication (cyclomatic 17): GitHubUpdatePackage.validateApplication 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":"AppPorts/Services/GitHubUpdatePackage.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc33246415a30ddebe5bb99306bec412cbfd787829fad972551872c08ded510"}},{"ruleId":"D1","level":"warning","message":{"text":"SignatureInspector.inspect (cyclomatic 17): SignatureInspector.inspect 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, separate the cases: extract each independent 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":"AppPorts/Services/SignatureFactStore.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd9e846ff0f67b62d25529811fd26169c7e3e9932fee5dd93cb87ff5e154b34"}},{"ruleId":"D1","level":"warning","message":{"text":"AppScanner.isLocalApp (cyclomatic 17): AppScanner.isLocalApp 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4483d740a6416507b1e5ba901fc92a90a1a45589e368ded9f8c482f7726f038"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.resumeVerifiedTransfer (cyclomatic 17): ContainerVolumeMigrator.resumeVerifiedTransfer has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: MigrationError.errorDescription (cyclomatic 23) 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1eb78cf761622e817ec4be68d208f8e0e853440260b570d856a6e36b0706b55"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.restoreOriginalMountOptions (cyclomatic 17): ContainerVolumeMigrator.restoreOriginalMountOptions has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: MigrationError.errorDescription (cyclomatic 23) 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd10e63ae227f10cc031938131a2cc56538b5a1d1dc2f7ef70133a06ec9484c"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirScanner.refreshMountRecords (cyclomatic 17): DataDirScanner.refreshMountRecords 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"63250743af67ca41507b31839172a706533c81d67720de9386e5446c96395891"}},{"ruleId":"D1","level":"warning","message":{"text":"DataOperationIssue.needsAccessPermission (cyclomatic 17): DataOperationIssue.needsAccessPermission 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":"AppPorts/Utils/DataOperationIssue.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27a6d57676c3e1e6e2135b762e091d5f7e92a3242ef9c9764f4fca7f4ba857c"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomDirsView.refresh (cyclomatic 17): CustomDirsView.refresh 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":"AppPorts/Views/CustomDirsView.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd51abe3cc4aa383f73ac701315ff4db8e9842585fc7ddbc30c6e31eba38236"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentView.mainPageContent (cyclomatic 16): ContentView.mainPageContent 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":"AppPorts/ContentView.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3dacfae90074b93725cc81c5eaaaa5729f33a75ec04c32af26776987e35941"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLibraryImageService.verifiedVolume (cyclomatic 16): AppLibraryImageService.verifiedVolume 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":"AppPorts/Services/AppLibraryImageService.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba4efa73d6696d81470bde9ff5f2b9cdd109f3bd11b2031d8493ba47c487648"}},{"ruleId":"D1","level":"warning","message":{"text":"AppSearchExclusionService.unsupportedReason (cyclomatic 16): AppSearchExclusionService.unsupportedReason 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":"AppPorts/Services/AppSearchExclusionService.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ce84e03fe467b686fa9e241dd67da3a3bbf65eb68784a5002e00c5d1a5fa05"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoResignInstaller.stopLoadedTask (cyclomatic 16): AutoResignInstaller.stopLoadedTask 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":"AppPorts/Services/AutoResignInstaller.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e551f24a2d94874fd61809f621c46c57f0b80c7f945dc9b07de64e8bbbab1b"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.restoreSignature (cyclomatic 16): CodeSigner.restoreSignature 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. This is NOT this file\u0027s highest cyclomatic complexity: SigningError.errorDescription (cyclomatic 23) 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9798fdde8436916b4c5aef990c1329d9578d41848d361a183cbcec0d039b907e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSigner.cleanupCommitted (cyclomatic 16): CodeSigner.cleanupCommitted 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. This is NOT this file\u0027s highest cyclomatic complexity: SigningError.errorDescription (cyclomatic 23) 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"350f16f9cef7458cd62ce71e17a8133c323fc97134fa98c100239318c2b8823d"}},{"ruleId":"D1","level":"warning","message":{"text":"AppScanner.calculateDirectorySize (cyclomatic 16): AppScanner.calculateDirectorySize 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f352c1c1af959f192f82b321e123df1a039638f166f2d6ccbe534800fa8468"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.completedRestoreLineage (cyclomatic 16): ContainerVolumeMigrator.completedRestoreLineage 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. This is NOT this file\u0027s highest cyclomatic complexity: MigrationError.errorDescription (cyclomatic 23) 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"027f41f1efb6ff76707ade9fa3729b9e8630f0cf9a6ec93df0562e04a481fc7c"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.promoteCompletePreparationUsingOwners (cyclomatic 16): ContainerVolumeMigrator.promoteCompletePreparationUsingOwners has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: MigrationError.errorDescription (cyclomatic 23) 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb7710212eba42125e53f53d0b08d065742766ec1afb7e73bd5e413c4ad0ca4"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.validateUnstartedRestorePaths (cyclomatic 16): ContainerVolumeMigrator.validateUnstartedRestorePaths 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. This is NOT this file\u0027s highest cyclomatic complexity: MigrationError.errorDescription (cyclomatic 23) 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60918f7f1d49f2eb35663bd9f89e1b215d82c978af1a58285a14e3d453c1f79"}},{"ruleId":"D1","level":"warning","message":{"text":"ContainerVolumeMigrator.removeUnactivatedMigrationVolume::verifyCandidate (cyclomatic 16): ContainerVolumeMigrator.removeUnactivatedMigrationVolume::verifyCandidate 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. This shape REPEATS in the file: one other method here (ContainerVolumeMigrator.removeUnactivatedMigrationVolume) 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"867c8685abbef947e92437802d5a7cf69f174d95c9637bf8a543de3d62da141b"}},{"ruleId":"D1","level":"warning","message":{"text":"FileCopier.copyWithRetry (cyclomatic 16): FileCopier.copyWithRetry 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":"AppPorts/Utils/FileCopier.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"787f7c904aff744f4a9538b3976fdc27d1cf9d12482d199cf4976648e07f3f8e"}},{"ruleId":"D1","level":"warning","message":{"text":"FileCopier.copyDirectoryACL (cyclomatic 16): FileCopier.copyDirectoryACL 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":"AppPorts/Utils/FileCopier.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"8454970eb41f970bae1f00a1b0d4ea3eeea902368067d51fc8f2647a9275b4ad"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateChecker.domesticUpdate (cyclomatic 16): UpdateChecker.domesticUpdate 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":"AppPorts/Utils/UpdateChecker.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c29061a90e20eecb71266817db4f603ded6e4315570b1a14c7aa1a93de77fb"}},{"ruleId":"D1","level":"warning","message":{"text":"DataDirsView.requestAssociatedAppExit (cyclomatic 16): DataDirsView.requestAssociatedAppExit 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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e736604a5c2417583a07d582fb01cb29d37471317edcfa355087d064a38732"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountStore.validate (cognitive 256): ContainerMountStore.validate has cognitive complexity 256 (threshold 15). Drivers by points: if/else 43 (103 pts), boolean chains 102, loops 25 (48 pts), ternaries 1 (3 pts) (nesting depth added 85). Of this number, 231 points are the body\u0027s own statements and 25 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"264ef4a86dabf19650f68b3118c7a35372d39c0052957044c904f13ded4624c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.performRetainedTransferCleanup (cognitive 133): ContainerVolumeMigrator.performRetainedTransferCleanup has cognitive complexity 133 (threshold 15). Drivers by points: if/else 37 (106 pts), boolean chains 23, error handling 2 (4 pts) (nesting depth added 71). 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2294}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb3a2836fcb26a04aaff2803df7225309a698f6ca95b3a03a27fb7a23e603f0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppMigrationService.excludeFromSearch (cognitive 108): AppMigrationService.excludeFromSearch has cognitive complexity 108 (threshold 15). Drivers by points: if/else 29 (62 pts), error handling 8 (20 pts), loops 7 (14 pts), boolean chains 10, ternaries 1 (2 pts) (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"98283acb36638cfb7cfafa9aedfcb2e6f778dfa85c77937a242fbdafd95fe741"}},{"ruleId":"D2","level":"warning","message":{"text":"PortalPresentation.write (cognitive 106): PortalPresentation.write has cognitive complexity 106 (threshold 15). Drivers by points: if/else 32 (62 pts), loops 9 (16 pts), ternaries 5 (16 pts), boolean chains 12 (nesting depth added 48). Of this number, 97 points are the body\u0027s own statements and 9 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":"AppPorts/Utils/PortalPresentation.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d36203a4d497f26fb74b6ffcc47ace496b03a41089b20de5bde7c0a38c2958e"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.verifiedSwitchState (cognitive 104): DataDirMover.verifiedSwitchState has cognitive complexity 104 (threshold 15). Drivers by points: if/else 34 (64 pts), boolean chains 30, ternaries 4 (9 pts), loops 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"1364273fcef7a56980b56ead79177b70817275225921248dc516fa65a6e86c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirOperationButtons.body (cognitive 92): DataDirOperationButtons.body has cognitive complexity 92 (threshold 15). Drivers by points: ternaries 14 (44 pts), if/else 23 (35 pts), boolean chains 13 (nesting depth added 42). 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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a48693ca04f317dbbbc39680af81d2f330fbe86ef689a9457b3a54d2955c805"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.cleanupPreservedRestoreMaterials (cognitive 88): ContainerVolumeMigrator.cleanupPreservedRestoreMaterials has cognitive complexity 88 (threshold 15). Drivers by points: if/else 18 (52 pts), boolean chains 31, error handling 2 (4 pts), loops 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc8e30e77436f48f02ec0b6d9d39e73add12e24161f4c96713335b95b819d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessCommandRunner.execute (cognitive 86): ProcessCommandRunner.execute has cognitive complexity 86 (threshold 15). Drivers by points: if/else 27 (66 pts), loops 5 (9 pts), boolean chains 6, ternaries 4 (5 pts) (nesting depth added 44). 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":"AppPorts/Utils/DiskUtility.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d702d571bfd0095fdbb9ccb91ad2c6d435e981f97009bdaa991df16e812f26"}},{"ruleId":"D2","level":"warning","message":{"text":"AppScanner.scanExternalApps (cognitive 85): AppScanner.scanExternalApps has cognitive complexity 85 (threshold 15). Drivers by points: if/else 20 (55 pts), boolean chains 14, loops 4 (10 pts), ternaries 1 (6 pts) (nesting depth added 46). 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b746b364d6d0dcb7ae99ef5496d84de6c180e3e1b7dfe1922fdf82e2ac7042f"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.restoreRetainingOriginal (cognitive 84): ContainerVolumeMigrator.restoreRetainingOriginal has cognitive complexity 84 (threshold 15). Drivers by points: if/else 31 (57 pts), boolean chains 21, error handling 3 (6 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"004066ce0d9e3d0782b65b8a27f6ae0d38145f7d7f38f8679cf148ea95818f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountStore.replaceTransfer (cognitive 81): ContainerMountStore.replaceTransfer has cognitive complexity 81 (threshold 15). Drivers by points: boolean chains 78, 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fb3977d6303f0fd91b77827d590c8ef98c0cb0a673e3c0ce781de89a6bec78"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalDiskInventory.parse (cognitive 77): ExternalDiskInventory.parse has cognitive complexity 77 (threshold 15). Drivers by points: if/else 18 (45 pts), boolean chains 19, loops 8 (13 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/ExternalDiskInventory.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a530a458aca822a8678538703c25ed8e73dd51403f5876df0b2c18a636f0662d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLogger.searchDeviceRecursive (cognitive 75): AppLogger.searchDeviceRecursive has cognitive complexity 75 (threshold 15). Drivers by points: if/else 18 (64 pts), loops 3 (9 pts), boolean chains 2 (nesting depth added 52). 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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1107b009f027f2b1bab0670c03996b2796d89af663d09d0bd59338545ab4718"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureSnapshot.fingerprint (cognitive 75): SignatureSnapshot.fingerprint has cognitive complexity 75 (threshold 15). Drivers by points: if/else 16 (53 pts), boolean chains 10, loops 3 (6 pts), ternaries 1 (4 pts), match/switch 1 (2 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/SignatureSnapshot.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88ff8b85bfc6f28b343fc6c918eab294a612d793f5aa8aa8a004e777e29b8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"PrivilegedAppTransfer.perform (cognitive 72): PrivilegedAppTransfer.perform has cognitive complexity 72 (threshold 15). Drivers by points: boolean chains 34, if/else 13 (27 pts), loops 3 (6 pts), ternaries 1 (4 pts), match/switch 1 (nesting depth added 20). 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":"AppPorts/Services/PrivilegedAppTransfer.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aed7dfb81ac2a42b6b2a0d602853462d825c9fc09f0407124826c73b67b62bb"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirScanner.scanLibraryDirsWithDiagnostics (cognitive 72): DataDirScanner.scanLibraryDirsWithDiagnostics has cognitive complexity 72 (threshold 15). Drivers by points: if/else 20 (46 pts), loops 9 (16 pts), boolean chains 6, ternaries 2 (3 pts), match/switch 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"284f63b79c740d716252e45fe2f1a1abe97d8358f33cd4e4552e7e00a4d939a1"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureHistoryStore.materials (cognitive 70): SignatureHistoryStore.materials has cognitive complexity 70 (threshold 15). Drivers by points: boolean chains 30, if/else 10 (15 pts), error handling 6 (12 pts), ternaries 5 (10 pts), loops 3 (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":"AppPorts/Services/SignatureHistoryStore.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5254756cd60a52b315a72db30859fd83ef7b7de7a5193513e52eff45aec0db6"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.finishBackupCleanup (cognitive 68): CodeSigner.finishBackupCleanup has cognitive complexity 68 (threshold 15). Drivers by points: if/else 27 (39 pts), boolean chains 26, ternaries 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b3aacfb595938d25420674a4f94d121583ae5f5718e4101d1ccb5b5078149e"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.resumeVerifiedTransfer (cognitive 68): DataDirMover.resumeVerifiedTransfer has cognitive complexity 68 (threshold 15). Drivers by points: if/else 33 (60 pts), boolean chains 7, error handling 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d311053e16e9dfe37c2c8e865507483d36723e3d3cb19f63d33be6c3403f281"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.retainOfficialOriginal (cognitive 67): CodeSigner.retainOfficialOriginal has cognitive complexity 67 (threshold 15). Drivers by points: if/else 25 (47 pts), boolean chains 19, ternaries 1 (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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"71447620855dbff3621d77470e775001615c0e6be2d1066886fcea6e9f2672e4"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.relocateInternalBackup (cognitive 66): CodeSigner.relocateInternalBackup has cognitive complexity 66 (threshold 15). Drivers by points: if/else 24 (44 pts), boolean chains 20, ternaries 1 (2 pts) (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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3eb07899261ae08debb999a17a9954c0142180fff3a46d1cf4225e9b7d2aee"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.performScheduledMaintenance (cognitive 65): ContainerVolumeMigrator.performScheduledMaintenance has cognitive complexity 65 (threshold 15). Drivers by points: if/else 20 (42 pts), boolean chains 11, error handling 5 (9 pts), loops 3 (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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"0531db52b853604aa5b1a8abea89fc4d1216bdf98d9b6fdceaa1e02a4e5b4138"}},{"ruleId":"D2","level":"warning","message":{"text":"OperationMaintenance.finishScheduledDataOperations (cognitive 64): OperationMaintenance.finishScheduledDataOperations has cognitive complexity 64 (threshold 15). Drivers by points: if/else 15 (39 pts), error handling 5 (9 pts), boolean chains 7, loops 3 (6 pts), match/switch 1 (2 pts), ternaries 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/OperationMaintenance.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"580529ae02aed89b7568075a012d95438679add345dc12ff967ee935dea66c34"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.performRetainedTransferCleanup (cognitive 63): DataDirMover.performRetainedTransferCleanup has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (44 pts), boolean chains 10, error handling 3 (7 pts), ternaries 1 (2 pts) (nesting depth added 29). 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42c57da4ecbcdfd30cd35cd09b87361a9c59082d24bd25d332dd5e50b1ffbf3"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.resumeVerifiedMountMigration (cognitive 62): ContainerVolumeMigrator.resumeVerifiedMountMigration has cognitive complexity 62 (threshold 15). Drivers by points: if/else 29 (45 pts), boolean chains 16, ternaries 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb1dfab1022810a773d08a98d58f95c752fd9044a25fb8e347029a931e0eb0c"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.copyNodeContents (cognitive 62): TreeCopySession.copyNodeContents has cognitive complexity 62 (threshold 15). Drivers by points: if/else 23 (51 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32650c396f6d59279d4a43472f44d06d8841265f8d168d7764788bfaf73b74d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferTransaction.start (cognitive 61): AppTransferTransaction.start has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 23, ternaries 4 (6 pts), error handling 2 (4 pts), loops 3 (4 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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82fcc04044f86f9d1ea9ecfc1bf7f89c7804a6e240bacecc7ba9c67801d798d"}},{"ruleId":"D2","level":"warning","message":{"text":"manage_translations.manage (cognitive 56): manage_translations.manage has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (39 pts), boolean chains 8, ternaries 1 (6 pts), loops 2 (3 pts) (nesting depth added 30). 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":"manage_translations.py"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"6078486c313cdaa984efcefb6eff454125cf225d6f8c7ce5c2133c3584e8e728"}},{"ruleId":"D2","level":"warning","message":{"text":"Context.copyNode (cognitive 55): Context.copyNode has cognitive complexity 55 (threshold 15). Drivers by points: if/else 23 (38 pts), boolean chains 8, ternaries 2 (5 pts), loops 2 (4 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":"AppPorts/Services/SignatureCompatibilityCopy.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd23b68987578b66ceae2d565a13ff1a7a8d22d39a6657f3cfe42a2415ae571"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.resumeVerifiedMountRestore (cognitive 55): ContainerVolumeMigrator.resumeVerifiedMountRestore has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 17, error handling 2 (4 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"71abcb8d96eecdd21a449cf25762fa4abd71157f9f280eb0e5d722e073be0f09"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirsView.body (cognitive 55): DataDirsView.body has cognitive complexity 55 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 9, error handling 1 (3 pts), loops 1 (2 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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c4c310b0b484bbb098d00452fe7ac6ab253145a3ca1dcb00bd03f7050066c9"}},{"ruleId":"D2","level":"warning","message":{"text":"AppScanner.detectLocalAppStatus (cognitive 54): AppScanner.detectLocalAppStatus has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (30 pts), ternaries 7 (24 pts) (nesting depth added 31). 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d60352f2bd3472bb140514cec42b123bce1d1483c423b941b78fcf9572123ea"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirScanner.mergeRecoveryRecords (cognitive 54): DataDirScanner.mergeRecoveryRecords has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 22, loops 3 (4 pts) (nesting depth added 13). Of this number, 49 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bc14fac9ea4219d1bf36f19c276fc3918ceec31efe10b26cadcbc07b90bcbb"}},{"ruleId":"D2","level":"warning","message":{"text":"WriterAdmission.pruneExitedPresences (cognitive 54): WriterAdmission.pruneExitedPresences has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (30 pts), boolean chains 23, 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":"AppPorts/Utils/WriterAdmission.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9281fd857cdf38736d111f9a337efc0aff600f0fa254fa822d01a22a1be9f8cb"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.restorationSource (cognitive 52): CodeSigner.restorationSource has cognitive complexity 52 (threshold 15). Drivers by points: if/else 24 (37 pts), boolean chains 10, error handling 3 (5 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"30604c78088b84d597ed249d495099fa2b34d25923ad2181b64a1253c1cb054c"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.cancelPreparation (cognitive 52): DataDirMover.cancelPreparation has cognitive complexity 52 (threshold 15). Drivers by points: if/else 23 (36 pts), boolean chains 16 (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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"64352679f4b6c0dbfaf9de6fedab31373293e4dc4521b9665d1dd6c1f3dca4d9"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumeStateClassifier.inventory (cognitive 51): VolumeStateClassifier.inventory has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (21 pts), ternaries 7 (16 pts), boolean chains 6, loops 5, match/switch 1 (3 pts) (nesting depth added 16). Of this number, 50 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":"AppPorts/Services/VolumeStateClassifier.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd42a76ddb73f015d0dfff2142ae119fb3a4d327da69d56497a06f88ffffdded"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.sign (cognitive 50): CodeSigner.sign has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 16, error handling 4 (9 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8563fa2ef3be95eb8b9d77ffb1c4bba20ed81f9a34deb018f830357fc1f3e6"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.partialCopySnapshot (cognitive 47): TreeCopySession.partialCopySnapshot has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (33 pts), boolean chains 8, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 24). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cd626fefbc6f256cdf76dabe33248907a78426f04be7baa3cc19fd314be1c9"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirsView.appDirsContent (cognitive 47): DataDirsView.appDirsContent has cognitive complexity 47 (threshold 15). Drivers by points: if/else 29 (36 pts), boolean chains 9, ternaries 1 (2 pts) (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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3c7a407281dec78b6fe401114b4227f03963ef9b8e680f05a44ce66eb2d75d"}},{"ruleId":"D2","level":"warning","message":{"text":"MountPointLease.init (cognitive 46): MountPointLease.init has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (38 pts), boolean chains 7, error handling 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":"AppPorts/Utils/MountPointLease.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cbf47f986bdd06f949cc3bb75bcf5bcff734f6874181321198af0d3ca57112"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.performAutomaticMaintenance (cognitive 45): CodeSigner.performAutomaticMaintenance has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (21 pts), error handling 4 (10 pts), loops 4 (8 pts), boolean chains 4, ternaries 1 (2 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a8856e90e2e2ccdf979609c1bd1068d377f9ba8eb8539eb386c867dd8990c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.body (cognitive 43): ContentView.body has cognitive complexity 43 (threshold 15). Drivers by points: if/else 23 (27 pts), boolean chains 7, ternaries 2 (5 pts), error handling 1 (2 pts), loops 1, match/switch 1 (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":"AppPorts/ContentView.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d372b823e74b177b414bbed55b7490ff6ee835bb1f8047170e394ec35895e3"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectorySizeTraversal.measure (cognitive 43): DirectorySizeTraversal.measure has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (31 pts), ternaries 2 (7 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/DirectorySizeTraversal.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9618f17a19c1fb5d7f6b9e9234852724e8049f953dc0842e90b08f344d1be9"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLibraryImageRecovery.recoverSelected (cognitive 42): AppLibraryImageRecovery.recoverSelected has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 9, error handling 2, loops 1 (2 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":"AppPorts/Services/AppLibraryImageRecovery.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb8544e84f9153f499b3dbde0433e492f3ae7c211eea7717fd8534c599048e9"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferTransaction.finishCommitted (cognitive 41): AppTransferTransaction.finishCommitted has cognitive complexity 41 (threshold 15). Drivers by points: error handling 8 (16 pts), if/else 8 (12 pts), loops 3 (6 pts), ternaries 2 (5 pts), boolean chains 2 (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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"36be660da46f1100b0cad6b7b0c2c128c5891567411681fddb1a2927dd430e47"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.associatedApplication (cognitive 41): CodeSigner.associatedApplication has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 20, if/else 14 (19 pts), loops 2 (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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2558dd8b74706a5d892ff671e1d6a94aa400775e594596f15b6e05e7227f3c"}},{"ruleId":"D2","level":"warning","message":{"text":"VolumeStateClassifier.classify (cognitive 41): VolumeStateClassifier.classify has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 10, ternaries 5 (10 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":"AppPorts/Services/VolumeStateClassifier.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fb88bf6788522d35519bd831795d201e45c0322f0abc0a9aa417dc71ce0585"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.walk (cognitive 41): TreeCopySession.walk has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (24 pts), ternaries 2 (6 pts), boolean chains 4, loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 21). Of this number, 34 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a3e57616e3f660a6cddbf11eaf44ecac4988d4f89dfaae7f975dfb454f8f37"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.mountPreparationSource (cognitive 40): ContainerVolumeMigrator.mountPreparationSource has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (32 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21549aad6f53f01cf9e33bfbebae5851cd37e8f46deb0185b041783143e76c0"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirScanner.scanSignatureDependencies (cognitive 40): DataDirScanner.scanSignatureDependencies has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 5 (8 pts), boolean chains 7, error handling 2 (4 pts) (nesting depth added 19). Of this number, 37 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9881eb4a354f3f108367540b581294c042dff5196af39dff33d9b30b87ff994"}},{"ruleId":"D2","level":"warning","message":{"text":"DurableFileIO.syncNode (cognitive 40): DurableFileIO.syncNode has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (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":"AppPorts/Utils/DurableFileIO.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d3b5ea7099e2021604f7d3a23e221756ab7fc2b9e4dc07f5108881fbd1f711"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCopier.copyContents (cognitive 40): FileCopier.copyContents has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 4 (7 pts), match/switch 1 (3 pts), boolean chains 2, error handling 1 (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":"AppPorts/Utils/FileCopier.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21e6d9b26f81b80a38ebe60f4a3255dcab3af58263007f8a85e245a8e707cd5"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLibraryImageService.mount (cognitive 39): AppLibraryImageService.mount has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 11, error handling 4 (8 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":"AppPorts/Services/AppLibraryImageService.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c959eff0c6aad3026e34c5a611486f2e63b76944f7a6339e3d4fab50453e7f6"}},{"ruleId":"D2","level":"warning","message":{"text":"DiskEjectionController.refresh (cognitive 39): DiskEjectionController.refresh has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (19 pts), error handling 3 (10 pts), boolean chains 6, ternaries 1 (3 pts), loops 1 (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":"AppPorts/Services/DiskEjectionService.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"af98b5911b2831d20f92a9f7b36cc23ec7ad6a209c386ab08ca93a9ecbf40cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.migrate (cognitive 39): ContainerVolumeMigrator.migrate has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 5, error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"132c7a189ebf882c9588afc7a1d1d7f6b0337b8d9d1cb5c3375a94abbab7d89f"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.finishMaterialDeletion (cognitive 37): CodeSigner.finishMaterialDeletion has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 4, ternaries 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2c01e918f2ee62d4310745612ab321a495d9304251becb5612212c45d3975c"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.compareRemovalRemainder (cognitive 37): TreeCopySession.compareRemovalRemainder has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 15, loops 2, ternaries 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4c81b9ea6a2588885ca5dca30f2de4e067720c9f7b7135c077d96c40b33d92"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureRepairSheet.body (cognitive 37): SignatureRepairSheet.body has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 14, if/else 11 (13 pts), ternaries 8 (10 pts) (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":"AppPorts/Views/SignatureRepairSheet.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3610c4a63e93108a9b3eb78e66968810a939073d5e79d945bb60c7acbe58c3"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureFactStore.reconcileCommittedMetadata (cognitive 36): SignatureFactStore.reconcileCommittedMetadata has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (29 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":"AppPorts/Services/SignatureFactStore.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed35b3a0441aa36b48d3509c0a13c28cb4a531219528c7788c6a3f231240a970"}},{"ruleId":"D2","level":"warning","message":{"text":"WeChatAccountMigrationService.groupedItems (cognitive 36): WeChatAccountMigrationService.groupedItems has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 18, ternaries 5 (10 pts), if/else 4 (7 pts), loops 1 (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":"AppPorts/Services/WeChatAccountMigrationService.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a73858f75ae8fafc2ee45f15e2b3bfe45d2aaaf8c9fcf112d8aa7b5a63bfda"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.preparationSource (cognitive 36): DataDirMover.preparationSource has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 10 (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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb51318e6337c15bb1054711e25fb84c9b10cde178bdb0797c7c432ed987e51"}},{"ruleId":"D2","level":"warning","message":{"text":"AppSearchExclusionService.inspect (cognitive 35): AppSearchExclusionService.inspect has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 9, error handling 3 (4 pts), ternaries 1 (2 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":"AppPorts/Services/AppSearchExclusionService.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a9fc531f78fd7369dbaed3befbaad749f4e59521f66f7fdc0fc816310c177d"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountStore.mutate (cognitive 35): ContainerMountStore.mutate has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 23, ternaries 10, 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ab8d1157adfa7247c224388a52a67fa18274b0179727ef8b92beb00487cd54"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.mountVolume (cognitive 35): ContainerVolumeMigrator.mountVolume has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (26 pts), error handling 2 (4 pts), boolean chains 2, match/switch 1 (2 pts), loops 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea77734d613f479b8849c41941f53cd83accd2958e1b23de53b189c0536a4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"manage_translations.scan_swift_strings (cognitive 35): manage_translations.scan_swift_strings has cognitive complexity 35 (threshold 15). Drivers by points: if/else 4 (19 pts), loops 4 (12 pts), error handling 1 (4 pts) (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":"manage_translations.py"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"da086ac02d8eeb94f589bfea699c3996459be1d2bde5a77d2a74703f0e984599"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare-fumadocs.convert (cognitive 35): prepare-fumadocs.convert has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 3 (7 pts), boolean chains 6, loops 1 (nesting depth added 10). Of this number, 26 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/scripts/prepare-fumadocs.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed717ba12bc3c1b76120e464f01ad6ea51830d6a895ec064389822d2e9d632db"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLibraryImageService.imageDevices (cognitive 34): AppLibraryImageService.imageDevices has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 7, loops 3 (6 pts), ternaries 1 (5 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/AppLibraryImageService.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"025020b999a4c31cda50f23c80e273b7d819333d7f4f411787a9fe985fb570cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.requireUnswitchedMountEntry (cognitive 34): ContainerVolumeMigrator.requireUnswitchedMountEntry has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 9 (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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a45b519df551f2a68df12722da571bdeb02b7cb4ed13c723bc658cf7d322edc"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.requireActiveData (cognitive 34): ContainerVolumeMigrator.requireActiveData has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 17, if/else 11 (17 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84ec85c2eeaa39ed1f4c53496d14a885842b3b40243712f7f9689611e8bf3f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.removeUnactivatedMigrationVolume (cognitive 34): ContainerVolumeMigrator.removeUnactivatedMigrationVolume has cognitive complexity 34 (threshold 15). Drivers by points: if/else 34 (49 pts), boolean chains 24 (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. This shape REPEATS in the file: one other method here (ContainerVolumeMigrator.removeUnactivatedMigrationVolume::verifyCandidate) 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e8250c8b801331671ca6326c1671592dfc79fb4153c50aec27999f1a7e8697"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTreeRelocator.move (cognitive 34): DataTreeRelocator.move has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 8, error handling 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/DataTreeRelocator.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64d57df0a629378c992b1d63897c0433cc42f78e6d4ce883630cfdb34568f3e"}},{"ruleId":"D2","level":"warning","message":{"text":"AppMigrationService.retryDisposition (cognitive 33): AppMigrationService.retryDisposition has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 6, error handling 2 (4 pts), loops 1 (2 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0cc9eb39ddc9afc7e0e9eb89721368e9085abcf6568950690fd10a366ec1ff"}},{"ruleId":"D2","level":"warning","message":{"text":"AppMigrationService.refreshExistingStubPortal (cognitive 33): AppMigrationService.refreshExistingStubPortal has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 10, error handling 3 (4 pts), loops 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2137}}}],"partialFingerprints":{"codehealthFindingId/v1":"605a07d9f474aace8a454da808da44a965bf2529ff09fb505a84bc7332e9d16f"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.recoverMountOperation (cognitive 33): ContainerVolumeMigrator.recoverMountOperation has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 10, error handling 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"764d386e3e9765d614968dcd8d68882fd2ffe1fff28dfb828cca44a739ffc1cf"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirsView.scanLibraryDirs (cognitive 33): DataDirsView.scanLibraryDirs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 7, loops 3, ternaries 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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c0ce3a92e16aac977c5909b12f285a95aaddfb7953a3ee99b01805d159447b"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirOperationButtons.mountOperationButtons (cognitive 33): DataDirOperationButtons.mountOperationButtons has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 9 (19 pts), if/else 7 (9 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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c9d5a40dc9b90b494b722db818ebd92f76438fd5380fa05d8c5cda2c0174a5"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDataShortcutService.updateShortcut (cognitive 32): AppDataShortcutService.updateShortcut has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 6, ternaries 2 (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":"AppPorts/Services/AppDataShortcutService.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3faa944d1cc7c2c96718a135ac7bc06abe08b4aa448357abe11a9fe94caf0f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppMigrationService.addMissingFolderEntries (cognitive 32): AppMigrationService.addMissingFolderEntries has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (6 pts), error handling 2 (5 pts), boolean chains 3 (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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a87fec984767d13038ae1d68cc16032eacb2d95087c0440e5db4204625cd63d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferTransaction.reconcileSignatureFacts (cognitive 32): AppTransferTransaction.reconcileSignatureFacts has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (12 pts), ternaries 2 (5 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec36f035cac76bd7097df95876d6c28d24e7b8bec39965a535af73c2db5e4c0"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureSnapshot.copyUsingSystem (cognitive 32): SignatureSnapshot.copyUsingSystem has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 10, ternaries 3 (8 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":"AppPorts/Services/SignatureSnapshot.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df921d728a35c7bb4fb7c7f7d809014370d379c019f8ce6dce485553e53e4a4"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferTransaction.continueTransfer (cognitive 31): AppTransferTransaction.continueTransfer has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (20 pts), ternaries 3 (5 pts), boolean chains 2, error handling 1 (2 pts), loops 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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"9714277e81d86198fde126ac4d4398e106cf05de2136dd901671cd3ed6e32935"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.releasePrivateRestoreMount (cognitive 31): ContainerVolumeMigrator.releasePrivateRestoreMount has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (26 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6348642219abef826f03809b4b12398a51bc179db4d00a9ede477de60b946fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.remountAvailableRecords (cognitive 31): ContainerVolumeMigrator.remountAvailableRecords has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 5 (9 pts), ternaries 1 (3 pts), loops 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"6411155860d913af00f015f8385f1fa91f19704075e6847dbf62806f1f6a0d4b"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.compareEntry (cognitive 31): TreeCopySession.compareEntry has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 30, 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"4619b745b136fb9487e5b965b1431cb65104f3409f0d608b2090008cd673571c"}},{"ruleId":"D2","level":"warning","message":{"text":"PortalStaging.removeContents::remove (cognitive 30): PortalStaging.removeContents::remove has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 4, ternaries 3 (4 pts), 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2662}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edc397e4813cb610c4be1317ed92b0be39a96f29039c2f1643be1984033e422"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.cancelPreparationUsingOwners (cognitive 30): ContainerVolumeMigrator.cancelPreparationUsingOwners has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 10 (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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9a1bd60968c0448a2a5a2ca1388ede32fba28890ae742977d688b1590a8628"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirsView.scanDotFolders (cognitive 30): DataDirsView.scanDotFolders has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 7, loops 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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13e300a9433d0cf057afbb777c99f02d56da6f71235695527c4af26ba535cd3"}},{"ruleId":"D2","level":"warning","message":{"text":"AppMigrationService.externalTargetReplacementReason (cognitive 29): AppMigrationService.externalTargetReplacementReason has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (10 pts), ternaries 1 (4 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22020f038d383a91b733b1e2ab307200eb88dd8ce8e1b9bd44594679d1035a2"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureInspector.inspect (cognitive 29): SignatureInspector.inspect has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (nesting depth added 11). Of this number, 24 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":"AppPorts/Services/SignatureFactStore.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"181951de5d2c9c9373bd716a5fb68a98ed409b42f79d0e9eb161aae63d6bf3a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.cancelUnstartedRestore (cognitive 29): DataDirMover.cancelUnstartedRestore has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 8 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 11 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed25e0a18eeee574b15c3ef5dc4bdeed3d236694e93b04bce5468b80b7a021c9"}},{"ruleId":"D2","level":"warning","message":{"text":"WriterAdmission.runningAppPortsProcesses (cognitive 29): WriterAdmission.runningAppPortsProcesses has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 4, error handling 1 (2 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":"AppPorts/Utils/WriterAdmission.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed45e1d9d5a079d51cd0ff8d003cc2c4ebca2e289b32fbcc827924b5a5d9b5b8"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBadge.badges (cognitive 29): StatusBadge.badges has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (18 pts), ternaries 3 (9 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":"AppPorts/Views/Components/StatusBadge.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"652c14516454087c5533f7f731f88bbf621eaaef457e1379150d5885ffc8dc10"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.performMoveOut (cognitive 28): ContentView.performMoveOut has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (15 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":"AppPorts/ContentView.swift"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a199fd2f4ccbc5bc449dc5ab65b7dfb160935b51b6d2d9d6f55d38e29e22f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLogger.runDiagnosticCommand (cognitive 28): AppLogger.runDiagnosticCommand has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"55489fd3269dbf6fd7649156b494267c9966bc8e5797d8ff6a1653e1a12818c6"}},{"ruleId":"D2","level":"warning","message":{"text":"DataOperationSafety.requireNoOverlap (cognitive 28): DataOperationSafety.requireNoOverlap has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 9, loops 5 (6 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":"AppPorts/Services/DataOperationSafety.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43db5b41548229bb20e3097a9e3a90ca1de6335aa6da5bf22a6b9949d8bfd07"}},{"ruleId":"D2","level":"warning","message":{"text":"WeChatAccountMigrationService.restoreSplit (cognitive 28): WeChatAccountMigrationService.restoreSplit has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, loops 3 (4 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":"AppPorts/Services/WeChatAccountMigrationService.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddf22cb87504d22f35b8f6a89e29f4f11f44d9a32aa6d88b64bd0673481313e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.removeUnactivatedMigrationVolume::verifyCandidate (cognitive 28): ContainerVolumeMigrator.removeUnactivatedMigrationVolume::verifyCandidate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ContainerVolumeMigrator.removeUnactivatedMigrationVolume) 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1efc0b3fd18bfebe761dba361ffbedc27408ee4b3077da5b4e961fcbf5d787"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.requireUnstartedMigrationFilesystem (cognitive 28): DataDirMover.requireUnstartedMigrationFilesystem has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 11 (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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4b70e907a1390f0ff3d8cbd43df03da21f53c83c1ad216c289dd0a30bc5ea6"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.computeAndStoreSizes (cognitive 27): ContentView.computeAndStoreSizes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 5, 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":"AppPorts/ContentView.swift"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bc3b977589109e5063e6cad101b39ae0b3e147fc4ea6211674d28fe9724bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferForceRecovery.run (cognitive 27): AppTransferForceRecovery.run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, ternaries 4, error handling 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":"AppPorts/Services/AppTransferForceRecovery.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab1d80adb56497629b347369c5b013ec805306986d5dffaa199b27fce8e7209"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureCompatibilityCopy.copyAttributes (cognitive 27): SignatureCompatibilityCopy.copyAttributes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 2, loops 2 (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":"AppPorts/Services/SignatureCompatibilityCopy.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fdbf4e089ea5fe301ba80177bc3314477307d14f7379158047ccd9caba9da2"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureRemovalManifest.remove::removeNode (cognitive 27): SignatureRemovalManifest.remove::removeNode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 4, ternaries 2 (3 pts), 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":"AppPorts/Services/SignatureOperationRecord.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ef46e29ceb5c238dfcc3fe9f26785c83c3ce572cd876692dd284785cfd3a7c"}},{"ruleId":"D2","level":"warning","message":{"text":"WeChatAccountMigrationService.migrate (cognitive 27): WeChatAccountMigrationService.migrate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 6, loops 2, 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":"AppPorts/Services/WeChatAccountMigrationService.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ebf0a418c71f080f1e1738e288abb14b71d0211252393815a3e982cccda8f6"}},{"ruleId":"D2","level":"warning","message":{"text":"AppIdentityResolver.readBundle (cognitive 27): AppIdentityResolver.readBundle has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1, 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":"AppPorts/Utils/AppIdentityResolver.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a918c4f596310b74ef270c9c9fdb94b650c34ac2e7fe193c3f495c18e0c1e2"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirScanner.buildMatchProfile (cognitive 27): DataDirScanner.buildMatchProfile has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (5 pts), ternaries 1 (4 pts), boolean chains 2 (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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"058b97a6a2833336e71be84e8c579d8a5972f7ff954e1fce67167648e4f5422d"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCopier.copyWithRetry (cognitive 27): FileCopier.copyWithRetry has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 8, error handling 2 (5 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":"AppPorts/Utils/FileCopier.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17833eae4e639a833f284d4111d2bf8f0f49f358f91d2ded2f90851cf5a4406"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.retireUnrecoverableRecord (cognitive 26): CodeSigner.retireUnrecoverableRecord has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, if/else 11 (13 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a43ad5136c9c4994c77935f6cca49a1962340022c706e65a90045799e6ee9e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.requireVerifiedResumeTopology (cognitive 26): ContainerVolumeMigrator.requireVerifiedResumeTopology has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 14, if/else 8 (11 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a31049d737ca37eac59748f8ce8ca17763af736115bc6fa0acd041d94834e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.restoreOriginalMountOptions (cognitive 26): ContainerVolumeMigrator.restoreOriginalMountOptions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5, error handling 2 (4 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"856b91c92eb16f61b4db365323fe3a61507111e1bbcba62fa070f24af54efac1"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.cleanupLocation (cognitive 26): DataDirMover.cleanupLocation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d938d6e5e2ad5551be7e41e5d607a52ce94803b8e1aa9677887d0cd6cd50092"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.removeNode (cognitive 26): TreeCopySession.removeNode has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 1 (2 pts), boolean chains 1, 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"052a2ca2a60dbf9b3b108824ff87aad313d73ea81f9839b967916b7832d464c9"}},{"ruleId":"D2","level":"warning","message":{"text":"WriterAdmission.checkCurrentWriters (cognitive 26): WriterAdmission.checkCurrentWriters has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 1 (3 pts), loops 2 (3 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":"AppPorts/Utils/WriterAdmission.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1c7ad49dd38f399403f3fc6409a30825ccd830165eb476b1e607d20a3fc6e3"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirsView.refreshOperationRecords (cognitive 26): DataDirsView.refreshOperationRecords has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 1 (3 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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd082ee45e170159e16403d8faddd78deee7d07290f778c182d209e9992981d"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.scanBothAppsAtomic (cognitive 25): ContentView.scanBothAppsAtomic has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 4 (6 pts), boolean chains 4, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/ContentView.swift"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8002afb0e0187f794896ed6706f5a84caa18c3e7e862d4370b39a61ed6f85b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLogger.getDiskInterfaceInfo (cognitive 25): AppLogger.getDiskInterfaceInfo has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 2, 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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e8cb007334a2ba40e04fb88d8c1f13beb4d755196858b397ec6d1bb98e5257"}},{"ruleId":"D2","level":"warning","message":{"text":"AppMigrationService.localPortalKind (cognitive 25): AppMigrationService.localPortalKind has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 9 (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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad0ba8accdc76ddb6da4badf39a2034b87db30e432f3fb9aeef1ed689fa5b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.resolveAppURL (cognitive 25): CodeSigner.resolveAppURL has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 5, 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f59a6bfc8bd2549c03f5341d720d14bc2d56453a1c6f0ffaec3a941617b6f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.cleanupCommitted (cognitive 25): CodeSigner.cleanupCommitted has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 4 (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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"8196736c008336389bc2480d93b32e892f46dcd45e92b5d48cd01c73734a7574"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountStore.load (cognitive 25): ContainerMountStore.load has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, error handling 2, loops 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8ced553583a77a033869e39ed326be05b8d08c9405504e44b6c75edc0f0e80"}},{"ruleId":"D2","level":"warning","message":{"text":"DiskEjectionService.request (cognitive 25): DiskEjectionService.request has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 9, 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":"AppPorts/Services/DiskEjectionService.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f3cc83199fd288aed69c582d44e827022e6836f95d33687f4729dfe2309dfa"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDataDirectoryRow.body (cognitive 25): AppDataDirectoryRow.body has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 13 (20 pts), if/else 5 (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":"AppPorts/Views/Components/AppDataDirectoryBrowser.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"d253fec4cdf028b63508f30c69011c330b7e8af77ce633b43f3e4187649edff9"}},{"ruleId":"D2","level":"warning","message":{"text":"AppMigrationService.moveAndLink (cognitive 24): AppMigrationService.moveAndLink has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 7, ternaries 2 (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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f833e8a8b5baafc556f641a2f4c84b1331d66389cce4b1aacd8637463252cf09"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountStore.resumeUnstartedMountRestore (cognitive 24): ContainerMountStore.resumeUnstartedMountRestore has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 17, if/else 5 (7 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ef435e8462abc7baf24b6a61e21cb26d2f22fbd5e986dcac32e1273fdac30f"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.requireExclusiveMigrationCandidate (cognitive 24): ContainerVolumeMigrator.requireExclusiveMigrationCandidate has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 22, if/else 2. Of this number, 19 points are the body\u0027s own statements and 5 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df9cbc11cc62355d0fc1ae1a5c102c0098491c4bb3bbec5c69f92da25cd5d38"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLibraryImageService.identifiedVolume (cognitive 23): AppLibraryImageService.identifiedVolume has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/AppLibraryImageService.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"583062fe88b4daa24d78ee856c1f316597089ff99b57c2f586b3a5cc9af6e6d0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferTransaction.commitPredecessorActivations (cognitive 23): AppTransferTransaction.commitPredecessorActivations has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 10, error handling 1, 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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"001d42f523969c1cec16792f5900f6a781fb11353d45c2f63eeade68c484f7e1"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferTransaction.observeActivation (cognitive 23): AppTransferTransaction.observeActivation has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 16, 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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cd1e0e3dbc86b150442a0b42b7ec87cedbdf63f2f73d1ffdaa49750d39b04d"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.isVerifiedOfficialApplication (cognitive 23): CodeSigner.isVerifiedOfficialApplication has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 5, loops 1 (2 pts), error handling 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"9989801aee9713ce485522d7f8125410f875ee60f5fab51e3a936d1251fb6ac0"}},{"ruleId":"D2","level":"warning","message":{"text":"DataOperationSafety.requireNoManagedDescendants (cognitive 23): DataOperationSafety.requireNoManagedDescendants has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 2, 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":"AppPorts/Services/DataOperationSafety.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58ee316e6e281e197e30455898deab10505ad9c19b20c762341f81340e2bb2d"}},{"ruleId":"D2","level":"warning","message":{"text":"DiskEjectionPauseStore.snapshot (cognitive 23): DiskEjectionPauseStore.snapshot has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 16, if/else 4 (6 pts), error handling 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":"AppPorts/Services/DiskEjectionPauseStore.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"200a25fedbad3e3c778e9c8d4195824d74917a9a7a047fc9d209cd28e0998641"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerRemountLoop.run (cognitive 23): ContainerRemountLoop.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (5 pts), match/switch 1 (2 pts), boolean chains 1, ternaries 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":"AppPorts/Utils/ContainerRemountLoop.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ab6c679b4587a61a136b0e87b08e6b14b9c8b200fd4b54800d386dc17fbd2a"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.restoreRetainingOriginal (cognitive 23): DataDirMover.restoreRetainingOriginal has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (10 pts), error handling 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"014cf9cb29ea069f9129d479a67d515803a93d17386d7cdbd71e5468c86905f0"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.verifyAutomaticCleanup (cognitive 23): DataDirMover.verifyAutomaticCleanup has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (11 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa037266117c6e44a3d64738b31fb957f25a243f1738983af5bb863b2eab18d"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirScanner.findMatchingDirs (cognitive 23): DataDirScanner.findMatchingDirs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, loops 2 (3 pts), error handling 1 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 11 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7976acec18f93fdae4095b111d8444c0084ba91de90b5e5d486a6506a02784f"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCopier.removeCopy (cognitive 23): FileCopier.removeCopy has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), boolean chains 3, error handling 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":"AppPorts/Utils/FileCopier.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e824235b2047dedcf573da5e13cd3a0261ae1acea305d5e53683305b42b54d0"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.copy (cognitive 23): TreeCopySession.copy has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 10, 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79cb3114973fce2e8365f154c80f33a380db78fb1455a89778808493ce35577"}},{"ruleId":"D2","level":"warning","message":{"text":"DataPathPolicy.classify (cognitive 22): DataPathPolicy.classify has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, 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":"AppPorts/Models/DataPathPolicy.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4137d3dbd2f884e8e0b1728a66f5c27a04d92002d599cbcf578b924de053b3"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTransferProgress.transition (cognitive 22): DataTransferProgress.transition has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 4, if/else 3 (4 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":"AppPorts/Models/DataTransferProgress.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"206e4de695747242f7028e318496e94cc746a7e62179c7a7daf9abd566aa940d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLibraryImageService.verifiedVolume (cognitive 22): AppLibraryImageService.verifiedVolume has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 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":"AppPorts/Services/AppLibraryImageService.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad310123fe88e5e1a9d9ecf6a5084f12d6f4e74be1de12dfe94f642cb81d2f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLogger.pathStateDetails (cognitive 22): AppLogger.pathStateDetails has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 5 (9 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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d50fa01f866146f2e0df271e3fd291c16b5a6b114f73f856a0cd961223caa0"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferStore.inventory (cognitive 22): AppTransferStore.inventory has cognitive complexity 22 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 2 (7 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 12). 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":"AppPorts/Services/AppTransferStore.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0227c5e793a7055e943683a9d077317c84eb235a0707601e783f19424d778710"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.restoreSignature (cognitive 22): CodeSigner.restoreSignature has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, error handling 2 (3 pts), 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7860e0da94dd0d0177956d909208b71a242ddd087829baeb53f8cc4e7d3d456f"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.cancelUncommitted (cognitive 22): CodeSigner.cancelUncommitted has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6466d5effa48881b986cadfe4e27e2f6dc7781a6c69dce68df76ebfb17b181"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubUpdatePackage.prepare (cognitive 22): GitHubUpdatePackage.prepare has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 7, error handling 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":"AppPorts/Services/GitHubUpdatePackage.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"af343288dac991c8ab1274e48cdaeca0b489081a3256027e910593566d0a82ac"}},{"ruleId":"D2","level":"warning","message":{"text":"PortalImageLaunchPreparation.isPrepared (cognitive 22): PortalImageLaunchPreparation.isPrepared has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (9 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":"AppPorts/Services/PortalImageLaunchPreparation.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a02a64c20cbc4bb453b3760acc19b479ca7f2afa9bf57caf740e0582de2d53"}},{"ruleId":"D2","level":"warning","message":{"text":"AppScanner.calculateDirectorySize (cognitive 22): AppScanner.calculateDirectorySize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 1, loops 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5a2a8d1b0e06e3354be050ce500492b3efffb86e3318642114221f2ce5ca93"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.requireUnactivatedMigrationDestination (cognitive 22): ContainerVolumeMigrator.requireUnactivatedMigrationDestination has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (11 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9b38b48915c02dd403da8121a0a24193981797bcaaeb2a74ec24123c6caecd"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirScanner.refreshMountRecords (cognitive 22): DataDirScanner.refreshMountRecords has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 8, error handling 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"645c94db128a6b19b840f0f8609a07f94491e6fc5e7dbf1ddd97f8689e0671ef"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.removeVerifiedCopy (cognitive 22): TreeCopySession.removeVerifiedCopy has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, loops 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4641f7753291b1799ba393c1055449d6d52157cb65332bd3265ea992119f4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.captureOnce (cognitive 22): TreeCopySession.captureOnce has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 4, boolean chains 3, 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"046ed35d0c80f6c4c42ac30f59ff8c82529d85e4c5d0be7774149b555afe4527"}},{"ruleId":"D2","level":"warning","message":{"text":"AppItem.== (cognitive 21): AppItem.== has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 21. 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":"AppPorts/Models/AppModels.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f0a27de69be686ec0e5c6eb9d79e5850fd4966f993769d06d24867399b1b2b"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTransferRecord.followsLocation (cognitive 21): DataTransferRecord.followsLocation has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 16, 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":"AppPorts/Models/DataTransferRecord.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fbbef45a8db2cebe0b53b5e5a3969feabbdd65e849982acbab36b5ad1156e6"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLibraryImageRecovery.restoreForLaunch (cognitive 21): AppLibraryImageRecovery.restoreForLaunch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7 (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":"AppPorts/Services/AppLibraryImageRecovery.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"15670b163a39ae646c45c4eca702d1de495b8769a1aa8e668cec1ab34def9d6b"}},{"ruleId":"D2","level":"warning","message":{"text":"DockShortcutService.redirectWhileLocked (cognitive 21): DockShortcutService.redirectWhileLocked has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/DockShortcutService.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1a9c1192d0be185c2cd014f3059ee322f9b316d89570789586942cceb57200"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.completeTransferCleanup (cognitive 21): ContainerVolumeMigrator.completeTransferCleanup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 2 (5 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a1be5ca075315ba8f092364bc24b82b88018b7febbccdc2aadcc9bded9e355"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.validateUnstartedRestorePaths (cognitive 21): ContainerVolumeMigrator.validateUnstartedRestorePaths has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 9 (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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"521b5cba0ca867998918e21fa064b904a72733eda7208969078ced2963e35bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCopier.copyDirectory (cognitive 21): FileCopier.copyDirectory has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (7 pts), boolean chains 2, match/switch 1 (2 pts), error handling 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":"AppPorts/Utils/FileCopier.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3007e09b0fc6c97a98d9af014f2817e102e44b49f3472203b4fd047bbea5b67"}},{"ruleId":"D2","level":"warning","message":{"text":"FileDataCopyStream.copyNextChunk (cognitive 21): FileDataCopyStream.copyNextChunk has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 1 (3 pts), boolean chains 2, 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":"AppPorts/Utils/FileDataCopyStream.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b371854a481b8cf192fe9830c6c011b11c8946e1ba77a08c8cd5f32d1398af2"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomDirsView.refresh (cognitive 21): CustomDirsView.refresh has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 6, 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":"AppPorts/Views/CustomDirsView.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"820f65261ddc967039b8956938505e39029b3d73d4e581090feeed74448b91a9"}},{"ruleId":"D2","level":"warning","message":{"text":"DiskEjectionControls.body (cognitive 21): DiskEjectionControls.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, 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":"AppPorts/Views/Components/DiskEjectionControls.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbfd5b3dcef1f3f09cae73a0af28a25853257b195b171ed15ad45b74a32a1b9"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationTaskRow.body (cognitive 21): MigrationTaskRow.body has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 8 (9 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":"AppPorts/Views/Components/MigrationTaskViews.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"940efbaf7dfaf9d77eec2238b5fbd5fcd83d6f2fd31e965fdb9c6c8129755430"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.excludeExternalAppsFromSearch (cognitive 20): ContentView.excludeExternalAppsFromSearch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (6 pts), error handling 2 (4 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":"AppPorts/ContentView.swift"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"f143f469d3f74943df1bd114ee4a7acd99197f878ea81b7ea6cc9f6ce5382346"}},{"ruleId":"D2","level":"warning","message":{"text":"AppMigrationService.replacementChoice (cognitive 20): AppMigrationService.replacementChoice has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, ternaries 5 (7 pts), if/else 4 (5 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52de588eb16712a36c42c0bca0a9dd882ff52fdb7d029b174bb9ad010c020f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Journal.hasValidScope (cognitive 20): Journal.hasValidScope 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":"AppPorts/Services/AppSearchExclusionService.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9022e07f2ddaecc697e427d9543d497e0b3cfc3a07015c6ad8db7b9b851784b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferTransaction.finishDestinationCleanup (cognitive 20): AppTransferTransaction.finishDestinationCleanup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (10 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edc805a01b900e3f6d4a8909937112445f26adce337205144f5cd86726ed8c4"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoResignInstaller.stopLoadedTask (cognitive 20): AutoResignInstaller.stopLoadedTask has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, loops 1 (2 pts), 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":"AppPorts/Services/AutoResignInstaller.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"16caab05de90360197ee22ffd8c3a38805cd430f905026697161c0f39efba899"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountStore.finishAutomaticMountRollback (cognitive 20): ContainerMountStore.finishAutomaticMountRollback has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8f592f87c71321ce3af931289675b2ff3b5703babf9e90fab411a52852c198"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalPath.init (cognitive 20): LocalPath.init has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 4 (6 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":"AppPorts/Services/DockShortcutService.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd888740ed2c9a7c1e36391ea1fbe6cb41dbe8f710c195c91e7c7e0b73f3a66"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationTaskCenter.submit (cognitive 20): MigrationTaskCenter.submit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7 (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":"AppPorts/Services/MigrationTaskCenter.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e395e854107d8171a40a360e58d33b2a980df66aa4f151c6a3bacb6c308bb362"}},{"ruleId":"D2","level":"warning","message":{"text":"AppScanner.isLocalApp (cognitive 20): AppScanner.isLocalApp has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7 (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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc0ccaf4062c672bafe435bbf0c7918556a92a068c161a4ac6b6edfd6da9122"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.resumeVerifiedTransfer (cognitive 20): ContainerVolumeMigrator.resumeVerifiedTransfer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, error handling 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d2fb31ff48dced97478b4b89b4a79cdd1e7d9812fe03d563ac8cbc1c81f117"}},{"ruleId":"D2","level":"warning","message":{"text":"Handle.write (cognitive 20): Handle.write has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (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":"AppPorts/Utils/ResourceForkStream.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdbc00c861c2c6ce47bcccc959746219e5ee2f38e6c345ce398269bcd696926"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRowView.appMenuItems (cognitive 20): AppRowView.appMenuItems has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, 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":"AppPorts/Views/Components/AppRowView.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ee7c8178201804411a773f6c2a375d50dcb088402fc4f9e8552fb5519436c6"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationTaskList.body (cognitive 20): MigrationTaskList.body has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (12 pts), if/else 6 (8 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":"AppPorts/Views/Components/MigrationTaskViews.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b61f4733cdab4a884794738a998c28c6399ce84679e40cc0fe076923cbab099"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLogger.getVolumeInfo (cognitive 19): AppLogger.getVolumeInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (6 pts), error handling 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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e87b2656006f58c56c6e70430fe74679cf69a7e24164a01094ea0847b98ee59"}},{"ruleId":"D2","level":"warning","message":{"text":"AppMigrationService.linkAppWhileLocked (cognitive 19): AppMigrationService.linkAppWhileLocked has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 3 (5 pts), boolean chains 2, ternaries 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ca45a21a01aafea0fa7f6993f6270150908181f6cbced86ea27015a25da704"}},{"ruleId":"D2","level":"warning","message":{"text":"AppSearchRecordStore.record (cognitive 19): AppSearchRecordStore.record has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, ternaries 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":"AppPorts/Services/AppSearchRecordStore.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6dfef9d4073779c88edb513244127ad2f040ff42701448f9d29a2f385a2afe"}},{"ruleId":"D2","level":"warning","message":{"text":"AppTransferTransaction.cancel (cognitive 19): AppTransferTransaction.cancel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 3 (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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"67627092a7f31333552a5ab21aacddc034ed8863cabd206567b803abdfe1f1ab"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.temporarySpaceRequirement (cognitive 19): CodeSigner.temporarySpaceRequirement has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 2, boolean chains 1, match/switch 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 2 function items inside it that branch (account, adding). 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"46366d9e22f026e215328efe5278d64257a6c463b75fc36e3d10cf03cbaf125a"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.hasBackupDependencies (cognitive 19): CodeSigner.hasBackupDependencies has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 14, if/else 5. Of this number, 17 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afff5652a06195cea20eb7d1331fe23cd35ec80b9f11d29f5ade4b83340045b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountStore.adoptLegacyRestoreOwnership (cognitive 19): ContainerMountStore.adoptLegacyRestoreOwnership has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 6. Of this number, 14 points are the body\u0027s own statements and 5 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d739e749d930d1ffbb8a6f9719e5e8788d09cdb136a492cab9e2ca0114fc9fa"}},{"ruleId":"D2","level":"warning","message":{"text":"DataPathTopology.relationship (cognitive 19): DataPathTopology.relationship has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (6 pts), ternaries 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":"AppPorts/Services/DataPathTopology.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4fdeb7939c8321827be123afe726597b4c92979c3ec8cdaabcd7e78866de3d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppScanner.scanLocalApps (cognitive 19): AppScanner.scanLocalApps has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 7, 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a490aa78b96278746b26701707bfc646ce41e14f90fe4ed8d76eda6155a4250"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.rollBackMountMigration (cognitive 19): ContainerVolumeMigrator.rollBackMountMigration has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7becb4e07697368626c972b61f552e1c081443e9c937a95002e0e2b1efbd5c"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirScanner.scanContainerStructure::visit (cognitive 19): DataDirScanner.scanContainerStructure::visit has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"0704d40f2f7a4a308a32d91444f61b913c5fde05bdc977afe8ae6736ef3a20fd"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCopier.copyDirectoryACL (cognitive 19): FileCopier.copyDirectoryACL has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5 (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":"AppPorts/Utils/FileCopier.swift"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e080a6d9dfff82c0dbe8c90a3e4600797b407320068870a26fd858a58c51dd28"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.projectedResolution (cognitive 19): TreeCopySession.projectedResolution has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 1 (4 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e84c55f16b00c1bf93ca996d0c7b377a7dceda7db23b2000c96017bdfd48b0"}},{"ruleId":"D2","level":"warning","message":{"text":"DataCleanupResolutionSheet.transferRow (cognitive 19): DataCleanupResolutionSheet.transferRow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 4, ternaries 3 (4 pts) (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":"AppPorts/Views/DataCleanupResolutionSheet.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9a6615cf14653a5c2e31a59d14686c9859493d1a812241ea45da790b3a2d93"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationTaskDetail.body (cognitive 19): MigrationTaskDetail.body has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 6 (9 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":"AppPorts/Views/Components/MigrationTaskViews.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad37f16e3527d3b55c8a8c4952fb48d1d215b7539d418862015b6be0557c46b3"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTransferRecord.isUnstartedSymlinkRestore (cognitive 18): DataTransferRecord.isUnstartedSymlinkRestore has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 17, 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. This shape REPEATS in the file: one other method here (DataTransferRecord.isUnstartedSymlinkMigration) 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":"AppPorts/Models/DataTransferRecord.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7049c98a95969fb920c07c919f2674b6841cbddd8218220be671537d7473e66"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTransferRecord.isUnstartedSymlinkMigration (cognitive 18): DataTransferRecord.isUnstartedSymlinkMigration has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 17, 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. This shape REPEATS in the file: one other method here (DataTransferRecord.isUnstartedSymlinkRestore) 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":"AppPorts/Models/DataTransferRecord.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b003062e474cd330cfa0d7ea18f6bcf3b42e09f12fe4064ac1e0fe025cfd360f"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.canCleanHistoricalOriginal (cognitive 18): CodeSigner.canCleanHistoricalOriginal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2534c8fa27e148cdbc8031ab1a0f2bf3d5b4b91f6d18ad9dc675f5c57667df20"}},{"ruleId":"D2","level":"warning","message":{"text":"DockShortcutService.readApplicationIdentifier (cognitive 18): DockShortcutService.readApplicationIdentifier has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, 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":"AppPorts/Services/DockShortcutService.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"40658f0cf8f0a6438e23d1e4f2adf26e519d00f00f01c981b3df54679c744852"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureBackupStorage.automaticDestination (cognitive 18): SignatureBackupStorage.automaticDestination has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 6, error handling 2 (4 pts), 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":"AppPorts/Services/SignatureBackupLocation.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0131a3b01daeadaf54a43eeb7d694532ff065c1046d7ce8c0b23ebd6c1c901b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppScanner.detectElectronAndSparkle (cognitive 18): AppScanner.detectElectronAndSparkle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b8f3ed63b117b23c952c9cfe7c87d23e4d46d91b46c99df93d938320b6172a"}},{"ruleId":"D2","level":"warning","message":{"text":"AppScanner.signingStatus (cognitive 18): AppScanner.signingStatus has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"134211999cd663e5189b76e8ca7add333385a8106fd36f9876c8c0e5ec8b7151"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.prepareCandidateCleanupMountPoint (cognitive 18): ContainerVolumeMigrator.prepareCandidateCleanupMountPoint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5 (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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bb898e23fc35abf2d7a95e6759d89a68d2c001e7ff60ba4b5d113a15de934d"}},{"ruleId":"D2","level":"warning","message":{"text":"Handle.largeOffsetDescriptor (cognitive 18): Handle.largeOffsetDescriptor has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8, 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":"AppPorts/Utils/ResourceForkStream.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa8901091195f0705d9201a491107164482b05ca02185441e44b77bfde70b42"}},{"ruleId":"D2","level":"warning","message":{"text":"AppDelegate.applicationShouldTerminate (cognitive 17): AppDelegate.applicationShouldTerminate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (2 pts), boolean chains 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":"AppPorts/Appports.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3b2c6c21b5521018b99ed21f578bb127204125210134077054fd0d549345e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.isAppStoreApp (cognitive 17): ContentView.isAppStoreApp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 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":"AppPorts/ContentView.swift"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f8a0e7d3940c4832c0f7a58edb9e3b986d523ed5bfa18545c04bd0d74bb4ed"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderView.body (cognitive 17): HeaderView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (6 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":"AppPorts/ContentView.swift"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"1587dd9d0ab70484703ccf7cc2b12c50ff2a0561d25b9c7b5a87a73aa513253d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppUpdateController.install (cognitive 17): AppUpdateController.install has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (3 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":"AppPorts/Services/AppUpdateController.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"865b6b4443d151c1e38b4ebfb325aaf5efa438478821dc9254360a208d6cb428"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.deleteSignatureMaterial (cognitive 17): CodeSigner.deleteSignatureMaterial has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e63e31564cd65294bdcabe1e4bc0efeefe3e3a6953a313cc129b278ddc4d88"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountAgentInstaller.synchronizeSelection (cognitive 17): ContainerMountAgentInstaller.synchronizeSelection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, 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":"AppPorts/Services/ContainerMountAgentInstaller.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1719540cb9822677b7ec6396d0e65e02dc678cecab8e71cb0edf7f9d0d865e9e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountStore.beginRestore (cognitive 17): ContainerMountStore.beginRestore has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4 (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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0ea6f5e243335d4153d50734c2fd2b9ce32f636ac64533de7c457332a85f79"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubUpdatePackage.validateApplication (cognitive 17): GitHubUpdatePackage.validateApplication has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, 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":"AppPorts/Services/GitHubUpdatePackage.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f8d36b52ba7750cb3d6daa44bbcae318da7c472d915fd47dbedeaa7074b4fb"}},{"ruleId":"D2","level":"warning","message":{"text":"SignatureOperationStore.decode (cognitive 17): SignatureOperationStore.decode has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 16, 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":"AppPorts/Services/SignatureOperationRecord.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6aed6f0a10c5dbc0037f1a53a3fd4df8b54baf478b99f089afa8875fe0e6d70"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.migrateAndComplete (cognitive 17): ContainerVolumeMigrator.migrateAndComplete has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 2 (3 pts), boolean chains 1, 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de31a50c1ce43d3a683a446ae211a61d78f274dbf8796a137bf46c6c63c2024"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.detachAutomaticallyMountedCandidate (cognitive 17): ContainerVolumeMigrator.detachAutomaticallyMountedCandidate has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 5. 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, 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae514625b1ca01a85f112a63ffc1f983107a7bc3b9b4288658c3375192183fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.createLink (cognitive 17): DataDirMover.createLink has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, error handling 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b637345c16c00a71bd24bd2973cbf81c1d0e3c05df0c2f055c7db3e8685ea56e"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirScanner.inspectItem (cognitive 17): DataDirScanner.inspectItem has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"858d70bd0f870e3c948fb00d0a9d1ee435b73a5b36d2849ee24a5b326cf154f0"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.validateLinks (cognitive 17): TreeCopySession.validateLinks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec8704741ada54ab002a7f9aff03e33dec308ef757015f83f94366d2c774f98"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirsView.statsSummary (cognitive 17): DataDirsView.statsSummary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 2 (4 pts), boolean chains 2 (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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb24a4322ef9d4171ec1e7c70850ccf81aede6ea02dbe1e8fe11a982dc7859ed"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentView.mainPageContent (cognitive 16): ContentView.mainPageContent 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":"AppPorts/ContentView.swift"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcf7dce27885a5acadcc5466fa3d94e370153706b57f03812428403e4371fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLogger.errorDetails (cognitive 16): AppLogger.errorDetails has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, 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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ff092128dfe48adddc908fc86e73c140ee6ab0f66dda27d53d694b8de053bc"}},{"ruleId":"D2","level":"warning","message":{"text":"AppSearchRecordStore.observedLocalPresence (cognitive 16): AppSearchRecordStore.observedLocalPresence has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 2 (5 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/AppSearchRecordStore.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcefc90d0119467b97b97e99cc3929c0c93ea3f050a7fa4fea7d56d2ccf7ebe"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSigner.stripSigningDetritus (cognitive 16): CodeSigner.stripSigningDetritus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), boolean chains 3, loops 2 (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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b8c746d99f9ca644a8a1c148d86eb443edc43066b441a1bcaed143acdd7a34"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerMountStore.detachSymlinkHistory (cognitive 16): ContainerMountStore.detachSymlinkHistory has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (6 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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a183b7ae89c54c3d7d6c0ebc9c816411b17629b28d448b30047671a8cff7d7c5"}},{"ruleId":"D2","level":"warning","message":{"text":"DockShortcutService.readSnapshot (cognitive 16): DockShortcutService.readSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, 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":"AppPorts/Services/DockShortcutService.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3720e15137f0949b2e28ab46bce26d04b8bac6767fc126cb46d4eb80155cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.retainedLineage (cognitive 16): ContainerVolumeMigrator.retainedLineage has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"addc9bbd7c5e432979f53da3462cd2e7c7499e30e5c35cc993a92ebfeb84e8f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ContainerVolumeMigrator.promoteCompletePreparationUsingOwners (cognitive 16): ContainerVolumeMigrator.promoteCompletePreparationUsingOwners has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, error handling 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"108e2830933cf658029f0e14b04216178e1ea3b2d9ff557ee24a564b4c732157"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirMover.retainedLineage (cognitive 16): DataDirMover.retainedLineage has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, 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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a65f56645cd6012a9698b82d5959c50b9759eceb1cf05c65da64d2a5419b96"}},{"ruleId":"D2","level":"warning","message":{"text":"DurableFileIO.write (cognitive 16): DurableFileIO.write has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 1 (3 pts), boolean chains 1, 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":"AppPorts/Utils/DurableFileIO.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa87f3779d805e1688083b0979361f76a874ae77afec4dbefcfefaf85a90c32"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeCopySession.applyMetadata (cognitive 16): TreeCopySession.applyMetadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, 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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5559cf501bd2d7653f8814437739a2cd6a2c9046f4b251de7a77b8bb0601140"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateChecker.domesticUpdate (cognitive 16): UpdateChecker.domesticUpdate has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), error handling 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":"AppPorts/Utils/UpdateChecker.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"787bc2dad9fbeb82f28dcf6536efe9a2b951463f55ebd4e2f9c5a26deb1d51b1"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkdownTextView.updateNSView (cognitive 16): MarkdownTextView.updateNSView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, 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":"AppPorts/Views/AppUpdateView.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8435a1fc0c198f72568ba622abb6f38ee948758cae4a8a490c4fd3383f28d7"}},{"ruleId":"D2","level":"warning","message":{"text":"DataDirsView.requestAssociatedAppExit (cognitive 16): DataDirsView.requestAssociatedAppExit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 6, loops 2, 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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"9137675e4fea4b26b9ff1e5845759fd4908cd0c6d83ba4b8cd08d78570fb4ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"AppIconLoader.loadIcon (cognitive 16): AppIconLoader.loadIcon has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, ternaries 1 (2 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":"AppPorts/Views/Components/AppIconView.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa402352532b42b77beca344744aa4c36419991017c11c1603d85903bc27b94b"}},{"ruleId":"D2","level":"warning","message":{"text":"WeChatAccountMigrationSheet.body (cognitive 16): WeChatAccountMigrationSheet.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (3 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Views/Components/WeChatAccountMigrationSheet.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e9d868b5e85d73a4e01029f86afe58e953b8b015d9874e38d25bb8634acd32"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContentView: ClassTooLong \u2014 2077 significant lines (blank, comment-only and punctuation-only lines excluded), 79 methods. The bar is 400 significant lines; this is 1677 over it, 5.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":"AppPorts/ContentView.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba2e8ac6397f89e43d5958407888d49e199afc938850117d565c262d1b0de81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/ContainerVolumeMigrator.swift: FileTooLong \u2014 2257 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1757 over it, 4.51\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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a2bd3301054e0a7bc66bda701281ba3885bb990e6ebff2953a5f4bd52b468a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: AppPorts/ContentView.swift: FileTooLong \u2014 2091 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: ContentView (24-3008). The bar is 500 significant lines; this is 1591 over it, 4.18\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":"AppPorts/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3250642b02c9d7bdec5a6cc8f152549cfebbe8e2a2a4859fd88bc0aae5d26282"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppMigrationService: ClassTooLong \u2014 1657 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 1257 over it, 4.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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e6ec6ef9ab1725a2066067e405045bdbb7a180b1638bdf9eb27bc0954820bf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataDirsView: ClassTooLong \u2014 1609 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 1209 over it, 4.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44809a2042104902f53d4c919230cbf96b9060da7ff08dce97bab806d33adcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AppMigrationService.swift: FileTooLong \u2014 1863 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: AppMigrationService (12-2415). The bar is 500 significant lines; this is 1363 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25a2cb94129864993a994fdba7ea1f0eb55789557fe84f186bcaabe17246153"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContainerVolumeMigrator: TooManyMethods \u2014 107 methods, declared across 2 files: Utils/ContainerVolumeMigrator.swift (84), Utils/ContainerVolumeMigrator\u002BRecovery.swift (23). The bar is 30 methods; this is 77 over it, 3.57\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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a32508318a4fc63165370eb1e25708cac6129aa1623154f6698fd082c4b459"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/DataDirsView.swift: FileTooLong \u2014 1660 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: DataDirsView (25-2243). The bar is 500 significant lines; this is 1160 over it, 3.32\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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81ec66c90faba447ea1f04ea4dd0a7d2aa852411e244aa6cc8a79c679efb043"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/CodeSigner.swift: FileTooLong \u2014 1631 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1131 over it, 3.26\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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"671099db533d5f3febb2d776c351c75bf01a156db149a52d8b40498e09d4428d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/DataDirMover.swift: FileTooLong \u2014 1527 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1027 over it, 3.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df60c644442299a3fc273dba46ea2bd438a4939fac45cbc10a7edec114eb84d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./manage_translations.py: FileTooLong \u2014 1387 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 887 over it, 2.77\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":"manage_translations.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"057131defdc5a95b333b75a0feab5f872e5bf6abf31fbe0073981d7ef2cbe20e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppMigrationService: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e555234e8f93c64f6cad8a17d772663ac17ed00968098d67534d2cda24d2ab8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContentView: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\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":"AppPorts/ContentView.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6eaf6138019ceadfaa74620ef9693da67c6fee77abde20d71d65f9f3e60a8f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContainerMountStore: ClassTooLong \u2014 1042 significant lines (blank, comment-only and punctuation-only lines excluded), 76 methods. The bar is 400 significant lines; this is 642 over it, 2.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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff56e8449cdeaeacee3900408bf6e1c7c25980d9b9cdd526c12e0a92986ecc4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodeSigner: 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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ef063bd368d8560b7af3cd12157eda9b72556cd29f0d724eebcf05dff2757d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContainerMountStore: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"745bef34b0ca992f6fabe40688d1a330f1bfd23880be518a2cce4c9058b4c5db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DataDirMover: TooManyMethods \u2014 76 methods. The bar is 30 methods; this is 46 over it, 2.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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59b94543a7dbc6fa40b0cd144c78836f35f3501e9ae02ceaf11deb9c1a1b360"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/TreeCopySession.swift: FileTooLong \u2014 1247 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 747 over it, 2.49\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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41702fc3bdf1c9851ccaf44980612956726e6402b4df52b8b4b2c9445e5f597"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/DataDirScanner.swift: FileTooLong \u2014 1198 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 698 over it, 2.40\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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8420eaeaabf39eab512ef359968e3bf06ad7afe07970e808fbe21f4ba33e16"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppTransferTransaction: ClassTooLong \u2014 910 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 400 significant lines; this is 510 over it, 2.28\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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6003e015734e21cbcad308498db17773b826d64c4a7ab58dbfad8a36707d73b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TreeCopySession: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dc7fdaf2c357da0428556df8c627e1d75a656a531a9d53b3b05475c83a085b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/ContainerMountStore.swift: FileTooLong \u2014 1044 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ContainerMountStore (10-1494). The bar is 500 significant lines; this is 544 over it, 2.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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5fdd9a1262996b6c26f2c59c20eb6f9f4f8524243e7e05a7fd665616daa0f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppLogger: ClassTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), 54 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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ff23e24bab841f0ce670eddc5b17c52c4249394fd9f1a7e3f96a45abcde075"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppTransferTransaction: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"261c5d44cf97717b3e766b1f97064157d99f824ade5f962d844e1d5e046856da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppScanner.scanExternalApps: MethodTooLong \u2014 scanExternalApps runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"8039b6ca4c54af56c74299396584e802581ad3610b9069db2fbdc0fedf2fab24"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppMigrationService.excludeFromSearch: MethodTooLong \u2014 excludeFromSearch 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2b24784797c848f942795a4e9b71d2ec469b84dfb35e4280064aa75d718114"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/AppScanner.swift: FileTooLong \u2014 929 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 429 over it, 1.86\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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ed3989a4c611e9f1fea7df5183af9114f7d021ff010785e22cab0b2acedead"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AppTransferTransaction.swift: FileTooLong \u2014 921 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: AppTransferTransaction (18-1271). The bar is 500 significant lines; this is 421 over it, 1.84\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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f83f438a91368ce8bc420a3b1acf7eb12b843ffedf93ae408737e098faa150"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppLogger: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"532f8f4cad21f787d97c6bb471e9c8404230bdb0cb37518e16e6595c84a8db3d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DataDirsView: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f190a28f1308032fc5e524a37c5b1bd321e7ee8946f863b27dc10e4156c7a156"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DataDirScanner: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf96e6f2ff412b5c4e07191dc74d52bd088baa430aab63574315e7539115630"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContentView.body: MethodTooLong \u2014 body runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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":"AppPorts/ContentView.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7790419b4fc8aad22e124d102797d1cf7923b7b8f4d242d0ab2c244bba42109c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/AppLogger.swift: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: AppLogger (46-1316). The bar is 500 significant lines; this is 318 over it, 1.64\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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a463c9ea618717a2a95562e48cbe4af092e5370f959920783d6d72e0e1e4f76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContainerMountStore.validate: MethodTooLong \u2014 validate runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f49436a53a90c7ac83e088ad15db0a87a8e57c08fbefa15972ca9a671add149"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContainerVolumeMigrator.restoreRetainingOriginal: MethodTooLong \u2014 restoreRetainingOriginal runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"af592672a41f1874015b817520b29cb9d2d6d9e2c592c394e6c5e70106144bc5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/ContainerVolumeMigrator\u002BRecovery.swift: FileTooLong \u2014 742 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 242 over it, 1.48\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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d12dc28504faa7a2502fcfda6024a4aba6d272d6ca0526875de9ee2dfe5ba4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContainerVolumeMigrator.resumeVerifiedMountMigration: MethodTooLong \u2014 resumeVerifiedMountMigration runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24b2dd4020dcf485c625b5507de59d80396a0ead97a25b99a3de47dbf26a451"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContainerVolumeMigrator.performRetainedTransferCleanup: MethodTooLong \u2014 performRetainedTransferCleanup runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b18c4a0a73b3d76f17bf88720222e4a7ab89ae74a5813ff01673af28d2051ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppScanner: 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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b88b8f2da31ab69e955f04dfe4c0129dfcc3b1e0721f52ece852d733bc3c9b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DiskUtility: 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":"AppPorts/Utils/DiskUtility.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ad117fe440cdc24054e845e51fc4ac6c633c0dc8628995b235d30d37217a51"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppStoreSettingsView.settingsContent: MethodTooLong \u2014 settingsContent runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"AppPorts/Views/AppStoreSettingsView.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"772b73648bd7a253173ae238f523ac1982a0ec6bbdc6281d5a4a711a9026b762"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataDirScanner.scanLibraryDirsWithDiagnostics: MethodTooLong \u2014 scanLibraryDirsWithDiagnostics 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc200a10652a5ee95a101be069137f70c9d60c54e95e8d6809b5ecdf90d92af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContainerVolumeMigrator.removeUnactivatedMigrationVolume: MethodTooLong \u2014 removeUnactivatedMigrationVolume 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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e6569ecc04462d22dee9bfde6ebdf1dd64d4b2a92d1df8549f05a6e2a35661"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/CustomDirsView.swift: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: CustomDirsView (37-577). The bar is 500 significant lines; this is 137 over it, 1.27\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":"AppPorts/Views/CustomDirsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ddc6ca8f2b0e30f1d21b2089fc69a674cc20b18622d31f3a4a6226949b6b03"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContainerVolumeMigrator.migrate: MethodTooLong \u2014 migrate runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c2dc326b1aeeaeb652e877e73876dc7187f72ce2b7a61f118442c4a08bc18a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataDirsView.body: MethodTooLong \u2014 body runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d809bdd00d4195afff1edefee647d44f63b43e4e07fc62c294a4a0da3077df1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utils/DiskUtility.swift: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: DiskUtility (232-918). The bar is 500 significant lines; this is 116 over it, 1.23\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":"AppPorts/Utils/DiskUtility.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7aa4c3691527414b5fd696f47fa9b0946e5760dfb766f5d464e930d5bb31b25"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataDirsView.appDirsContent: MethodTooLong \u2014 appDirsContent runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c202a73c35e6a009b777a11695c491da36ad6788424f96773e11d8196725e08f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SignatureRepairSheet.body: MethodTooLong \u2014 body runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\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":"AppPorts/Views/SignatureRepairSheet.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fbf87bb7098cf1df3fe5258a9245eb6f122c9b0b3ad42efd564acdfec1e549"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PortalPresentation.write: MethodTooLong \u2014 write runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/PortalPresentation.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"502cdde9fcad3be6f7bec1c694789a42e90401adf47cc9c915a8780f7cd8f4b8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiskUtility: ClassTooLong \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 62 over it, 1.16\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":"AppPorts/Utils/DiskUtility.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83fc99e5cbb693324962ea4150453c8fddbd28c2251d8eb9a95b7734f7ddb3b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppScanner.scanLocalApps: MethodTooLong \u2014 scanLocalApps runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5eccf0cf72adeddcf6f0374faa728fb1aca7540956fccd97a362b5f0cb7fec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppTransferTransaction.start: MethodTooLong \u2014 start 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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0519375a14cc4c9c7d54b99865abda04d299b62704c8dae072216f74130dcf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MountMigrationGuidance.make: MethodTooLong \u2014 make 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":"AppPorts/Utils/MountMigrationPreflight.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1fe7f9454ee1152f8b3397a4286466ba1bad2515700e18fee96288fd0c377e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodeSigner.relocateInternalBackup: MethodTooLong \u2014 relocateInternalBackup runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27ebaed67ca5898f9a7d1bc2297204ca44c01a0b44eed8eddde21ebbdff9add"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DataDirOperationButtons.body: MethodTooLong \u2014 body runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28d053da4508b14456881977d2e72a70fff50d8f1aaee70fce6172e1125099f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): AppPorts/Utils/AppScanner.swift:429-467 | AppPorts/Utils/AppScanner.swift:576-610 \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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc7af388ef291d3d9bd76b35a37a9d90b6fa7fd57f8fbbae6e33ab6e4edfa85"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): AppPorts/Services/AppMigrationService.swift:215-444 | AppPorts/Services/AppMigrationService.swift:476-536 | AppPorts/Services/AppMigrationService.swift:571-587 | AppPorts/Services/AppMigrationService.swift:590-602 | AppPorts/Services/AppMigrationService.swift:604-615 | AppPorts/Services/AppMigrationService.swift:1078-1111 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"252cb664a8c39c46ba35df46c935cafa5c214cf51ebdd08bcc372b3317438dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): AppPorts/Utils/AppScanner.swift:198-331 | AppPorts/Utils/DataDirScanner.swift:479-538 | AppPorts/Utils/DataDirScanner.swift:623-808 | AppPorts/Views/DataDirsView.swift:1249-1352 \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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f4cdbb91960921117a702fe883a4bdad7084cbfa9a10bf31274a17cda6e329"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): AppPorts/Views/DataDirsView.swift:1484-1523 | AppPorts/Views/DataDirsView.swift:1552-1598 | AppPorts/Views/DataDirsView.swift:1600-1629 | AppPorts/Views/DataDirsView.swift:1665-1692 \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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"561ed0d83c5843a043f30a7e3ae9287ddd63e50e6d8583989eea85a437c0e79a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): AppPorts/Views/CustomDirsView.swift:176-232 | AppPorts/Views/CustomDirsView.swift:234-297 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"AppPorts/Views/CustomDirsView.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99aa0a0e6274aae657089fcdce421aae6f2b7dcbd52f33f53648017336f9275"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): AppPorts/Services/SignatureFactStore.swift:427-450 | AppPorts/Services/SignatureOperationRecord.swift:57-77 \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":"AppPorts/Services/SignatureFactStore.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"862d4c59347975aa49ab3825ff759e1b8d04ecb177900eeee373465c21f89218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): AppPorts/Services/AppMigrationService.swift:1332-1369 | AppPorts/Utils/AppScanner.swift:765-803 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb8ed43a0371b5f98e57064f576a1b3dc4848d54b8850b7e16b8796b3b998d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): AppPorts/Utils/ContainerVolumeMigrator.swift:444-465 | AppPorts/Utils/DataDirMover.swift:1259-1283 \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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3a9f2ecd2982cc059f30989cf4f6f0643c64d6d7239fea3760e9c564fc19c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): AppPorts/Utils/ContainerVolumeMigrator.swift:420-442 | AppPorts/Utils/DataDirMover.swift:1287-1310 \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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db25cd6b9dce17a33ac56a14c3873c2be02da1bc3fca302088c5361e21901ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): AppPorts/Services/SignatureCompatibilityCopy.swift:272-290 | AppPorts/Utils/TreeCopySession.swift:1457-1477 \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":"AppPorts/Services/SignatureCompatibilityCopy.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d4b4c1c85eab9a87c5704105cd2a0483491344ebd6b2e71f7e8ffcab6d1517"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): AppPorts/Utils/DataDirScanner.swift:1171-1190 | AppPorts/Views/DataDirsView.swift:2183-2202 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30e30c1ce29bda9f50e0463e145c2ef45f4435a5cda2464b1582ae8e1523300"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): AppPorts/AboutView.swift:85-112 | AppPorts/AboutView.swift:276-295 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"AppPorts/AboutView.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"155858592c3b764d29b110372c010aa9b5acf9208c6c9fd77e29b2f0da5d7017"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): AppPorts/Utils/ContainerVolumeMigrator.swift:2274-2292 | AppPorts/Utils/DataDirMover.swift:1412-1429 \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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7bd50f685af9b81019283dbde1fd9127aba0254f2f5666a5367098830331f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): AppPorts/Utils/DataDirMover.swift:82-96 | AppPorts/Utils/DataDirMover.swift:98-113 \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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"622ad345095fbd6ad483e65ef6bbd722bd8e7cf545ec932f0449de21a09a06a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): AppPorts/Utils/UpdateChecker.swift:205-229 | AppPorts/Utils/UpdateChecker.swift:231-255 \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":"AppPorts/Utils/UpdateChecker.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a6b26228ff6f8cf63c66f86d94ee7eaf3a92822245cb44ed2b4f638090f77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): AppPorts/Services/SignatureCompatibilityCopy.swift:259-270 | AppPorts/Utils/TreeCopySession.swift:1313-1326 \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":"AppPorts/Services/SignatureCompatibilityCopy.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"be55d405e119e0b09804dc652f8c63b0eefea1e38511ad07530d3dfd1005f133"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): AppPorts/Utils/DataDirScanner.swift:1192-1206 | AppPorts/Views/DataDirsView.swift:2167-2181 \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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48f0ea6a44df04a574f982fbe50b3c8f88f10bc2b1dbff63198e68a71e53fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): AppPorts/Services/AppMigrationService.swift:2264-2278 | AppPorts/Services/AppMigrationService.swift:2281-2295 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2264}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2c0ae78772fc5131d7ab69e46c715defa30b4c154087f05abdbc215009844d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): AppPorts/Utils/TreeCopySession.swift:218-232 | AppPorts/Utils/TreeCopySession.swift:303-314 \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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aedb950e892fd1d5192c7489456a3c30df17424bb7efd495d9f5c17fcdeb51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): AppPorts/Views/Components/DataDirRowView.swift:318-334 | AppPorts/Views/Components/DataDirRowView.swift:336-351 | AppPorts/Views/Components/DataDirRowView.swift:353-369 \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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0978c70cdda0325dd346fba58890b9eb1bf14c05aab9e1be4b594136d7167a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): AppPorts/Services/AppMigrationService.swift:1849-1859 | AppPorts/Services/AppMigrationService.swift:1874-1886 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"65973f062ee23e936ac3e74bb1fb028f28b4fbda846621ba8d94b91eba9db3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): AppPorts/Utils/AppScanner.swift:875-891 | AppPorts/Utils/UpdateChecker.swift:421-436 \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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71af024e982a611ec6dc081d8f8fa43279d09ecde001d4604b0dd9bb40eb864"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): AppPorts/Utils/DiskUtility.swift:255-268 | AppPorts/Utils/TreeCopySession.swift:1664-1677 \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":"AppPorts/Utils/DiskUtility.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f2d30d6d4ed38f72b7c8b1d788890a874b57f323cae21a33a6724146164b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): AppPorts/Services/PortalImageLaunchPreparation.swift:99-111 | AppPorts/Services/PortalImageLaunchPreparation.swift:124-141 \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":"AppPorts/Services/PortalImageLaunchPreparation.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2bed88c60886ca45334f27965788b51072c153d763bd0571ccb8b9bbd55334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): AppPorts/Utils/ContainerVolumeMigrator.swift:481-498 | AppPorts/Utils/DataDirMover.swift:1184-1199 \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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4c2ca7d3092d94c29fa1ad43196492e615a9ee69f95ad3531d8ea3965a180a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): AppPorts/Services/AppMigrationService.swift:1831-1841 | AppPorts/Services/AppMigrationService.swift:1862-1871 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39df3a8f12f0d982e2c965d47769c3593b39cde648ae1670e3e15f07d7a839c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): AppPorts/Services/SignatureHistoryStore.swift:432-439 | AppPorts/Services/SignatureOperationRecord.swift:271-278 \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":"AppPorts/Services/SignatureHistoryStore.swift"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"9542c01aee2cf1dc9ad0cc8b0d75612a049df374269844fd0e190435e8fb02fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): AppPorts/AboutView.swift:67-83 | AppPorts/AboutView.swift:259-274 \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":"AppPorts/AboutView.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a267f9e98cb2be7bfdf53fb7764e9bddbe732e28f6fb516e438707de9e7720d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): AppPorts/Services/AppLogger.swift:521-531 | AppPorts/Services/AppLogger.swift:570-585 \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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"9006cb7baf00c760c73b8b22d244cd789f6d654e634671ee96241b82c740ad2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): AppPorts/Services/AppSizeCacheStore.swift:31-42 | AppPorts/Services/ToolDirectorySizeCacheStore.swift:57-66 \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":"AppPorts/Services/AppSizeCacheStore.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab9c3bbec870c4727afeddf749c15fa0082c106460e266f650b89957ddb9574"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): AppPorts/Utils/DataDirMover.swift:539-553 | AppPorts/Utils/DataDirMover.swift:555-565 \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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e284836c53f8637ce26b600b93f6e09a007874d1c457863de125ecc320565e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): AppPorts/Utils/DataDirMover.swift:116-124 | AppPorts/Utils/DataDirMover.swift:215-224 \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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f98f4c915adb9cf5572e3f2aa98566ba37694a5858abe929261bc05c91981a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): AppPorts/Utils/ContainerVolumeMigrator.swift:566-574 | AppPorts/Utils/DataDirMover.swift:567-575 \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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb335ee6cfd4b3da307bcc7e5c04d296fa0788565dcd11e67eb770353d7c42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): AppPorts/Models/AppModels.swift:27-46 | AppPorts/Models/CustomDirModels.swift:20-41 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"AppPorts/Models/AppModels.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feec769872f7e8bc9a26cc3f42920f54fb644e9455563da6ee72b18e73ee0f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): AppPorts/Services/PrivilegedAppTransfer.swift:72-82 | AppPorts/Services/PrivilegedDataCleanup.swift:16-26 \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":"AppPorts/Services/PrivilegedAppTransfer.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa103bb78a8d8ad9351fdbd1203ec48267b1c38b3e2f8083eb8958f61adf225"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): AppPorts/Utils/ContainerVolumeMigrator.swift:1168-1175 | AppPorts/Utils/ContainerVolumeMigrator.swift:1177-1188 \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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a35b092c209d8294ace455e66092c20be8574efbf4a9a6d95eb15986cb6c10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AppPorts/Utils/DiskUtility.swift:380-387 | AppPorts/Utils/DiskUtility.swift:389-395 \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":"AppPorts/Utils/DiskUtility.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"68632b3181d906c02e86d662864ac4286f327dc4ef327d5a4fff22813abd2627"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AppPorts/Utils/DataTransferSession.swift:38-44 | AppPorts/Utils/DataTransferSession.swift:46-52 \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":"AppPorts/Utils/DataTransferSession.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b4dc58280b1546d1fb32a03c74756838691e525b37948a8c9b841860ee8995"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): AppPorts/Services/AppDataShortcutService.swift:117-125 | AppPorts/Services/AppDataShortcutService.swift:127-135 \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":"AppPorts/Services/AppDataShortcutService.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"965611ec74f90d491971ea7cc67460ad92945bf382bf7c0cd38fc13f44a01cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): AppPorts/Services/AppLogger.swift:1194-1202 | AppPorts/Utils/DataDirScanner.swift:1495-1504 | AppPorts/Views/Components/StatusBadge.swift:173-181 \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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc0c8c5a2783bc2a04eb53c64b52955818ea11e536168f05e4d7b4f00f360b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): AppPorts/Services/AppSizeCacheStore.swift:44-54 | AppPorts/Services/MigrationTaskHistoryStore.swift:50-55 \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":"AppPorts/Services/AppSizeCacheStore.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"279627a519d820eb8a4cc6a841561cec15b36a40462e62eed1136dcd10bd98c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): AppPorts/Views/Components/DataDirProgressOverlay.swift:169-173 | AppPorts/Views/Components/MigrationTaskViews.swift:397-401 \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":"AppPorts/Views/Components/DataDirProgressOverlay.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ed67b5ee95fbf402677dee2800cc857566662ecb3ee9c30df98ea09e647574"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): AppPorts/Services/AppTransferStore.swift:316-321 | AppPorts/Services/SignatureHistoryStore.swift:122-128 | AppPorts/Services/SignatureOperationRecord.swift:205-210 \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":"AppPorts/Services/AppTransferStore.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"705e89a28e9072749566b04acefee3caa047661ddbfb24882004f3b3bc02f819"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): AppPorts/Services/SignatureFactStore.swift:190-199 | AppPorts/Services/SignatureOperationRecord.swift:177-182 \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":"AppPorts/Services/SignatureFactStore.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa5b025fc8205978cd77aee60461707806c379a7b7855f15ea5ce9e8ac1d117"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): AppPorts/Services/AppTransferStore.swift:125-134 | AppPorts/Services/AppTransferStore.swift:136-143 \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":"AppPorts/Services/AppTransferStore.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a28a66f32ab830108fd290bb99ff701dd20b044115a3080373fea7bace327d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): AppPorts/Services/ContainerMountStore.swift:561-569 | AppPorts/Services/ContainerMountStore.swift:687-694 \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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ae209827c0beec337824e50194ba42b29910d83d20f4863bb6b753b2bcb7f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): AppPorts/Utils/DataDirScanner.swift:1318-1330 | AppPorts/Utils/DataDirScanner.swift:1506-1518 \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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b74bf54b5e810350be7c21668a5a8a15de337d8b3ada5c7d95f1ea157b2b0b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): AppPorts/Services/AppPortalMaintenance.swift:130-133 | AppPorts/Services/DockShortcutService.swift:407-410 \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":"AppPorts/Services/AppPortalMaintenance.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c261d80685e8d05bf37937ef95ad903480a8a56a6a87e8076a271f77492504"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): AppPorts/Services/AppSearchRecordStore.swift:83-90 | AppPorts/Services/AppSearchRecordStore.swift:92-99 \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":"AppPorts/Services/AppSearchRecordStore.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0850eadc6d56b58851d859ecd60fc20fbab9aa73f29a68e4faea74d81728093"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): AppPorts/Utils/DataDirScanner.swift:1099-1104 | AppPorts/Utils/DataDirScanner.swift:1416-1424 \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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6704c2b87c6d259b8eda53e67e3a19ef86e25396fa3affdebe0fda34db5874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): AppPorts/Utils/DataDirMover.swift:1106-1113 | AppPorts/Utils/DataDirMover.swift:1632-1641 \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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db5471551abc32cb117b0b40d5c719116567ac5d1f85e997292ff9aa477c1d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): AppPorts/Models/CleanupRetryBackoff.swift:31-34 | AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift:888-891 \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":"AppPorts/Models/CleanupRetryBackoff.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8144144e538781753e8d7c8ed0074a7c1bbf837c8ddf9a423f9e82061284da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): AppPorts/Services/ContainerMountStore.swift:307-312 | AppPorts/Services/ContainerMountStore.swift:313-319 \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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbb68c0d8dec47402b59f41d95cd3cc67bc266c3dbd3bcaa5451ba563fa78d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): AppPorts/Services/AppDataShortcutService.swift:112-115 | AppPorts/Services/AppMigrationService.swift:170-175 | Tools/StubLauncher/StubLauncherSource.swift:253-258 \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":"AppPorts/Services/AppDataShortcutService.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc8efa3409c2dd745d9bbb27acc02297db2c8eaf3f29e09cc283177bf790097"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): AppPorts/ContentView.swift:2698-2701 | AppPorts/Services/AppMigrationService.swift:1439-1445 | AppPorts/Utils/DataDirScanner.swift:1745-1748 \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":"AppPorts/ContentView.swift"},"region":{"startLine":2698}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e0c68718be08156a787ec065bd54fae6b55fd68ff2e176271723557a7123bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): AppPorts/Models/CustomDirModels.swift:213-219 | AppPorts/Utils/CustomDirScanner.swift:138-144 \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":"AppPorts/Models/CustomDirModels.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbac0a6f314d0b921250e1cc458e0e67944bcd9afee9cdf57921e5ee7c2b4fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): AppPorts/Services/AppTransferStore.swift:226-233 | AppPorts/Services/SignatureSnapshot.swift:44-49 \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":"AppPorts/Services/AppTransferStore.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec866a1a7b976c87b71b366c5ffb3c4f348e652b8f1df9678a4b8b812244110"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): AppPorts/Services/AppMigrationService.swift:120-124 | AppPorts/Services/AppTransferTransaction.swift:1102-1106 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"042ec5811360be5ab54320f1b76d678ee71a490973f20e4097948aebd3b7a4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): AppPorts/Services/ContainerMountAgentInstaller.swift:205-209 | AppPorts/Utils/PortalPresentation.swift:183-187 \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":"AppPorts/Services/ContainerMountAgentInstaller.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6928f05eca7460f3b25b91bcf735f08edbdf21c585317255ee5d209d91e8710e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): AppPorts/Services/PrivilegedAppTransfer.swift:208-212 | AppPorts/Services/PrivilegedDataCleanup.swift:77-81 \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":"AppPorts/Services/PrivilegedAppTransfer.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"4026b57b8d25dbb746354a62cb1380e7eb0a39780aa2a6d0cff4a62c8e3adb08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): AppPorts/Services/SignatureCompatibilityCopy.swift:319-323 | AppPorts/Utils/TreeCopySession.swift:1740-1740 \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":"AppPorts/Services/SignatureCompatibilityCopy.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e101e8e39b9e75dd33fc52347b572a05a6773a2f75061ac3cbf592a28485f3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): AppPorts/Services/AppMigrationService.swift:2498-2502 | AppPorts/Services/SignatureSnapshot.swift:222-226 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"7056a6f57c55c621116a5a0f804e1de55e157d5ea587cd656a70573387f1a0d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): AppPorts/Services/AppSearchExclusionService.swift:193-195 | AppPorts/Services/AppTransferTransaction.swift:1197-1197 \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":"AppPorts/Services/AppSearchExclusionService.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57c12025881e0c37df5e917b4ef02e41fe97c3b0f8619726714f1b875d61f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): AppPorts/ContentView.swift:1497-1508 | AppPorts/Utils/AppScanner.swift:1235-1246 \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":"AppPorts/ContentView.swift"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d0349945c9d777f4dd6c3d66721b40f0a37331a0cb2d8f9d8c905ee55fb062"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): AppPorts/ContentView.swift:640-647 | AppPorts/Views/Components/AppDataDirectoryBrowser.swift:555-564 \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":"AppPorts/ContentView.swift"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4d0a6c8951e219d6b44e43a3ed08330ea3617c59dd41e182e7a5023e6a14c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): AppPorts/Utils/ContainerVolumeMigrator.swift:3039-3044 | AppPorts/Utils/DataDirMover.swift:1822-1825 | AppPorts/Utils/DataDirScanner.swift:1736-1739 \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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4566d58c6b7927eaccf37c8c97bd4f39b73f39aa28038971acd70213ae58b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): AppPorts/Services/AppUpdateInstaller.swift:116-118 | AppPorts/Utils/DiskUtility.swift:302-304 \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":"AppPorts/Services/AppUpdateInstaller.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"47626a347ee93937f0fa2ed7d0cdabacc8fd636bc8cccb7c0f6c1b0b77f73927"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): AppPorts/Services/SignatureCompatibilityCopy.swift:341-343 | AppPorts/Utils/ResourceForkStream.swift:117-119 \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":"AppPorts/Services/SignatureCompatibilityCopy.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33436fdaa4afb7ce44eaa5a5a96b8a5ecc977c0c31fa7a05bd9bc2470fbd89a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): AppPorts/Utils/ContainerVolumeMigrator.swift:2949-2952 | AppPorts/Utils/DataDirMover.swift:1742-1745 \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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5ea4efca5d80ccb85fb7f60d8c50e69f29d34668c06a13ca94627a79f18b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): AppPorts/Services/AppTransferTransaction.swift:1196-1196 | AppPorts/Services/SignatureCompatibilityCopy.swift:340-340 | AppPorts/Utils/TreeCopySession.swift:1653-1655 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc0a13581eb644dff600b3821bcf8230ca566c138ec208d01b2ecb3952e2c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): AppPorts/Services/AppMigrationService.swift:2495-2497 | AppPorts/Services/AppTransferTransaction.swift:1193-1195 | AppPorts/Services/SignatureSnapshot.swift:380-382 | AppPorts/Utils/FileDataCopyStream.swift:120-122 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cd3448c01d93508d69dd0958a96589513695e6cc6d6b7cadbc3a7d9716c5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): AppPorts/Services/AutoResignInstaller.swift:23-26 | AppPorts/Services/CodeSigner.swift:74-77 | AppPorts/Utils/ApplicationLaunchGate.swift:16-19 | AppPorts/Utils/OperationLock.swift:31-35 | AppPorts/Utils/WriterAdmission.swift:47-50 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Services/AutoResignInstaller.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0ec95b8c4aebf38dc69607513d8cca997ee18489e601a946a851e7d2f26d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): AppPorts/ContentView.swift:1030-1047 | AppPorts/ContentView.swift:1122-1139 \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 \u0060AppPorts/ContentView.swift:1030\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":"AppPorts/ContentView.swift"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"14081819cf3ab9606bdc86d46acf5a9978cfeed95e4df221a0b635529859e5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): AppPorts/Services/CodeSigner.swift:455-469 | AppPorts/Services/CodeSigner.swift:528-540 \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 \u0060AppPorts/Services/CodeSigner.swift:455\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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eb46c2b37e6c4d714848731f670a82d1d24f513a7e6ae9f467e49db5469094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): AppPorts/Utils/AppScanner.swift:441-452 | AppPorts/Utils/AppScanner.swift:578-592 \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 \u0060AppPorts/Utils/AppScanner.swift:441\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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9512735443b771a0b1765174973be4ab6b20dbc55920578a8a64a1bcb19ac5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AppPorts/Views/AppStoreSettingsView.swift:159-173 | AppPorts/Views/AppStoreSettingsView.swift:338-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 \u0060AppPorts/Views/AppStoreSettingsView.swift:159\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":"AppPorts/Views/AppStoreSettingsView.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b595090ca578933dc5d230b67fcb9aaf8a6edaa00cb4926b2088d34536ee23c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): AppPorts/Views/CustomDirsView.swift:209-223 | AppPorts/Views/CustomDirsView.swift:264-277 \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 \u0060AppPorts/Views/CustomDirsView.swift:209\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":"AppPorts/Views/CustomDirsView.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73468afc1b0e7b0253830649b6648ae639a120967d41670b50dd62cc0a85c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): AppPorts/Utils/AppScanner.swift:1060-1073 | AppPorts/Utils/AppScanner.swift:1091-1104 \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 \u0060AppPorts/Utils/AppScanner.swift:1060\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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d120e98dc4e772e7a6ac41d0f9312ecf505553511a6270eacbe3b0099ce86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): AppPorts/Utils/ContainerVolumeMigrator.swift:429-442 | AppPorts/Utils/DataDirMover.swift:1297-1310 \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 \u0060AppPorts/Utils/ContainerVolumeMigrator.swift:429\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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f343520c2fb204c505fdbb46a11f26a944780a7e7eff0c03b57301b751eb1b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): AppPorts/Views/DataDirsView.swift:1601-1614 | AppPorts/Views/DataDirsView.swift:1666-1679 \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 \u0060AppPorts/Views/DataDirsView.swift:1601\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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99846bf4ceb9cdb07ea53a503203194ed41301b6957f8d93dbc9f2eb56ce197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AppPorts/Utils/ContainerVolumeMigrator.swift:2280-2292 | AppPorts/Utils/DataDirMover.swift:1417-1429 \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 \u0060AppPorts/Utils/ContainerVolumeMigrator.swift:2280\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060AppPorts/Utils/ContainerVolumeMigrator.swift:2277\u0060 calls \u0060deletingLastPathComponent\u0060, \u0060appendingPathComponent\u0060 and \u0060AppPorts/Utils/DataDirMover.swift:1414\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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"be82c25ff52015ebde5fa13eb252184624cd14a88975a4beae5cb2479201b2a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): AppPorts/Views/Components/AppRowView.swift:169-181 | AppPorts/Views/Components/CustomDirRowView.swift:55-66 \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 \u0060AppPorts/Views/Components/AppRowView.swift:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Views/Components/AppRowView.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c989e594a7f99dd558c7301f2aa4b4c0d0f04520d319d5a6048b4a0519aa59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AppPorts/ContentView.swift:484-495 | AppPorts/Views/CustomDirsView.swift:304-315 \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 \u0060AppPorts/ContentView.swift:484\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":"AppPorts/ContentView.swift"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a929e1b31395b7363fabd5439a37b0fea8a013a5af9015529363faf93afde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AppPorts/Utils/AppScanner.swift:257-268 | AppPorts/Utils/AppScanner.swift:973-984 \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 \u0060AppPorts/Utils/AppScanner.swift:257\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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1329b67db2ef36efaee293839034b2fe78959e78620cf3dcb9eee6a530116318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AppPorts/Utils/AppScanner.swift:1006-1017 | AppPorts/Utils/AppScanner.swift:1098-1109 \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 \u0060AppPorts/Utils/AppScanner.swift:1006\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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fca29c1da4a03c3bd597d287d98cd5e7c2d3654678d60095db8829ec539341f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): AppPorts/Utils/DataDirMover.swift:1891-1902 | AppPorts/Utils/DataDirScanner.swift:1776-1787 \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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"388eb184936ddcbc2bc97d881c6dbb3bcb951bc4c9e544e50721bd284ef2f144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): AppPorts/Utils/AppScanner.swift:944-954 | AppPorts/Utils/AppScanner.swift:1129-1137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AppPorts/Utils/AppScanner.swift:955\u0060 calls \u0060detectElectronAndSparkle\u0060, \u0060hasElectronUpdater\u0060, \u0060hasCustomUpdater\u0060 and \u0060AppPorts/Utils/AppScanner.swift:1138\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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c18de87beaacf53705952ea470f9e325f24eca13384433611d822a0c76c395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AppPorts/Views/AppStoreSettingsView.swift:188-198 | AppPorts/Views/AppStoreSettingsView.swift:223-233 \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 \u0060AppPorts/Views/AppStoreSettingsView.swift:188\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":"AppPorts/Views/AppStoreSettingsView.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2ecb02eec0156d6c2b8d276d4d72a3606e7ec39010b79eb2ae4ad3857aace9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AppPorts/AboutView.swift:92-101 | AppPorts/AboutView.swift:283-292 \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":"AppPorts/AboutView.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dde95d516a4dc8fbfcbd79349605a8c746a064c2ca730d68eecbcb0e9dd78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): AppPorts/ContentView.swift:1404-1411 | AppPorts/ContentView.swift:2827-2836 \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 \u0060AppPorts/ContentView.swift:2827\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":"AppPorts/ContentView.swift"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afd73c8c6cf17b3ca32e366c53dfab4d188f75ff877b973d7f7446ebf63d45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): AppPorts/Services/AppLogger.swift:700-709 | AppPorts/Services/AppLogger.swift:710-719 | AppPorts/Services/AppLogger.swift:720-727 \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 \u0060AppPorts/Services/AppLogger.swift:720\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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ca9fcb6dfe2da6ceb1515e81a12b9785124db6708561996d3a7e95a6610445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AppPorts/Services/AppMigrationService.swift:1346-1355 | AppPorts/Utils/AppScanner.swift:780-789 \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 \u0060AppPorts/Services/AppMigrationService.swift:1346\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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6f614182784244998f2418750889a2423cbd49f98f965b6599d6cea3d19fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AppPorts/Services/AppMigrationService.swift:2269-2278 | AppPorts/Services/AppMigrationService.swift:2286-2295 \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 \u0060AppPorts/Services/AppMigrationService.swift:2269\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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d2c79ca846385e1170c840aac53f0254b07ace7985b72e82582026eacd4380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AppPorts/Utils/ContainerVolumeMigrator.swift:1332-1341 | AppPorts/Utils/ContainerVolumeMigrator.swift:1386-1395 \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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a548b9adf72c651d071c93b3348ca7438d3e28ef1e7bd94e28560a3f8f038fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AppPorts/Utils/OwnershipStorageAdvisory.swift:90-99 | AppPorts/Utils/StorageCapabilityProbe.swift:125-134 \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":"AppPorts/Utils/OwnershipStorageAdvisory.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1948063a02b700efb3aff7b4823757cbe56ca79effbe8196645164a270792016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AppPorts/Views/Components/DataDirRowView.swift:342-351 | AppPorts/Views/Components/DataDirRowView.swift:360-369 \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 \u0060AppPorts/Views/Components/DataDirRowView.swift:342\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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"319774fbc9441df58e0b09a9935dfebe8bdee7ef57c90acfc3a9289c213d9272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AppPorts/Views/CustomDirsView.swift:466-475 | AppPorts/Views/DataDirsView.swift:1785-1794 \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":"AppPorts/Views/CustomDirsView.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed20dd3e0b442e53f03bf0fa6ad50a70ccaa952320356d696aa9d235e551dd61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): AppPorts/Views/DataDirsView.swift:1502-1510 | AppPorts/Views/DataDirsView.swift:1554-1562 | AppPorts/Views/DataDirsView.swift:1610-1618 | AppPorts/Views/DataDirsView.swift:1675-1683 \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 \u0060AppPorts/Views/DataDirsView.swift:1502\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AppPorts/Views/DataDirsView.swift:1620\u0060 calls \u0060normalizedManagementDestination\u0060 and \u0060AppPorts/Views/DataDirsView.swift:1685\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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a3501ef4ed7e8d059ba13900bd83a760af3070bcf1156e1a2b222c294a7368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AppPorts/Services/AppSizeCacheStore.swift:33-41 | AppPorts/Services/ToolDirectorySizeCacheStore.swift:58-66 \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":"AppPorts/Services/AppSizeCacheStore.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b45dc1fd18077bd4557090a45fa3afcb0283f0c799202a7d8896b022c79af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AppPorts/Views/Components/DataDirRowView.swift:247-255 | AppPorts/Views/Components/DataDirRowView.swift:268-276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AppPorts/Views/Components/DataDirRowView.swift:247\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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"996dc3ecfb799adf141521e92bf8bdfc45bb3c86ee3f8a72d31e704e45e2bc0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): AppPorts/Services/AppMigrationService.swift:217-224 | AppPorts/Services/AppMigrationService.swift:487-494 | AppPorts/Services/AppMigrationService.swift:1084-1091 \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 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ce1385d09c650fd1d4c152e2c32f9849ae36ed753fd64f472e1cd1a04f69bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): AppPorts/Services/AppMigrationService.swift:573-580 | AppPorts/Services/AppMigrationService.swift:592-599 | AppPorts/Services/AppMigrationService.swift:606-613 \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 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc35da671733cd0586b1cb77d8f7ce4db4f55758a5c7737ec15cb6199090807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AppPorts/AboutView.swift:386-393 | AppPorts/Views/UpdateSettingsSection.swift:19-26 \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 \u0060AppPorts/AboutView.swift:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u006024\u0060 in one and \u006016\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":"AppPorts/AboutView.swift"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d06753c8b046db29de87ed520be97aed22b3c7e84e937264444997965c9dfa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AppPorts/Services/AppMigrationService.swift:1851-1859 | AppPorts/Services/AppMigrationService.swift:1878-1886 \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 \u0060AppPorts/Services/AppMigrationService.swift:1851\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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"233c38b10a440b09fea8a6886776817275b5e4daa150f5dc5e5f948714f71b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AppPorts/Services/AppMigrationService.swift:2240-2247 | AppPorts/Services/AppMigrationService.swift:2253-2260 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"463bc77b46a71fdce7660c4d14d74c8bb798d82bc8c0ad56f789fc15eb23554b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): AppPorts/Services/AppMigrationService.swift:2300-2307 | AppPorts/Services/AppMigrationService.swift:2317-2322 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7c2b6d71428b5d19a1590ed291201639d68ecbf493049ed26d19adb4d89cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AppPorts/Services/AppTransferStore.swift:526-533 | AppPorts/Services/SignatureOperationRecord.swift:252-259 \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 \u0060AppPorts/Services/AppTransferStore.swift:526\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":"AppPorts/Services/AppTransferStore.swift"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cb24facc2a1c74d3e7deee251dab87ee505e1d8ca2e12503ea51bc779b4781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AppPorts/Services/SignatureFactStore.swift:438-450 | AppPorts/Services/SignatureOperationRecord.swift:65-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AppPorts/Services/SignatureFactStore.swift:438\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":"AppPorts/Services/SignatureFactStore.swift"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fac7c727bd571ac730f5825f049f2b31d0418ada6e1576d345d777d4f2510b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): AppPorts/Utils/AppScanner.swift:236-245 | AppPorts/Utils/AppScanner.swift:953-962 \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 \u0060AppPorts/Utils/AppScanner.swift:236\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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b555af7e22b4d55f7e0b95d16d478bf065c5c9a30416ed159b4664c1a4b5c32c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): AppPorts/Utils/DataDirScanner.swift:1178-1187 | AppPorts/Views/DataDirsView.swift:2190-2201 \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 \u0060AppPorts/Utils/DataDirScanner.swift:1178\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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01a69c5778ab6630c4ffc8c16b66d9e1f72a7d22086ff83ac8c88323612e7c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AppPorts/Services/AppMigrationService.swift:1338-1344 | AppPorts/Utils/AppScanner.swift:772-778 \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 \u0060AppPorts/Services/AppMigrationService.swift:1338\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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c9c4c9c45525c4a2489a4f9d76ab2d358d24bcfffdd8615ad4ed171835bcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AppPorts/Services/AppMigrationService.swift:1551-1557 | AppPorts/Services/AppMigrationService.swift:1606-1613 \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 \u0060AppPorts/Services/AppMigrationService.swift:1551\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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e34a1d4295743a754c1cd229cde20b4863b24249ef3b0bc10e567ac0052d67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AppPorts/Services/AppMigrationService.swift:1832-1838 | AppPorts/Services/AppMigrationService.swift:1863-1869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AppPorts/Services/AppMigrationService.swift:1839\u0060 calls \u0060recheckWriterAdmission\u0060 and \u0060AppPorts/Services/AppMigrationService.swift:1870\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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f2d4f0fe17c76be568dfd41917b444262be33222a01fb29a92ceabd878a8cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AppPorts/Services/AppTransferForceRecovery.swift:28-34 | AppPorts/Services/AppTransferForceRecovery.swift:52-58 \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 \u0060AppPorts/Services/AppTransferForceRecovery.swift:28\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":"AppPorts/Services/AppTransferForceRecovery.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5639bb2f0bc1d8954cabb52621ddca4f73d0eabc84dd538dc5a6e485018b3656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AppPorts/Utils/ContainerVolumeMigrator.swift:1330-1336 | AppPorts/Utils/ContainerVolumeMigrator.swift:1469-1475 \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 \u0060AppPorts/Utils/ContainerVolumeMigrator.swift:1330\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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89d476af7baafd1108a0bd6e9ffe4880676df5777ca4443aa06354c82d0db00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AppPorts/Utils/DataDirScanner.swift:1200-1206 | AppPorts/Views/DataDirsView.swift:2175-2181 \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 \u0060AppPorts/Utils/DataDirScanner.swift:1200\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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"492add2fe52c37246936c4fc097c0cc8358c7f5c8112b5e573b3f95ab58f0f4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AppPorts/Services/AppTransferTransaction.swift:224-234 | AppPorts/Services/AppTransferTransaction.swift:398-408 \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 \u0060AppPorts/Services/AppTransferTransaction.swift:224\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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e903914750043f6011b261e700257bb30cda25106bdadb0a445f3bae70f2775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift:827-832 | AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift:855-860 \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 \u0060AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift:827\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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"7607e04d024540eb191ec853aa547e88cb82e39635c3387404f8a186c7ab98b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AppPorts/Utils/DataDirMover.swift:127-132 | AppPorts/Utils/DataDirMover.swift:237-242 \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 \u0060AppPorts/Utils/DataDirMover.swift:127\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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc5e4a6e347c2322926aae891c6e3b3c4b579e576f43a49d817fef676644a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AppPorts/Utils/DataDirScanner.swift:1192-1197 | AppPorts/Views/DataDirsView.swift:2167-2172 \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 \u0060AppPorts/Utils/DataDirScanner.swift:1192\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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebcd587ceb22ce128585fbf85df285d501f2e96757d97c79689189a0969bb44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AppPorts/Views/AppStoreSettingsView.swift:337-342 | AppPorts/Views/AppStoreSettingsView.swift:367-372 \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 \u0060AppPorts/Views/AppStoreSettingsView.swift:337\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":"AppPorts/Views/AppStoreSettingsView.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"400ccc42201fade380f3598c9529107eac239635a628c3a251c193e13bda430c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AppPorts/Views/Components/StatusBadge.swift:174-179 | AppPorts/Views/Components/StatusBadge.swift:206-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AppPorts/Views/Components/StatusBadge.swift:213\u0060 calls \u0060deletingLastPathComponent\u0060 and \u0060AppPorts/Views/Components/StatusBadge.swift:180\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":"AppPorts/Views/Components/StatusBadge.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b5f78070e7112f47e457ee59038ead4448a3c0e7f87a4a5047454ed60e3aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): AppPorts/Services/AppMigrationService.swift:486-491 | AppPorts/Services/AppMigrationService.swift:573-577 | AppPorts/Services/AppMigrationService.swift:606-610 \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 \u0060AppPorts/Services/AppMigrationService.swift:486\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 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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f4bd3f2955ac37d27b9e90066d12e85880104bca39ee4553b33ee39cc8f23c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 4): AppPorts/Utils/AppScanner.swift:320-324 | AppPorts/Utils/DataDirScanner.swift:528-532 | AppPorts/Utils/DataDirScanner.swift:800-801 | AppPorts/Views/DataDirsView.swift:1291-1295 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AppPorts/Utils/AppScanner.swift:320\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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c363781fb70243a608f175870e8159b2f249f59ca00b61f2c3f162cb53aec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): AppPorts/Views/Components/DataDirRowView.swift:222-226 | AppPorts/Views/Components/DataDirRowView.swift:251-255 | AppPorts/Views/Components/DataDirRowView.swift:272-276 \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 \u0060AppPorts/Views/Components/DataDirRowView.swift:222\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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41f1fe0bbba331eae835ea5964735a48cb06fa4fa8d6e9acc149fe76675a320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AppPorts/Services/AppLogger.swift:522-526 | AppPorts/Services/AppLogger.swift:571-575 \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":"AppPorts/Services/AppLogger.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cb473bb9abb0d2a356a3151571cbdac38aa7c7fdc560dc3bf592343cd337f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AppPorts/Services/AppMigrationService.swift:1336-1341 | AppPorts/Services/AppMigrationService.swift:1355-1360 \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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8a881eab9683b45498ca7fbb8842bc0fec4eda00c3e8d7180290399bbf874f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AppPorts/Services/SignatureBackupLocation.swift:201-205 | AppPorts/Utils/DurableFileIO.swift:18-22 \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 \u0060AppPorts/Services/SignatureBackupLocation.swift:201\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":"AppPorts/Services/SignatureBackupLocation.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"84871f6c00c4ababb484e864e223c2177e42cd41b17247281e7a8c883bdd18dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AppPorts/Utils/AppScanner.swift:770-775 | AppPorts/Utils/AppScanner.swift:789-794 \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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cb73f6dee638f710e5d570a36893865f23ab4fc69cbabc8927ba0257ea1c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AppPorts/Utils/ContainerVolumeMigrator.swift:449-455 | AppPorts/Utils/DataDirMover.swift:1265-1271 \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 \u0060AppPorts/Utils/ContainerVolumeMigrator.swift:449\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf24c4110ff07d6be38a1827373c12b9056b04286775c450aac7b00a8c558dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AppPorts/Utils/ContainerVolumeMigrator.swift:1169-1173 | AppPorts/Utils/ContainerVolumeMigrator.swift:1178-1182 \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 \u0060AppPorts/Utils/ContainerVolumeMigrator.swift:1169\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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb8ed83cb34a87cf2ce7618a7d25c83a1ac3165f2b3ff1212b2933b74ba8b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AppPorts/Utils/ContainerVolumeMigrator.swift:2298-2304 | AppPorts/Utils/DataDirMover.swift:1432-1438 \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 \u0060AppPorts/Utils/ContainerVolumeMigrator.swift:2298\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. 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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d86a1a6ab3c5abc9ebf08482758130e55a91c4e5cdc918b668e2f7bc8628a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AppPorts/Utils/TreeCopySession.swift:773-777 | AppPorts/Utils/TreeCopySession.swift:837-841 \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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"29443655904e4ab4d62697f7ba7e288943e8b26e45cf4808bd6a9d4dbb7dae46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AppPorts/Views/Components/DataDirRowView.swift:324-328 | AppPorts/Views/Components/DataDirRowView.swift:359-363 \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 \u0060AppPorts/Views/Components/DataDirRowView.swift:324\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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e700759c0206a46ede032de3ad73de4de29af47f6aaa3ec7c9002b7f5982f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AppPorts/Views/Components/AppDataVisibilityControls.swift:21-26 | AppPorts/Views/DataDirsView.swift:811-816 \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":"AppPorts/Views/Components/AppDataVisibilityControls.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3f684761eb2c00443c4c408f8884854ce9b860df3a2e10552fbc7a8d05fe45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AppPorts/AboutView.swift:378-382 | AppPorts/Views/UpdateSettingsSection.swift:12-16 \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":"AppPorts/AboutView.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f3600281503d8a4aa5381680821b1a272793c600b029a6e42e5f4ad795108a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AppPorts/Services/SignatureFactStore.swift:428-432 | AppPorts/Services/SignatureOperationRecord.swift:58-62 \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":"AppPorts/Services/SignatureFactStore.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26229d621aa65f93eff07d6baf006afbe9b0484bdf822a4d8cf27d66b96b41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): AppPorts/Services/SignatureHistoryStore.swift:95-101 | AppPorts/Services/SignatureOperationRecord.swift:184-190 \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":"AppPorts/Services/SignatureHistoryStore.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16896056139a0e44d931a6093cfede497569d696f8bcf6612e4f6838b69724d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppDelegate (LCOM4 5): AppDelegate\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":"AppPorts/Appports.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6e421f2ac391fb21cf43eeaf90c21f8952dc4dd99062ff6857b6939fc5fb22"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testIsolatedLifecycleBenchmark: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/APFSLifecycleBenchmarkTests.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"470757ac0428c81f81906a280bccd5b391510dc91a1a710e4147c0c36e7c300b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderExclusionBoardStatesInChineseAndEnglish: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppSearchExclusionViewTests.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b509d6458b02b9b7cb1d2d5d7148e68e15a4a10af8c08513bb8784c0ad4a60ba"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testUnreadableDirectoryIsNotReportedOrCachedAsEmpty: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataDirScannerTests.swift"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aab0d3b55ab4d249a393e2a8423b11b08c9a3fefbfbe2d2fdf6d6ae65cde66"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPartialDirectorySizeIsNotCachedAsACompleteResult: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataDirScannerTests.swift"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20bebb74817b826ac61d8e9e9d3a1018ae8684197b1831e91c96be7008d203b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testUnreadableWeChatContainerReportsIncompleteScanAndCanBeRetried: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataDirScannerTests.swift"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"de38ef0b979238f7f7d39c5fa5a69fccaa1b9a1b86bf274663ff6bcf090d1299"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testScanBenchmark: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataScanPerformanceTests.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2014100a9d371b5b5bd518c076e65150d1a01afc605865d6822966c79f56cf7c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testUnreadableChildIsIncompleteAndDoesNotCachePartialSize: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DirectorySizeTraversalTests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"00edf0c5ab22d59a6430e678ce8168c4f8ac133821842f2517c3597f16140826"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeSizeBenchmark: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DirectorySizeTraversalTests.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8697b37eb460465909c0e2153c918d983d3c513813baab0f1b397f266c057a3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testMigrationToExFATCompletesAndKeepsSignatureValid: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/ExFATMigrationE2ETests.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbc79dc3568d317c6a2b9356bff561157db556c30902f855e688294e6309d86"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPreservesRootAndNestedDirectoryGroupsLikeFoundationCreation: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/FileCopierTests.swift"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"605e3395f9cad7890820c79e25b23b589d66d59dfc2eab3a84ad7771fae8c94e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderGuideInBothAppearancesAndLanguages: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/FullDiskAccessGuideTests.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d029ebcd969018a5b928066652ad473a0f2b7b48c5ac9ad2863f071f04a546ff"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRealLegacyExecutableBlocksNewWriterUntilItExits: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/LegacyBinaryAdmissionTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2360dd819627858e7688da977fb23cccc51e982bee8713b9626af5b2e4d27160"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderManualPauseStates: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15a886a6c7769559265387fa0e9f26a3ab86e41964c2e6bf3173b84563cf5ae"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderLocalizationSheets: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"220dd10dd31b108d198b685ed268ef8eefdd74c44f0e5695360400b71e069725"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderRemountInterventionWithoutTransfers: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"703ad378a3d5f8330a2a834d38be6b5027975352c603c99f51c244f8eb30a269"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderAPFSRecoveryEntryPoints: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0450fddb562505120fda145f0b87e8427ed4261c6c00f7c90dde6b966f66a14"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderMigrationSafetyComponents: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba94b46e81e0fdbbd14570524925a5327067c5a4b65ca66575c4de31a24c6ce5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderDataTransferProgressStages: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf86f4046191974661d2f29169a36d55782c46c81e5b1966e1b0ec27d67e430"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNavigationRequestScrollsToDistantDirectory: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00c377941268097af500d3cc6eb042d24d2b8740f09eb1b9b34859d0099d763"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testMountedSummaryShowsOnlyBothMatchingDirectories: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"275ca17f43b0534ffe1a5d2c76ef6c29612c0d1101834654a17819b161e9aeec"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testInformationHeightRestoresInRecreatedBrowser: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ee41d75e5b2266a4d9bc1ed3cf6e144e1396df27d3c537fbbd1f819a3c03df"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderStorageCapabilityWarning: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f123b689a12c566e0d5be214deedb40dfe9c71998f9a650ed0630092c4cc6f7a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderDegradedRestoreWarning: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/MigrationSafetyRenderTests.swift"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7d8d188ad6958388e0c2638cb3e91d352d0eb8bedc7ae84cad5caf07053c2c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSmallFileCopyBenchmark: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/TreeCopySessionTests.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4766ea7f8d41f7ad1df04490cdaec515c01bd9a0fe5837a5afc3fc27fa7fb71"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAmbiguousWrapperIsNotSelectedByDirectoryOrder: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed01fe9f174545327b5f20ee5555ac476e54e2ca46b5c59654ba649274e1a53"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBrokenWrappedBundleDoesNotFallBackToAnotherChild: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76ebd7d1823851a6743d0aa3da97b712f193d7354d3d84d13cc13a1324469f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBrokenAppCandidateMakesWrapperAmbiguous: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e530b980faeccb30269c3895b1043ae52917614662fd7d81f939a43b628c3695"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnavailableStubNeverUsesLauncherIdentifier: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95c089f4ae00f75d29fe044d3ec331ac02335d7d2e3ebf9912158b9641c46bf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPortalCycleReturnsFailure: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfc511d994ab47907b91cd3080759e91cf1c61b9a285f9240c0a105bd8af5f2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWrapperSelfLinkAndAncestorCycleReturnFailure: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b364545bb7c88d56c0c6aa9cd4615234a8a87a8b747ae8241734ab0438a5426"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWrapperTwoLinkCycleReturnsFailure: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9d4a086b071310aed9e4c7454cb9b1fb231fabbf7d9d80fa3601ef7dfd4b80"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWrapperCannotEscapeIntoSiblingWithSamePathPrefix: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"80031c90dbdff7e3a8a2e6f54fecb83276752049111bdc1daba4b193472b46b2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWrapperDirectoryLinkCannotEscape: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e92338d796c62222e3a6bb3aed6b6b90adcb2e21e31a727e58b1115b5f31a0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMalformedHigherPriorityPlistDoesNotChooseLowerIdentity: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"13131c196c023e2646f98d990ba07deef7434a61c4a8ecb68ac91ee39bb2a557"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInvalidIdentifiersAreNotUsedForMatching: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"411f859c1af841faec27a734d2f8a4b5a010cebd1a9f5a606d0f7a40bdb8d132"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMissingIdentifierIsDifferentFromMissingPlist: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d183801c597ce8952d502dca3390da0e5e613d098c2c7356ff2f2364456a8f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnreadablePlistDoesNotLookLikeMissingIdentity: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"140d5dc795e0d75782ab5b9b92f19462e482628f949d690a063dce597b96bf28"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDanglingInfoPlistDoesNotFallBackToRootPlist: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fd5b28647b5eef42709f92a9e6e4feb0d8341a38026064d81fe7f05256bea0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWrappedMetadataLinksCannotReadExternalIdentity: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c855b6d7956d9b922b386e25db673b1f6994ee0b05f5353f0afd609d578a1e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDotDotAfterSymlinkCannotSelectWrongLocalIdentity: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppIdentityResolverTests.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee886500d19bb16ee22388b69bbe477a322abb4580eea7c33a168767fb583f9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRefreshFolderMirrorIgnoresLegacySymlinkFolder: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppMigrationServiceTests.swift"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffc8fab6450529ef5d0257aa56b19b1dc227bb1c0e2a18d0bd25c2ee474222e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNormalQuitCancelsARealDataCopyAndRepliesOnlyAfterItsRecoveryRecordIsSaved: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppOperationStateTests.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"411097c75768ed2aae504d6c88c55b4e6b050a927a43f55f23b78f2f9aca2d4a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTerminationDismissesSwiftUIOwnedUpdateSheet: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/AppUpdateTests.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd70498d22eebb4c48cf17a3702faf0f6496f1b7b4f5507c3ffb277c33ccdfce"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCustomDirectoryTypeSurvivesDisconnectAndRelink: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataDirMoverTests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ab1bd42a0d0ff1dc4a0ceac850258498f70447600d17ecd189d618c796ee5a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIssue49KnownToolDirectoryStateMatrix: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataDirScannerTests.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9133233ad81f31975d211a1efb73c55d1800e14b38291cdf53557a4d3a001eb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPausedGuardAndAncestorSizesRemainIncompleteWithoutPermissionGuidance: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataDirScannerTests.swift"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b614791a0c66f1b2096c116d88b2c38b7bdfb33f0487f90b1eca51bfd646535"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReadablePausedGuardAndAncestorSizesRemainIncompleteWithoutPermissionGuidance: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataDirScannerTests.swift"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"873673b35536f990b67894c042b9a67cbe8260bbb793ef3d648442b2888ece26"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReadableOfflineGuardWithoutManualPauseKeepsSizesIncomplete: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataDirScannerTests.swift"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b9a3343ece43e707cfa99be8eaa4ad502798bfb32c9338ae91462ef0029175"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testReadablePendingGuardWithoutManualPauseKeepsSizesIncomplete: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataDirScannerTests.swift"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bc5b805549103cdf793c7503d521780ba18e7211aee4d29c8001cc76109788"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: inspectionBudget: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataOperationSafetyTests.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bc462ae2ea06dc3ce4ddd279f73169b7d8a5434465747cb71ebfeba4e2a412"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: siblingAndStructuralChild: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataOperationSafetyTests.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1c1515ded4fadd37ddc51da6be5d22874feb2de1b2e0cddd3c726139d3d1a4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: partialCopyHasExit: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/DataPreparationRecoveryTests.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"287f71dcc7cc4c9933df4b27c8beb262c366bad365a5db7282d8cd63e4eae9ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnchangedStoreDoesNotWriteOrNotifyAgain: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPortsTests/PartialWeChatMigrationPolicyTests.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae11070790158aafd3f5d1c129a029d75a065cce4f95f3b621ef835f688e6b63"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-arm64: \u0060@img/sharp-libvips-darwin-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb9cac83efbb8fb5b1b1714cd7ce06ef46586b0cb953bfde13d5cef10838aa9"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-x64: \u0060@img/sharp-libvips-darwin-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de28cedeef63f197969d04616e27ba4aeb27e4375cfebf400bfd8540537a9c"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm: \u0060@img/sharp-libvips-linux-arm\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed930a6d1b3ac4b890509506dec0a58727b515b0b43327cc1a4b4298e79514d8"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm64: \u0060@img/sharp-libvips-linux-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b9a31ae3b29118432d1284fc0c855fbfbf2bc26303258aa349bed6999fa27"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-ppc64: \u0060@img/sharp-libvips-linux-ppc64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20c11a65955bafb54a0fe488a53c597a9857c6aea42950b92968a57c6553f1"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-riscv64: \u0060@img/sharp-libvips-linux-riscv64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fa7dd2c5433945143e886736f323d34568a1815de5755ea55f247d83db2255"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-s390x: \u0060@img/sharp-libvips-linux-s390x\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d0fc4342775e0cda07639d86e20b7ecd506920fa0b1a66c6f1ebfb1f8c2ab"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-x64: \u0060@img/sharp-libvips-linux-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740d28a1384feb307d2f24d03cf2e2e13a5d6eda920a4040480f40df2e9d50b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-arm64: \u0060@img/sharp-libvips-linuxmusl-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ce0111811bc0c564efe3bc5758a9fe2ff77adefe8940d96c0e94f001dc6bb6"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-x64: \u0060@img/sharp-libvips-linuxmusl-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91fe0a042e1c39cd9d87efaed4be891aa907345e587e25c7d6b01efdaaffd89"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-wasm32: \u0060@img/sharp-wasm32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later AND MIT\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1135ffbb448d71e8cb7f5d4d9fb10acf52d978f9eb537a0cd1f2166ada470428"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-arm64: \u0060@img/sharp-win32-arm64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7501b1efe547a916924b31662388631addbf15548a0d166cc082f57b0eb7a93d"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-ia32: \u0060@img/sharp-win32-ia32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e073ff938556e3b1cdba3c54fe725620ac7ffe9e735802eeadb3dcc853d57"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-x64: \u0060@img/sharp-win32-x64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/package-lock.json"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"376605ff2c96456f54476e6225693261afc28ecb15a09757b469cf8cfd84bf3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/ContainerMountStore.swift: AppPorts/Services/ContainerMountStore.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 172 in ContainerMountStore.validate at line 1256. 9 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/ContainerMountStore.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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d920526fbd179bcf88b6cf8973afc6b7e8d7b861e6ea6443087af6eb92ae100"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/ContentView.swift: AppPorts/ContentView.swift changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in ContentView.body at line 190. 21 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/ContentView.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":"AppPorts/ContentView.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b719bf9922102525013d39f71d4561936e27e1ac9de141a119c970bf8c38b966"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/ContainerVolumeMigrator.swift: AppPorts/Utils/ContainerVolumeMigrator.swift changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in ContainerVolumeMigrator.performRetainedTransferCleanup at line 2294. 15 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/ContainerVolumeMigrator.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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":2294}}}],"partialFingerprints":{"codehealthFindingId/v1":"10591face661349559fb89cda847c8fb743a370886e69bc687880295d467dfd9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Views/DataDirsView.swift: AppPorts/Views/DataDirsView.swift changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in DataDirsView.body at line 181. 19 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/DataDirsView.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":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4635b74fb21e057fe1c5dd6f05228cf117ae2d9d0b557cd1fad4747afd833c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/DataDirMover.swift: AppPorts/Utils/DataDirMover.swift changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in DataDirMover.verifiedSwitchState at line 970. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/DataDirMover.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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cd4ab2b338523c49244e912b9f231d3be73b70bf142876927b77b5c9bd7892"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/AppMigrationService.swift: AppPorts/Services/AppMigrationService.swift changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in AppMigrationService.excludeFromSearch at line 215. 13 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/AppMigrationService.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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"523cb7c6ef41b27ec37c00361fd93eaa3d0847282a3c18cf79c62bad4e160c95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/DataDirScanner.swift: AppPorts/Utils/DataDirScanner.swift changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in DataDirScanner.mergeRecoveryRecords at line 892. 11 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/DataDirScanner.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":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"b392e2c647575c977c93c03068525f68dce4ffe8ed81c876b47e2678090894fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Views/Components/DataDirRowView.swift: AppPorts/Views/Components/DataDirRowView.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in DataDirOperationButtons.body at line 189. 4 of those changes were fix/bug commits, and the other 9 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/Components/DataDirRowView.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":"AppPorts/Views/Components/DataDirRowView.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b182d0f44727f746c07897c86ee6b75f075a1222b17b651bcff3a90a60bc59ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/TreeCopySession.swift: AppPorts/Utils/TreeCopySession.swift changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in TreeCopySession.compareEntry at line 1540. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/TreeCopySession.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":"AppPorts/Utils/TreeCopySession.swift"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"d010a2e4c5e11e8c711c375ddf7a34fc1b540306bdb532b2840e14d8b3c18715"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/AppTransferTransaction.swift: AppPorts/Services/AppTransferTransaction.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in AppTransferTransaction.start at line 91. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/AppTransferTransaction.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":"AppPorts/Services/AppTransferTransaction.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f691942d70b448dad633ca89d805f0d710a01b4db931214bcf6087778b2610f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/DiskUtility.swift: AppPorts/Utils/DiskUtility.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ProcessCommandRunner.execute at line 87. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/DiskUtility.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":"AppPorts/Utils/DiskUtility.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b925f61c71341baf756305967bc617a1ebd855944e0cc56dea5024d2acbf8f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/CodeSigner.swift: AppPorts/Services/CodeSigner.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in CodeSigner.finishBackupCleanup at line 1320. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/CodeSigner.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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49e0d3f3e70b8db2e872cee3069dc6f7baae1d883ccf5834c558cf95a218c78"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift: AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in ContainerVolumeMigrator.cleanupPreservedRestoreMaterials at line 895. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5b7145d91835d42a6d28d2306a49bc794b3e506698d0add7263a9724a53351"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Views/CustomDirsView.swift: AppPorts/Views/CustomDirsView.swift changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CustomDirsView.refresh 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/CustomDirsView.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":"AppPorts/Views/CustomDirsView.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe45a4c312e071d1c76bfdfca3d4e166df595df01cfa58a98c56c0ebcd6c524"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/PortalPresentation.swift: AppPorts/Utils/PortalPresentation.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in PortalPresentation.write at line 17. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/PortalPresentation.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":"AppPorts/Utils/PortalPresentation.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6402343e30440881fbb2fa8389fa7b39ab2170459cc09270ee5962957d4757a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/OperationMaintenance.swift: AppPorts/Services/OperationMaintenance.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in OperationMaintenance.finishScheduledDataOperations at line 85. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/OperationMaintenance.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":"AppPorts/Services/OperationMaintenance.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"70edfa5f6c7a14e6a4ddb444cbd5953b90e2072cf70ee34a60ee85baf52737e4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/AppScanner.swift: AppPorts/Utils/AppScanner.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in AppScanner.scanExternalApps at line 925. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/AppScanner.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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"55467a062797ea84f645483c3ac123f459509aaf406b6e7f5926279ef1be2400"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Views/Components/AppDataDirectoryBrowser.swift: AppPorts/Views/Components/AppDataDirectoryBrowser.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AppDataDirectoryRow.body at line 476. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/Components/AppDataDirectoryBrowser.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":"AppPorts/Views/Components/AppDataDirectoryBrowser.swift"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc28b8875f8d3d1dab2956b430db8e958a69f778192694d5cbb23dd28c50830e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Models/DataTransferRecord.swift: AppPorts/Models/DataTransferRecord.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in DataTransferRecord.isUnstartedSymlinkMigration at line 265. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Models/DataTransferRecord.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":"AppPorts/Models/DataTransferRecord.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2256bfa4e2e8b9d8b270fc5480152d67c30a846655a814a2b6c8fd7655cd32ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Views/Components/AppRowView.swift: AppPorts/Views/Components/AppRowView.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AppRowView.appMenuItems at line 79. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/Components/AppRowView.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":"AppPorts/Views/Components/AppRowView.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0ebd64e93e4a34307ba70841fa5d05ac05e31452c2dce90af6e23786e3f29b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Views/SignatureRepairSheet.swift: AppPorts/Views/SignatureRepairSheet.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in SignatureRepairSheet.body at line 44. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/SignatureRepairSheet.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":"AppPorts/Views/SignatureRepairSheet.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bbea82a68cd8d3ca5998d805f4bd3b84445b657f6d5627445e91fe22ed3496"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/AppLibraryImageService.swift: AppPorts/Services/AppLibraryImageService.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AppLibraryImageService.mount at line 74. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/AppLibraryImageService.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":"AppPorts/Services/AppLibraryImageService.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ac7d46f3cb301ad9def88245fd5573be24b2fd49fde20cea0c880a15b3dcc9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/SignatureHistoryStore.swift: AppPorts/Services/SignatureHistoryStore.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in SignatureHistoryStore.materials at line 266. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/SignatureHistoryStore.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":"AppPorts/Services/SignatureHistoryStore.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0bd30bd2aca92ccee74697a546f8500e8c408edd5d1d149656e37ed38ca8ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/FileCopier.swift: AppPorts/Utils/FileCopier.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in FileCopier.copyContents at line 276. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/FileCopier.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":"AppPorts/Utils/FileCopier.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ecac359284fd1529cd8f1d8d8af66c39f81693f061875f74f03fbf24cbc8da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/SignatureSnapshot.swift: AppPorts/Services/SignatureSnapshot.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in SignatureSnapshot.fingerprint 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/SignatureSnapshot.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":"AppPorts/Services/SignatureSnapshot.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"05246c8b89403b907fb591ed59937a8397c5dba40d50c22b095f193cb0299e00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Views/DataCleanupResolutionSheet.swift: AppPorts/Views/DataCleanupResolutionSheet.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DataCleanupResolutionSheet.transferRow at line 111. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/DataCleanupResolutionSheet.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":"AppPorts/Views/DataCleanupResolutionSheet.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8f49169c796ce9b75f58812c52c23d8be775ef7e55de78bd1ef1ad325a7626"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Views/Components/StatusBadge.swift: AppPorts/Views/Components/StatusBadge.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in StatusBadge.badges 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/Components/StatusBadge.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":"AppPorts/Views/Components/StatusBadge.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0698a42551595260ef0060f68c8fd24328ac53d46733641e690f2678fc719c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/WeChatAccountMigrationService.swift: AppPorts/Services/WeChatAccountMigrationService.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in WeChatAccountMigrationService.groupedItems at line 198. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/WeChatAccountMigrationService.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":"AppPorts/Services/WeChatAccountMigrationService.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b9e8cd642cdeb2cac1208bb5469caa6f8eb8e1a90dee4e7e56131c8c49d922"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Models/DataTransferProgress.swift: AppPorts/Models/DataTransferProgress.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in DataTransferProgress.transition at line 315. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Models/DataTransferProgress.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":"AppPorts/Models/DataTransferProgress.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e966e83af46aea088e505ca390c85870768d998a485770115ecfd73a642867d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/SignatureFactStore.swift: AppPorts/Services/SignatureFactStore.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SignatureFactStore.reconcileCommittedMetadata at line 342. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/SignatureFactStore.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":"AppPorts/Services/SignatureFactStore.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f11893e004d32b2b4bbc1d224a606292ef0b6055cd62f3af807d687713c81dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Utils/DurableFileIO.swift: AppPorts/Utils/DurableFileIO.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DurableFileIO.syncNode at line 92. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/DurableFileIO.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":"AppPorts/Utils/DurableFileIO.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d7858e1502881525659961c909188c0befdfd6715c4cc4c803c9637ca4466e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/AppLibraryImageRecovery.swift: AppPorts/Services/AppLibraryImageRecovery.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AppLibraryImageRecovery.restoreForLaunch at line 177. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/AppLibraryImageRecovery.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":"AppPorts/Services/AppLibraryImageRecovery.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f0b798ad072786dfd5c473363362d457a5ee908da1793a91cd9ebf84403118"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Models/DataPathPolicy.swift: AppPorts/Models/DataPathPolicy.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DataPathPolicy.classify 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Models/DataPathPolicy.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":"AppPorts/Models/DataPathPolicy.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7107db261ab34e0c8237f64c479c2b5c57e6e3e596809bb31c7fb7fa48e700"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Views/Components/DiskEjectionControls.swift: AppPorts/Views/Components/DiskEjectionControls.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in DiskEjectionControls.body at line 31. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/Components/DiskEjectionControls.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":"AppPorts/Views/Components/DiskEjectionControls.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ebef2e7b0112805f15a2371a4b96eaa46a375dbfc0acbc917657146176e4ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: AppPorts/Services/SignatureOperationRecord.swift: AppPorts/Services/SignatureOperationRecord.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SignatureOperationStore.decode at line 233. 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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/SignatureOperationRecord.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":"AppPorts/Services/SignatureOperationRecord.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4560b210a849420d5034735f346412cf33ad21850ac64568c4fb03f43517b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: AppPorts/Views/Components/MigrationTaskViews.swift: AppPorts/Views/Components/MigrationTaskViews.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is MigrationTaskRow.body at line 214), 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: \u4F18\u5316\u8BBE\u7F6E\u4E0E\u66F4\u65B0\u754C\u9762\u5E76\u4FEE\u590D\u5B89\u88C5\u9000\u51FA\u6D41\u7A0B\u201D; \u201Cfix(migration): \u4FEE\u6B63\u8FDB\u5EA6\u9636\u6BB5\u4E0E\u91CD\u8BD5\u8303\u56F4\u5E76\u4F18\u5316\u5FAE\u5C0F\u6587\u4EF6\u590D\u5236\u201D; \u201Cfix(localization): complete 22-language coverage and sheet layouts\u201D; \u201Cfix(\u6570\u636E\u8FC1\u79FB): \u8865\u9F50\u5931\u8D25\u5377\u81EA\u52A8\u6536\u5C3E\u3001\u65E7\u8BB0\u5F55\u517C\u5BB9\u4E0E\u4EFB\u52A1\u91CD\u8BD5\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/Components/MigrationTaskViews.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":"AppPorts/Views/Components/MigrationTaskViews.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1039e1bf18198c2fea6929e9183154874f23bd4aa3206d7510ea6134f042a166"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: AppPorts/Utils/TreeCopySnapshot.swift: AppPorts/Utils/TreeCopySnapshot.swift changed 4 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 7 (its worst body is Entry.init at line 93), 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(copy): verify the destination once and preserve system-managed metadata\u201D; \u201Cfix: complete verified migration and signature repair workflows\u201D; \u201Cfix: support data migration on ownership-ignoring volumes\u201D; \u201Cfix(data): restore legacy APFS volumes with verified ownership\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Utils/TreeCopySnapshot.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":"AppPorts/Utils/TreeCopySnapshot.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb529973135c3ce35ff3e53232ce42cf65c2ee0680f5b2f4dc33040f21832206"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: AppPorts/Models/ContainerMountModels.swift: AppPorts/Models/ContainerMountModels.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 1 (its worst body is ContainerMountRecord.id at line 26), 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(\u6570\u636E\u8FC1\u79FB): \u8865\u9F50\u5931\u8D25\u5377\u81EA\u52A8\u6536\u5C3E\u3001\u65E7\u8BB0\u5F55\u517C\u5BB9\u4E0E\u4EFB\u52A1\u91CD\u8BD5\u201D; \u201Cfix(search): prevent duplicate external app indexing and restore board status (#68)\u201D; \u201Cfix(migration): preserve ownership compatibility across upgrades\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Models/ContainerMountModels.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":"AppPorts/Models/ContainerMountModels.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0b0affbbeeed36f9a900bb281a32610edc8486de33635c3cd952c4f8cb6c83"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: AppPorts/Views/Components/AppLibraryImageControls.swift: AppPorts/Views/Components/AppLibraryImageControls.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is AppLibraryImageControls.body 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: \u652F\u6301\u5E94\u7528\u5E93\u6620\u50CF\u5378\u8F7D\u5E76\u6682\u505C\u81EA\u52A8\u6302\u8F7D\u201D; \u201Cfix: \u6309\u64CD\u4F5C\u68C0\u67E5\u5B89\u88C5\u4F4D\u7F6E\u5E76\u4FDD\u6301\u666E\u901A\u5916\u76D8\u5165\u53E3\u72EC\u7ACB\u542F\u52A8\u201D; \u201Cfix: \u652F\u6301\u5916\u90E8\u5E94\u7528\u5E93\u6620\u50CF\u540E\u53F0\u81EA\u52A8\u6302\u8F7D\u4E0E\u65AD\u7EBF\u6062\u590D\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/Components/AppLibraryImageControls.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":"AppPorts/Views/Components/AppLibraryImageControls.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee0ab5f3a030be0310a5c09e6f84e7e0a4e169dbe02292915434b77319a1ddd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: AppPorts/Services/ContainerMountAgentInstaller.swift: AppPorts/Services/ContainerMountAgentInstaller.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is ContainerMountAgentInstaller.isTemporaryLocation at line 170), 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: \u540E\u53F0\u4EE3\u7406\u5148\u63A5\u56DE\u6620\u50CF\u518D\u6302\u8F7D\u5176\u4E2D\u7684\u6570\u636E\u5377\u201D; \u201Cfix: \u652F\u6301\u5916\u90E8\u5E94\u7528\u5E93\u6620\u50CF\u540E\u53F0\u81EA\u52A8\u6302\u8F7D\u4E0E\u65AD\u7EBF\u6062\u590D\u201D; \u201Cfix: \u4FEE\u590D\u540E\u53F0\u6302\u8F7D\u4EE3\u7406\u542F\u7528\u4E0E\u5E94\u7528\u5F52\u5C5E\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Services/ContainerMountAgentInstaller.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":"AppPorts/Services/ContainerMountAgentInstaller.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd703b1de3edfc494dc0e7c0ad3e692462f534de1109eee4cd357fedaec6a3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: AppPorts/Views/UpdateSettingsSection.swift: AppPorts/Views/UpdateSettingsSection.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is UpdateSettingsSection.body at line 18), 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: \u6536\u7D27\u5173\u4E8E\u4E0E\u66F4\u65B0\u8BBE\u7F6E\u9875\u5934\u90E8\u5E03\u5C40\u201D; \u201Cfix: \u6539\u5584\u66F4\u65B0\u5E03\u5C40\u4E0E\u91CD\u542F\u54CD\u5E94\u5E76\u4FEE\u590D Markdown \u6E32\u67D3\u201D; \u201Cfix: \u4F18\u5316\u8BBE\u7F6E\u4E0E\u66F4\u65B0\u754C\u9762\u5E76\u4FEE\u590D\u5B89\u88C5\u9000\u51FA\u6D41\u7A0B\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Views/UpdateSettingsSection.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":"AppPorts/Views/UpdateSettingsSection.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf6382b55aa16dc1f1f862146788c29e448302884540cfb9ec13d6b4915b44b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: AppPorts/Models/DataTransferGroup.swift: AppPorts/Models/DataTransferGroup.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is DataTransferGroup.resumeTransfer at line 86), 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(transfer): retry cleanup only against the verified baseline\u201D; \u201Cfix: complete verified migration and signature repair workflows\u201D; \u201CFix data transfer completion and resumable recovery\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Models/DataTransferGroup.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":"AppPorts/Models/DataTransferGroup.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7090b16ea8f985c1980b0cc13d10ea4fd82a56b58efe8017b9912bba80917c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: AppPorts/Models/AppTransferRecord.swift: AppPorts/Models/AppTransferRecord.swift changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is AppTransferRecord.pendingTasks at line 70), 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: automatically archive unrecoverable application transfers\u201D; \u201Cfix: clear update protection locks on any app location change\u201D; \u201Cfix(transfer): retry cleanup only against the verified baseline\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-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 08:45:48 \u002B08:00\u0027 --until=\u00272026-11-11 08:45:48 \u002B08:00\u0027 --full-history --no-merges -- AppPorts/Models/AppTransferRecord.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":"AppPorts/Models/AppTransferRecord.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"25045886e426d0525ab43b312cc4c7987b42d2350c9af07290b0477a8234102b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 24 significant file(s) lose their only recent owner: AppPorts/Services/CodeSigner.swift, AppPorts/Services/SignatureHistoryStore.swift, AppPorts/Services/SignatureFactStore.swift, AppPorts/Services/SignatureOperationRecord.swift, AppPorts/Services/SignatureSnapshot.swift, AppPorts/AboutView.swift, script/validate_private_apfs.py, AppPorts/Services/SignatureBackupLocation.swift (\u002B16 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"756bb8c2d0341ea1b89de17901225828fe01638b625abc69694a1b58f4b2c182"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060AppPorts.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4568071f72f51fdf88c1f7917ee3c776ba4cd347950d6ca352134a186be707"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060htmlUrl\u0060 spells \u0060Url\u0060 where 238 names in the project spell it \u0060URL\u0060: 238 of 239 names in project repository spell the token \u0060URL\u0060 (238 of 239; unit: names in project repository containing \u0060URL\u0060). Peers: Contributor.avatarURL (AppPorts/AboutView.swift:18); Contributor.profileURL (AppPorts/AboutView.swift:21); Contributor.init(avatarURL) (AppPorts/AboutView.swift:23); GitHubContributorResponse.htmlURL (AppPorts/AboutView.swift:39); GitHubContributorResponse.avatarURL (AppPorts/AboutView.swift:40). Rename to \u0060htmlURL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/UpdateChecker.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e77f197766fe2710e143b854083ae695edd55d7dc1105bbdea8ecace2a6e1b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (52186 LoC, 541 module-visible types across 9 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"1a4cba461b2514b3e62ec5de57bb69080886fd613c18d48f725946482ed72dbb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e10dd1c37af22b497f72f89b2c46e91ef5c8fc9d8d3b51a11f187eb59b3d5d0b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63971014418d75eef7a8e55f7f272933c4622a893210d5a7fcc7a42b6eb9ba96"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15ad88b38fff2e6e26a2e5c51db46b5d95f5a0ab9ae8764a426454804472d49b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c921a1d8081313763b29bb64ccae98d495e916fa0eb3e0ae92c6314df684ad1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dea91c3440652f360dc7ef27523cdc2b4548555a734d523272721d9a86618b5e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c34f02cf812f89d2716357ffacdfa7fa2ae092054a3013774a7745ddecdb8934"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93b4b81087e4448453b4c0e5e2ac5fea80d963fe1ca771673d9bb29ca1c091d2"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"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":"cee9c3e106ce62f3268537cb7ba52e4755df63c94108e5e2c0f20dbf38bde5e0"},"properties":{"dependency":{"package":"compression","version":"1.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3a424c85644899f2f54f74532fd163eab8c580633abc81d1f56a789f9301b06"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d55bdf8a4b13faf9efce9077b23712295e7e4efd81bb8bbc331d522b93561475"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: DataDirsView.swift \u2192 AppScanner.swift, AppRowView.swift, CustomDirsView.swift: \u0060AppPorts/Views/DataDirsView.swift\u0060 changes together with 3 other files \u2014 \u0060AppPorts/Utils/AppScanner.swift\u0060, \u0060AppPorts/Views/Components/AppRowView.swift\u0060, \u0060AppPorts/Views/CustomDirsView.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Views/DataDirsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"656c9f1e0a960e2776637c89a157faaa446a3746359300bdb304ebc4e1263ec5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DataDirScanner.swift \u2194 DataDirRowView.swift: \u0060AppPorts/Utils/DataDirScanner.swift\u0060 and \u0060AppPorts/Views/Components/DataDirRowView.swift\u0060 change together 69% of the time (9 of the 13 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 9 shared commits counted here, the most recent 3 are \u0060ee6cb9ae\u0060 feat: add grouped WeChat media migration and stabilize data scanning; \u0060bbf02e6a\u0060 refactor(data): drop the copy-management page and its source audits; \u006083b55aad\u0060 fix: finish verified data moves and group retained copies \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/DataDirScanner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85384008ff88b4c6c26ee8129e571b2e6f6ee6087bea2ab16a9804bc8f09ba0c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContentView.swift \u2194 DataDirRowView.swift: \u0060AppPorts/ContentView.swift\u0060 and \u0060AppPorts/Views/Components/DataDirRowView.swift\u0060 change together 62% of the time (8 of the 13 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 8 shared commits counted here, the most recent 3 are \u0060b7163574\u0060 feat: \u4F18\u5316\u5E94\u7528\u6570\u636E\u7F13\u5B58\u6743\u9650\u68C0\u67E5\u5E76\u7EDF\u4E00\u754C\u9762\u4EA4\u4E92\u52A8\u753B; \u0060a4dadd1d\u0060 \u5B8C\u5584\u8FC1\u79FB\u5F02\u5E38\u5904\u7406\u4E0E\u8FDB\u5EA6\u63D0\u793A\uFF0C\u4F18\u5316\u76EE\u5F55\u7F13\u5B58\u548C\u8BCA\u65AD\u5BFC\u51FA; \u0060aa8602e2\u0060 feat: improve migration UI and macOS 27 compatibility \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d4ef08a2ebf8f7ffedf88a105dd45ea578d2ecd17bbdbecfdcb26f4b442655"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Appports.swift \u2194 AppStoreSettingsView.swift: \u0060AppPorts/Appports.swift\u0060 and \u0060AppPorts/Views/AppStoreSettingsView.swift\u0060 change together 55% of the time (6 of the 11 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 \u0060aeb6334d\u0060 fix: \u4F18\u5316\u8BBE\u7F6E\u4E0E\u66F4\u65B0\u754C\u9762\u5E76\u4FEE\u590D\u5B89\u88C5\u9000\u51FA\u6D41\u7A0B; \u0060f46d05af\u0060 feat: \u5C06\u5173\u4E8E\u548C\u66F4\u65B0\u79FB\u81F3\u8BBE\u7F6E\u5E76\u652F\u6301 GitHub \u5E94\u7528\u5185\u66F4\u65B0; \u006089328dcf\u0060 \u65B0\u589E\u540E\u53F0\u8FC1\u79FB\u4EFB\u52A1\u4E2D\u5FC3\u3001\u4EFB\u52A1\u8BB0\u5F55\u4FDD\u7559\u53CA\u5F02\u5E38\u5F3A\u5236\u5904\u7406 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Appports.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef198aee34d634e30596cf7031feaa04aab0c08b1829e1e0f6de032a82bab36"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContentView.swift \u2194 AppTransferTransaction.swift: \u0060AppPorts/ContentView.swift\u0060 and \u0060AppPorts/Services/AppTransferTransaction.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 \u006089328dcf\u0060 \u65B0\u589E\u540E\u53F0\u8FC1\u79FB\u4EFB\u52A1\u4E2D\u5FC3\u3001\u4EFB\u52A1\u8BB0\u5F55\u4FDD\u7559\u53CA\u5F02\u5E38\u5F3A\u5236\u5904\u7406; \u0060a4dadd1d\u0060 \u5B8C\u5584\u8FC1\u79FB\u5F02\u5E38\u5904\u7406\u4E0E\u8FDB\u5EA6\u63D0\u793A\uFF0C\u4F18\u5316\u76EE\u5F55\u7F13\u5B58\u548C\u8BCA\u65AD\u5BFC\u51FA; \u00603e80c70d\u0060 fix: show app transfer stages for restores and stop the overlay flash \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7d2b329dead2daf4408bd850e29c925a16b29de16eb43834968f06342f30d5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AppScanner.swift \u2194 DataDirScanner.swift: \u0060AppPorts/Utils/AppScanner.swift\u0060 and \u0060AppPorts/Utils/DataDirScanner.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 \u0060aa8602e2\u0060 feat: improve migration UI and macOS 27 compatibility; \u0060212f5ed3\u0060 feat(scanning): detect mounted containers and replaced signatures; \u0060683aa40e\u0060 feat: Add custom local scan directories and Stub Portal version sync \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed7cc337d78f64ba71e49d68819d0b880d29faa0a6e8e3a36b58cf3d1c5612e"}},{"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":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c9c9cac1621f5f649a2c54506b4222dba1f920bb76969e019929a94b9c2766"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d505a70cfbabba27b609ff4f985edd46168f1510d754c09679633441854b5e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee7992e32785ea12f60bf0409a4e0affc423e8e825fb35302c8dade5c2116a2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8804636bc29fecc4afaa656cad59d732ff704e4094f99d86af6d765732ca4e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a1f2c8cdf00d5336eaec3cb6d2217041faf166bc81964130ba410208f67098"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSearchDialogInput\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/search.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b9641d532a36c03afb72b68585fef8e2f2d885c1daa44a7810fa77e2b22aa0"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Declare it the way this router does \u2014 Next App Router \u0060export const metadata = { title }\u0060, React Router/Remix \u0060export function meta\u0060, TanStack Start \u0060head\u0060, or a Helmet/Head component."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/site-document.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"688a8cfa69288f37ee0ac9ce4a3544c0d6785a7e2f33367f5430fbbed13182b9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/site-document.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f549a146711a8b74b700e6f370767e151f021048177b95242f354c695cdd1ed9"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A script attaches a click listener to this \u003Cdiv\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"af202f9e15f4d8bfbce02181816adc695adddf53378b29102584bdc2f8cff863"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A script attaches a click listener to this \u003Cdiv\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"188df06ce271cb3670c5eebb26619b2421da6b24b83a966f2d5d22436c183aac"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.search-popover.open\u0060 moves (\u0060animation: viewIn .15s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff9191b35ea23271fd859046352c200bad408b822d9701050a97ebddf8eed65"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.radar-dot.active::after\u0060 moves (\u0060animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"790a59be455b6591fd7c4cc79b41502831d8b4ec212d0f247e505a1a6142ef08"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.canvas-view.active\u0060 moves (\u0060animation: viewIn .25s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a3504b1826e6fe96e9ede5366411669088f421684222cc3a90d066a8219581"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#drawer-console\u0060 moves (\u0060transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b380f6a08c2327d88cab07a632aef22a0c1c7c426a0123a8081d076faa0537f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.matrix-toolbar select\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f411c04833c197afb09e5f3bda733a9caae4258633b52b0845bee17aa2bcde5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.3:1): \u0060.hud-search .shortcut-key\u0060 sets color: #94A3B8 on background-color: #F1F5F9 \u2014 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e6243b518f1cf9ab182db6d65000c378b89639d079934e67e8a2f96f3ad413"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.popover-footer\u0060 sets color: #94A3B8 on background-color: #F8FAFC \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/assets/agent-notes-board.html"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7888f30a6dfea911f759c5429cf1f6392e07720ca3bed154777547fc6dc713dc"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 1 application file(s) sit at the repository root beside the build and tooling files (\u0060manage_translations.py\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 185 Python, Swift, JavaScript/TypeScript production file(s) this check read across 3 module(s). Each was searched for its ecosystem\u0027s logging libraries (Python: logging, structlog, loguru; JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger; Swift: os.Logger/os_log/NSLog, swift-log, CocoaLumberjack, SwiftyBeaver, XCGLogger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060User_docs/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":"User_docs/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e87d43ba87631f5db8abb2d58f2b0c05975aa40e0cdddf6ff9ccbf4874a9068"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convert (cyclomatic 15, cognitive 26): convert has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/scripts/prepare-fumadocs.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef1d16fee90649c27b1bd83316bc07185fa3e7ea2d089e498c543799c411bd5"}},{"ruleId":"R6","level":"warning","message":{"text":"No test or lint script: test \u2717 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cc320bfcb25580c14169043586a3ddd9570d8bf0b4c844452a5deb0ff234a119"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (7 application, 2 tooling, 0 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (User_docs/components/docs-layout.tsx, User_docs/components/docs-page.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/lib/navigation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f9e82429fc839d040612234680b60351a3244fa6951f1bee109fa76ad6e4ca"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~24 LoC): no import path from any entry point (7 application, 2 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/docs-page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbe806eead2befa4f0a552cc484a52889ae953ee71a0de7110d1affefbbfa1b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~23 LoC): no import path from any entry point (7 application, 2 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (User_docs/components/mdx.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/mermaid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac59e96d15657de2189c44d94439b77121a794614ab468b7c1f1fee9d3877a34"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (7 application, 2 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (User_docs/components/docs-page.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/page-actions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edc3f2923b90b81cad08bcff67304a844bd89c44f1cea0768a95757235b19f4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~11 LoC): no import path from any entry point (7 application, 2 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (User_docs/components/docs-page.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/mdx.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aa77efdaf7c22195a5296f57916f562e049c32e0065f91a102c1fb0340b95c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (7 application, 2 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (User_docs/components/mdx.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/docs-image.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77a3c586b820910f32a9d02ae2f71af86628287730043668f7e94eaa1f12ef3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~8 LoC): no import path from any entry point (7 application, 2 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (User_docs/components/mdx.tsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/sponsors.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a25dedcf8b1d476d056521def5c008b27a0db0a622cefc4fd12d915bf429653"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~6 LoC): no import path from any entry point (7 application, 2 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/components/docs-layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd5843a7ceef50b018fc5d26198e90fbc39aba63bdab3750b7c6c79c6d5dd8c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027localeFromPath\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"User_docs/lib/i18n.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0517edd5be4b401a4fdc45969e3f3b890c5b88bc0f2f4551b86101680ea7e2ea"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027cn\u0027: Declared in User_docs/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8478a55a0e659e95412a6fec69d17093a9e49b85611a4add649822d893dfda76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() \u0026\u0026 entry.name.endsWith(\u0027.md\u0027)\u0060 appears character-identically in 2 files \u2014 .claude/skills/write-notes-like-deepseek/scripts/agent-note-tree.ts, .claude/skills/write-notes-like-deepseek/scripts/build-board.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".claude/skills/write-notes-like-deepseek/scripts/agent-note-tree.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"900583381f78170236c336c604f60a44e6d610f8a51e3aea43fe3ebe22c960f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!reduceMotion \u0026\u0026 isEnabled \u0026\u0026 configuration.isPressed\u0060 appears character-identically in 2 files \u2014 AppPorts/Views/Components/AppListColumns.swift, AppPorts/Views/Components/AppMotion.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":"AppPorts/Views/Components/AppListColumns.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23a28cb1f5a3b8452ea46bc0f3564d1118872db340a2ed907c1c5d693a2aab3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.lastPathComponent.hasPrefix(\u0022AppIcon\u0022) \u0026\u0026 $0.pathExtension == \u0022png\u0022\u0060 appears character-identically in 2 files \u2014 AppPorts/Services/AppMigrationService.swift, AppPorts/Views/Components/AppIconView.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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ddeef3f1f5bc71c95c89b4eee3fe88fa0fe6637475bf56d2f412346b00dfae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$0.originalPath == local.path \u0026\u0026 $0.rollbackCompletedAt == nil\u0060 appears character-identically in 2 files \u2014 AppPorts/Utils/ContainerVolumeMigrator.swift, AppPorts/Utils/DataDirMover.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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ca118dd2ec96c856c3fea4236dec58d5045b2a5cef2e680e23e4622afe7926"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(name.contains(\u0022update\u0022) || name.contains(\u0022upgrade\u0022)) \u0026\u0026 !name.contains(\u0022electron\u0022)\u0060 appears character-identically in 2 files \u2014 AppPorts/Services/AppMigrationService.swift, AppPorts/Utils/AppScanner.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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a51cd3bd88015958a6f4835290b0e57c5b8cb667641665e907e3d16c01872fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ProcessInfo.processInfo.environment[\u0022XCTestConfigurationFilePath\u0022] != nil || NSClassFromString(\u0022XCTestCase\u0022) != nil || NSClassFromString(\u0022XC\u2026\u0060 appears character-identically in 2 files \u2014 AppPorts/Services/AppSearchRecordStore.swift, AppPorts/Services/ContainerMountStore.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":"AppPorts/Services/AppSearchRecordStore.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1e550fe44ad18f98a946741b509cbdad8523bb8964b804f3232fa3befa9f06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.isAppStoreApp \u0026\u0026 AppMigrationService.isMASExternalInstallSupported\u0060 appears character-identically in 2 files \u2014 AppPorts/ContentView.swift, AppPorts/Services/AppSearchExclusionService.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":"AppPorts/ContentView.swift"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1507c287370accb6c0bc6d0228bd123677fa6592f73f289edaa2a55b6324fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.status == AppStatus.linked || app.status == AppStatus.partialLinked\u0060 appears character-identically in 3 files \u2014 AppPorts/Services/AppMigrationService.swift, AppPorts/Views/Components/AppRowView.swift, AppPorts/Views/SignatureRepairSheet.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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0b005d221f7efcbd0b8ab7bb613a57058e48d5d837ba9003fce9fcca9be726"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060classicDataMigrationEnabled \u0026\u0026 MigrationPreferences.isClassicModeSupported\u0060 appears character-identically in 2 files \u2014 AppPorts/ContentView.swift, AppPorts/Views/AppStoreSettingsView.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":"AppPorts/ContentView.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c9f35c3b0b95aaed6b672ae84e7e1d74f34a941c7124475850696d717672b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.baseline != nil || current.retainedCopyRemovedAt != nil\u0060 appears character-identically in 2 files \u2014 AppPorts/Utils/ContainerVolumeMigrator.swift, AppPorts/Utils/DataDirMover.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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"602e7dd8a3f0da6b7c98cdf88e756773152a64cd821047589426dd5120e1ebd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lhs.path == rhs.path || lhs.path.hasPrefix(rhs.path \u002B \u0022/\u0022) || rhs.path.hasPrefix(lhs.path \u002B \u0022/\u0022)\u0060 appears character-identically in 2 files \u2014 AppPorts/Services/AppSearchExclusionService.swift, AppPorts/Services/AppTransferStore.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":"AppPorts/Services/AppSearchExclusionService.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e9f709ad85c93c4df9033e062a2a2293f9a9c97f50580e8d8b565c4c7cd3bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.ownershipPolicy == .owners || transfer.legacyRootOwnership != nil\u0060 appears character-identically in 2 files \u2014 AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift, AppPorts/Utils/ContainerVolumeMigrator.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":"AppPorts/Utils/ContainerVolumeMigrator\u002BRecovery.swift"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b72878e63a07561046d37ebd45fee6b38c1d06d5ca0424e925070fb98a768ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except\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":"manage_translations.py"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a31a35b5fc7f9862710b10fc736a771464c8be8e87caefe844614745de6c445"}},{"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":"AppPorts/ContentView.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7044f4051a5d7c8dd34fbee02dd2836fadf357e2412de24aa42998337b291a"}},{"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":"AppPorts/Views/Components/SidebarStorageSection.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16c6217560c565ae803302d4ee251c7c4c7a17b40b113af3e650fa112c8d377"}},{"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":"AppPorts/Utils/AppScanner.swift"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"90943d611ce8fcdee5d7f4ba57dfb9e8b866eb82f34b85eaa6f651730ebaa7bc"}},{"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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7e46935e3d36fe02191472eb35895a04749b85b80cf21ac848c2106d12fd71"}},{"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":"AppPorts/Utils/ContainerVolumeMigrator.swift"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d612a5f8b8eb2216d85bbc938018edb0068cd989c45c54cd1ed7489004183d1"}},{"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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"569fde971465f3aae374d7a8e55becc8c2b528c454c24d2ded1987a6c822021c"}},{"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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25ef4e9d0a5a268000bcc7766e77726312902ccce6a9ad900df97432d2f953c"}},{"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":"AppPorts/Utils/DataDirMover.swift"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ab7ff23676c5ef8cb291e592cf69b6ab3ab46d64acb50adaff37457f94fbe9"}},{"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":"AppPorts/Utils/DiskUtility.swift"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9c11ebe3fc87844a5487e8e5634bdbb9feac506fff2d197e8e9c85a0a263c9"}},{"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":"AppPorts/Utils/LaunchReadinessChecker.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2356fdbb7b1037431294b2e701f9d7afc7be7d677c1ac63cf5b349d4db37a5c"}},{"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":"AppPorts/Utils/WriterAdmission.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eed4cbfc4b8c0173498feda732604a5ba451ff925c5b5ff32396c96cc9b036d"}},{"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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b4cd0444970052a08173c2059582fcbc88b8bf0d2cf3cd332ed4ee887a662c"}},{"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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dc63064306b38ef8e0361b2307edbde738508a2239867570b8aedcec541dcf"}},{"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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20bfd7dda7f07ec25bc0080824701164452c73071d3b73e9fc8ba6a910b20b7"}},{"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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"6855efa81510a6eea541b1709266008ab7588552a91936f0033c82c16edd0b1b"}},{"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":"AppPorts/Services/CodeSigner.swift"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"6468fa8cf657c13bf863556dd1af94629d658151078e41a4d66b5d4dbaa8ca6a"}},{"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":"AppPorts/Services/ContainerMountAgentInstaller.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22bc555de640c5013b23641fe1724600da5b58744a2e18d63611abfc5e4ce48"}},{"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":"AppPorts/Services/ContainerMountAgentInstaller.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"22085e01bcb97355f551d06025c5218aaf3aebace8623871ebaef176984e46cd"}},{"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":"AppPorts/Services/ContainerMountStore.swift"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d9b0c4bd032cfee7a24a586a5242e8b900ca77a236ddc2f803f7dc1112463d"}},{"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":"AppPorts/Services/PortalImageLaunchPreparation.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ebdf977b4513ed5d4df6eb5e72d0fbe4931ffe470157a20267f728f75d09e8"}},{"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":"AppPorts/Services/SignatureHistoryStore.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b21ef82bb8806c68a5fd4ba0e703b91c3cff1e8c1e0fbf704d70d1817decc69"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~4.9 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 2 assertion(s) across the 411 source line(s) of the 27 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: User_docs/lib/docs-structure.ts (1), User_docs/lib/navigation.ts (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060retireUnrecoverableTransfers\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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"06932ffd2581aa560542c69509e1d49f7ddecfeac11eb6f4f6e5b590e4b547d4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060retireUnrecoverableTransfersWhileLocked\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":"AppPorts/Services/AppMigrationService.swift"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87a3dc9b09c5dbd31853f64a4c0267f3eda1cd45974ca4ae74ad006c86f6563"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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":"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"}]}],"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."]}]}