{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"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":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXO1","name":"Runtime API surface","shortDescription":{"text":"Runtime API surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXO1"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"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":"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":"QuotioHostSnapshot.validate (cyclomatic 49): QuotioHostSnapshot.validate has cyclomatic complexity 49 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 9 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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"be093bb7acf501bd11459fb85adc70607755db8de77b7fe813cd71e9bd70a7a2"}},{"ruleId":"D1","level":"warning","message":{"text":"package.macos (cyclomatic 33): package.macos 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":"apps/desktop/scripts/package.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe05e1d4df2e144190c1353d95f5ed613c3225cbcdea7e7649ac86bb48cc7e36"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountsSettingsScreen.body (cyclomatic 31): AccountsSettingsScreen.body has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3861d81ea0c8ee331c9e3e57795c8035ffdf65cbff9ca97a03caf116f820aff8"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLIServerProcess.start (cyclomatic 30): QuotioCLIServerProcess.start 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1817cc80d66ca31fd11eec81b99f9ec4049512703f05eb555f096f4f454ddd"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountRow.body (cyclomatic 29): AccountRow.body 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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"90baea6419928aa61255625db1acc010e9974246a1731e29059e4c186e7277a2"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioHostPresentationMapper.resolvedSnapshot (cyclomatic 26): QuotioHostPresentationMapper.resolvedSnapshot 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1637aedc1b8eaf63fee9775db48e5867d0b8bd072a329eedeb6da2492eea4456"}},{"ruleId":"D1","level":"warning","message":{"text":"quotio_desktop::prefs::swift_preferences (cyclomatic 26): quotio_desktop::prefs::swift_preferences has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/prefs.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d406ea547b636eb54e7e12fd7ad725037cf0628966aaefcb2df154888bd555"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaHistoryScreenModel.reload (cyclomatic 25): QuotaHistoryScreenModel.reload 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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistoryScreenModel.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85ef6b1037894de59e1febe15a7fa10648441f3629d1a3c4e966752b24b389b"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioHostHistoryChart.validate (cyclomatic 25): QuotioHostHistoryChart.validate has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHistory.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f680140fb08039595ce667fdeb78780752538e6e3073d499b3745c507061d27"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaProvider.entry (cyclomatic 25): QuotaProvider.entry 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":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d6bf24abb3159313864df4e15caf3231d71ebc4b5001a9610ce2b67df3482e"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaHistorySheet.timeline (cyclomatic 23): QuotaHistorySheet.timeline 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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d8f11317909892dcf0b697f7f8d7a1e0f407f7ceeddd0e5cc809cfc340bd7c"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLIBackend.historyRequest (cyclomatic 22): QuotioCLIBackend.historyRequest 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b6d68d2e522d657cd58fcc9e55de06fea7a508b1b127e7c1da6c09a3e1bc8b"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLIBackend.performRefresh (cyclomatic 22): QuotioCLIBackend.performRefresh 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"125fcad6aad52d2c9718ff686e02ee44751bb20eb519a16cf56d34823be64cc6"}},{"ruleId":"D1","level":"warning","message":{"text":"quotio_desktop::main (cyclomatic 22): quotio_desktop::main 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":"apps/desktop/src/main.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6e253e5778d987eea5fd757e3283ab40ab4d30f09dddcbb233f832b9a5535a"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioHostHTTPClient.responseData (cyclomatic 21): QuotioHostHTTPClient.responseData 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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21750a8e7f96d49963db67876b307c80007a261151044348ac1b754377634cc"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioHostHistoryObservation.validate (cyclomatic 21): QuotioHostHistoryObservation.validate 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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHistory.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fc529cecb9915c060fd2a621314f55e7ac3ecfb881eb8466b4ff7ed53cfafc"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaWidgetView.body (cyclomatic 21): QuotaWidgetView.body 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":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1811e68149979d7377771a9b6e1f2f6da3fb72d86798c4604f6a221bb1fb8c"}},{"ruleId":"D1","level":"warning","message":{"text":"quotio_desktop::ui::menu::burn_card (cyclomatic 21): quotio_desktop::ui::menu::burn_card 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":"apps/desktop/src/ui/menu.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6ffdd81d1abd8be66f42485bac7b07f549efb1894d162d5bad871bc6270ca7"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomProviderYAMLSerializer.escapedString (cyclomatic 20): CustomProviderYAMLSerializer.escapedString has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/CustomProviders/CustomProviderYAMLSerializer.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af024048d453b11569f01e70316868b0af6b26ada29a587200fbb65788945ce"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLILegacyAccountMigration.migrate (cyclomatic 20): QuotioCLILegacyAccountMigration.migrate 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2bdfba724656f1b322966a075992796864c400385ed8896685e193f733f8a4"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioHostPresentationMapper.metric (cyclomatic 20): QuotioHostPresentationMapper.metric has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84b59a8be8a28fe954d9bfb3b560e5ffd34a0010f2ddcc18f236689e81e27d5"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaHistoryScreenModel.start (cyclomatic 20): QuotaHistoryScreenModel.start 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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistoryScreenModel.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f42401006d717fda2edc70ef614e5bf6de127aae186a3e21c64b8c270052c5"}},{"ruleId":"D1","level":"warning","message":{"text":"package.main (cyclomatic 20): package.main 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":"apps/desktop/scripts/package.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd422818d377499f09bac79cf7628796265b4faff05c5be217f3aba590c5d36"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderSettingsState.init (cyclomatic 19): ProviderSettingsState.init 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":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d7b510195e4684bd355a75d1e7fbe1d9b245deed6a27e8c3c5af6e0b33b328"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLIBackend.loadSnapshot (cyclomatic 18): QuotioCLIBackend.loadSnapshot 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d65beb294364365e64eaaf960e480128acd5374b66b7553f21844e8d78d40"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusBarMenuSnapshotMapper.makeSnapshot (cyclomatic 17): StatusBarMenuSnapshotMapper.makeSnapshot 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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuSnapshot.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20057b9a112ffbeda2ef3412595c5699c9c9bb20dd515715358a352de38e850"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaHistoryScreenModel.loadMoreEvents (cyclomatic 17): QuotaHistoryScreenModel.loadMoreEvents 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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistoryScreenModel.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea045e01e6175d9cd68b639ade39c66d7a9a714a7179902802bdea5ed81438ac"}},{"ruleId":"D1","level":"warning","message":{"text":"HostStore.refresh (cyclomatic 17): HostStore.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":"apps/ios/QuotioIOS/HostStore.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3beb5dbb0a1d3227c2443d9510e66938a07c677bb6b5aba397b2a51722d1e0e6"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyLifecycleController.install (cyclomatic 16): ProxyLifecycleController.install 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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"014810478790162f12e649ad765c7ca94e0ca6b71e93a97d14c5075e1b8d3e8c"}},{"ruleId":"D1","level":"warning","message":{"text":"KeychainCredentialDataStore.readData (cyclomatic 16): KeychainCredentialDataStore.readData 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e995cceb96f158b158f883fbb669bc207d8e03ea93465080819adf6a36ee1fb"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLIBackend.resolvedAccount (cyclomatic 16): QuotioCLIBackend.resolvedAccount has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"b753c251b4b905326b13f397ee41b8d026625f236d3eca2196b5c396e62e09b9"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotioCLIOAuthAuthorizer.begin (cyclomatic 16): QuotioCLIOAuthAuthorizer.begin has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIOAuthAuthorizer.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"176154a9e4e47351feb5de31ff31a3dfec8f4a63da0f94d5bfa7a490bd3a9b8c"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusBarManager.renderStatusBar (cyclomatic 16): StatusBarManager.renderStatusBar 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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e069125d3234420ceed8e6c639bdd47e62f047200ab32768eeea5797f1086b3d"}},{"ruleId":"D1","level":"warning","message":{"text":"AppSettingsPage.body (cyclomatic 16): AppSettingsPage.body 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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef64bd59a56d939fc6012b7a7a79494058e4da33f0f5c1e2f5e9f277783d4a3"}},{"ruleId":"D1","level":"warning","message":{"text":"QuotaHistory::plot (cyclomatic 16): QuotaHistory::plot 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":"apps/desktop/src/ui/settings/history.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b97f61b5ff56cadf75d229b46e19f49ee341f1f1b1f832ecffa2cf817be6b75"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostSnapshot.validate (cognitive 59): QuotioHostSnapshot.validate has cognitive complexity 59 (threshold 15). Drivers by points: boolean chains 34, if/else 10 (20 pts), loops 4 (5 pts) (nesting depth added 11). Of this number, 50 points are the body\u0027s own statements and 9 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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85dadfebd1b24790d4e2e34155ec72483ff9923e7e46c423e0dab3f3a10a15e"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaWidgetView.body (cognitive 57): QuotaWidgetView.body has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 8 (28 pts), if/else 11 (25 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec04e87101ba57420223b9664f11da14f89785f464173498d70f02810c0bec3"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaProvider.entry (cognitive 47): QuotaProvider.entry has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (24 pts), error handling 5 (13 pts), boolean chains 10 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d35d3cad37c8fa8d0bcf23325e2af14b25c008ac5dea45106ae408e4c88e8f7"}},{"ruleId":"D2","level":"warning","message":{"text":"package.macos (cognitive 45): package.macos has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (20 pts), loops 7 (13 pts), boolean chains 9, ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/package.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"db43fc14afc368fbe2ee6d7afa7ee7242ce61d3af5f1347a326cf19ff19fd92b"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLIServerProcess.start (cognitive 43): QuotioCLIServerProcess.start has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 9, loops 2 (3 pts), match/switch 1 (2 pts), 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ef5218636024dd970d5bcc4d1bfe83baf958c33fc8280f258b4e07811a5bde"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostPresentationMapper.resolvedSnapshot (cognitive 41): QuotioHostPresentationMapper.resolvedSnapshot has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 2 (7 pts), loops 4 (5 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2babf6c1779cbeeb814fe035d2ca3276e3e082b19fe0bb63abc954947bfa07e"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaHistoryScreenModel.start (cognitive 38): QuotaHistoryScreenModel.start has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistoryScreenModel.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f78750fe91b39b204185bdf9d560b2fab90a76c7cfa4e3d44830dacb8016fd4"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaHistoryScreenModel.reload (cognitive 37): QuotaHistoryScreenModel.reload has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 8, 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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistoryScreenModel.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f13bf03d9daabc2f70ddc4e7605f77310ed124286d30c4d3b7c6e4146a6fe86"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLIBackend.historyRequest (cognitive 34): QuotioCLIBackend.historyRequest has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 4, match/switch 1 (3 pts), error handling 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a663a3c6e637ad40960a5af164dc683670ffa1ccdfb9a2c478a946fb5b3eaee"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLIBackend.performRefresh (cognitive 34): QuotioCLIBackend.performRefresh has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 6, ternaries 2 (3 pts), loops 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02a9884fe9c861d5fa176e390169675c1e7599039c736a782e1907fd1b4b99a"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountRow.body (cognitive 33): AccountRow.body has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 11, ternaries 2 (4 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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1290da5b93e967f805ec270b8a8e85028ff7b0c7de23b0b906b95897e08029"}},{"ruleId":"D2","level":"warning","message":{"text":"quotio_desktop::prefs::swift_preferences (cognitive 32): quotio_desktop::prefs::swift_preferences has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 9 (14 pts), if/else 8 (12 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/prefs.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8700007a6e586c30c0e48e4347dd168b1f8b2aa8d2ebb2fddf6f1f3bdcdeb7ad"}},{"ruleId":"D2","level":"warning","message":{"text":"quotio_desktop::ui::menu::burn_card (cognitive 32): quotio_desktop::ui::menu::burn_card has cognitive complexity 32 (threshold 15). Drivers by points: if/else 27 (28 pts), boolean chains 3, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/menu.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"84134c36725fb2104da1b557a57a69d28abb50b778c890735802a82ada651549"}},{"ruleId":"D2","level":"warning","message":{"text":"quotio_desktop::tray::icon::gauge (cognitive 31): quotio_desktop::tray::icon::gauge has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 5 (13 pts), boolean chains 1, match/switch 1 (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":"apps/desktop/src/tray/icon.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fa5f3289048aee41a8bbcb9815a8ba14b5038a1776eec26ce94e444a5a3c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLILegacyAccountMigration.migrate (cognitive 30): QuotioCLILegacyAccountMigration.migrate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 6, error handling 4 (6 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7ef5468e17158fe3909904b725abc8cb894d33e6c30e60ee77b1f5d2edb49e"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarMenuRenderer.buildMenu (cognitive 29): StatusBarMenuRenderer.buildMenu has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (7 pts), boolean chains 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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f3c0eac740373f74b013826e81db47f0268d965e61cba6b4286eab8d0418ce"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountsSettingsScreen.body (cognitive 29): AccountsSettingsScreen.body has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 5, error handling 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a5a460ba0f5603802db6e8bd00b7063b275cfb2ec769a8f532c958a527cb10"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLIBackend.loadSnapshot (cognitive 28): QuotioCLIBackend.loadSnapshot has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 6, loops 1 (2 pts), error handling 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"2849b617c7354ab05ba25b75df305bad5541115fec9db342cb1ead6a8652019c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderSettingsState.init (cognitive 27): ProviderSettingsState.init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 8, loops 2 (4 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":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"553d2488da9caa16c1244718134cf0aa7e005d3196145f4b26707e1f603baa07"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalProxyOAuthAuthorizer.runManagementFlow (cognitive 27): LocalProxyOAuthAuthorizer.runManagementFlow has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3 (7 pts), match/switch 1 (4 pts), boolean chains 3, 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa7ae752e0eb0ce16568138d94d2fbbb00039f1e0204922caadbe1d79b65f3b"}},{"ruleId":"D2","level":"warning","message":{"text":"quotio_desktop::notifier::check (cognitive 27): quotio_desktop::notifier::check has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/notifier.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2af6d195d9d648c61e595234abc46140d67cea9ab11f3b115953625f9df326"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostHistoryChart.validate (cognitive 26): QuotioHostHistoryChart.validate has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 20, if/else 3 (5 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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHistory.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e9fe6845b1601dccd394b42bf74af46ed2ba0899d66ef47c22f9f9f4ea64ea"}},{"ruleId":"D2","level":"warning","message":{"text":"package.main (cognitive 26): package.main has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 6, ternaries 3 (6 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/scripts/package.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bce3cebb808411ec9ad3307298e5937f09d1e33836d0b7183f4f857b56bf6a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyLifecycleController.install (cognitive 25): ProxyLifecycleController.install has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ea70a4506ac94805c2f00a070775727edba5c5a68cc69fa9122f4b7efe0872"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthStatusView.body (cognitive 25): OAuthStatusView.body has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (8 pts), boolean chains 3, match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/OAuthSheet.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2960a5da6da2c4c8a4b367d631829bf500a1c619a43059feac97f1ad8d3de9e6"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaHistory::plot (cognitive 24): QuotaHistory::plot has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/history.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc37920e1c87c71dcd8c216da812bd09982afcc471475277fb6b54d49265e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"KeychainCredentialDataStore.readData (cognitive 23): KeychainCredentialDataStore.readData has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (4 pts), match/switch 1 (3 pts), boolean chains 1, 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9e2af401b45c1ab21c677fcfac2173b5810a6e957d445df95a5a3026179053"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaHistorySheet.timeline (cognitive 23): QuotaHistorySheet.timeline has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, ternaries 3 (4 pts), match/switch 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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4bf0ef363b3940413892497d6c44122964f42846f18a431c90f8fa5348d3a7"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostPresentationMapper.metric (cognitive 22): QuotioHostPresentationMapper.metric has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), match/switch 2, ternaries 1 (2 pts) (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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"1099fe74d125291cfa720ddf0647b2079abc3936b0362c51ebc8c8ed3db4a06f"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostHistoryObservation.validate (cognitive 22): QuotioHostHistoryObservation.validate has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 14, if/else 6 (8 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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHistory.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2200d42e80f23a72cdd0745efdc250eae075d13e881db3c25625c30045e97f44"}},{"ruleId":"D2","level":"warning","message":{"text":"quotio_desktop::main (cognitive 22): quotio_desktop::main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, match/switch 3 (4 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/main.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac33cec56010b801f110740498dcdaa95ebb4b5f4d1368aa90a9512dde51257"}},{"ruleId":"D2","level":"warning","message":{"text":"AppSettingsPage.body (cognitive 21): AppSettingsPage.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"411fc034b9feedac9c9d9b5c55f6ba288f1cb95bb71cc3f208b38e30f9db260f"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioHostHTTPClient.responseData (cognitive 20): QuotioHostHTTPClient.responseData has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cfb2e469938d989dfa97a17a4930c140d3db37f92a6b2866af67ff11755ebe"}},{"ruleId":"D2","level":"warning","message":{"text":"HostStore.refresh (cognitive 20): HostStore.refresh has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, 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":"apps/ios/QuotioIOS/HostStore.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"751bb4ae20b206a98eafd72f93ffb75b9b1be61d77fc6a68a83d650e463ce7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"FileProxyConfigurationRepository.ensureAPIKey (cognitive 19): FileProxyConfigurationRepository.ensureAPIKey has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Proxy/FileProxyConfigurationRepository.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aab0efdb65374ff72c9453e4ce2d9cbf8c191c0102ff44eaca4d2d8ff366cff"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaHistoryScreenModel.loadMoreEvents (cognitive 19): QuotaHistoryScreenModel.loadMoreEvents has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (8 pts), error handling 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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistoryScreenModel.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a345638e2ecfe5bc62e9cd4e74418d5ef2784587bc1ec8b5a8735ed5273830fc"}},{"ruleId":"D2","level":"warning","message":{"text":"AntigravityAccountSwitcher.switchAccount (cognitive 18): AntigravityAccountSwitcher.switchAccount has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, error handling 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Antigravity/AntigravityAccountSwitcher.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8f2358b8c6e33e5b87053f446e282b6b18414ef7868c5464f7e0333206a122"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLIOAuthAuthorizer.begin (cognitive 18): QuotioCLIOAuthAuthorizer.begin has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), error handling 2, match/switch 1 (2 pts) (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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIOAuthAuthorizer.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d9cb43b8f2324c86d1cb6b60294b7a8f4fad884b5c0446b9ff3ca453b2243e"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarManager.renderStatusBar (cognitive 18): StatusBarManager.renderStatusBar has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f06a38b2e698dcf9554d952531446c62bb3203aeb4f69ab3c5f421adf68422"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanionConnectionSetupView.body (cognitive 18): CompanionConnectionSetupView.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/CompanionConnectionSetupView.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"043e1dd86006d6f31a4a12ec796902242ef9bd01ddd37674052d3a91e9919d19"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomProviderYAMLSerializer.keyBlock (cognitive 17): CustomProviderYAMLSerializer.keyBlock has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/CustomProviders/CustomProviderYAMLSerializer.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6ead128c57f98a762c88e5453714b9d8cfc7c1c4d00f9f85766f86d3c7a384"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubAtomProxyUpdateFeed.latestVersion (cognitive 17): GitHubAtomProxyUpdateFeed.latestVersion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 1 (2 pts), error handling 1, ternaries 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Updates/GitHubAtomProxyUpdateFeed.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6994018fbd3767d58a48e588c8149c9319e027eb1cf3337dd26ded4afe4726f1"}},{"ruleId":"D2","level":"warning","message":{"text":"PairHostView.body (cognitive 17): PairHostView.body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 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":"apps/ios/QuotioIOS/PairHostView.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4e2014d34bcdd1c7b940a77b22ea5e8618418e28f6ffcc0156fb8e3b72232a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyLifecycleController.activate (cognitive 16): ProxyLifecycleController.activate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d83385297bf0041dfb967ef48c5a27978b66af0882c4c5c46cfe89aa1e431a"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotaPace.init (cognitive 16): QuotaPace.init has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 1 (2 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":"Packages/QuotioCore/Sources/QuotioDomain/Quota/QuotaPace.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"729dc1cb3988c1b31c3c20d3a1f1ab970e723d046e4a93492209f1f0e273251b"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCLIBackend.apply (cognitive 16): QuotioCLIBackend.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"83825a8a241913e4f5d37c780050476b1abaca1d4d5e1a8822be1c66456cdad4"}},{"ruleId":"D2","level":"warning","message":{"text":"QuotioCompanionService.configure (cognitive 16): QuotioCompanionService.configure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCompanionService.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10a8d70e53abe66deeeb51c744c107a22b42876656aaeca2c2f28e561f86c48"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthSheet.body (cognitive 16): OAuthSheet.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/OAuthSheet.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"777770be202f15d43e391ca43e6162f2e32dda58499f86d1039c4deed01bddbb"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarMenuSnapshotMapper.makeSnapshot (cognitive 16): StatusBarMenuSnapshotMapper.makeSnapshot has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuSnapshot.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89069a19eef9e31e874f47af310e0b3baedd6b1bc0180ba03b7d0a96c484188"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayNames.metricLabel (cognitive 16): DisplayNames.metricLabel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, loops 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/Sources/QuotioMobile/DisplayNames.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14bca7f969bb593027a3ff070cf6028fbb4af71af43d016c93fe8a1a84ebafe"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayNames.resetHint (cognitive 16): DisplayNames.resetHint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 1 (3 pts), ternaries 1 (3 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":"apps/ios/Sources/QuotioMobile/DisplayNames.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ee7cfed87c1eb676f963dc650acd351fffaa136649169cd53fc614dde05b97"}},{"ruleId":"D2","level":"warning","message":{"text":"RootView.body (cognitive 16): RootView.body has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/ios/QuotioIOS/RootView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc52a42ec0ed6712e0e2e93fe1ffc742ba10b3a97f0f0e2ac7f27d7bcf8a094e"}},{"ruleId":"D2","level":"warning","message":{"text":"quotio_desktop::proxy::init (cognitive 16): quotio_desktop::proxy::init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, 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":"apps/desktop/src/proxy.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3956c23e5881ee87ba447ec325dbf7bf2d30378f5fe846f3d3a97ba9028849e"}},{"ruleId":"D2","level":"warning","message":{"text":"quotio_desktop::ui::settings::privacy::migration_section (cognitive 16): quotio_desktop::ui::settings::privacy::migration_section has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (3 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":"apps/desktop/src/ui/settings/privacy.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"94529a7a08f5fd77b4740b93976e48ca09c5224b3b87745b3393ee3ff3a1becd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsWindow.accounts_page: MethodTooLong \u2014 accounts_page runs 267 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\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":"apps/desktop/src/ui/settings/accounts.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c165fdfc37af40040faca7e33fafbf28f9c0c92e14fddd1aa62d0c035b107669"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MenuBar/StatusBarMenuRenderer.swift: FileTooLong \u2014 1272 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 772 over it, 2.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeb07b189ffd72e5b10038398323ececf8659f1b7b8456798032888a6761ef3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/menu.rs: FileTooLong \u2014 1170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 670 over it, 2.34\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":"apps/desktop/src/ui/menu.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b3e3fb933b42ecdf3acbc71022cbe93581f009c86ea3d4e0366d45852d7ab9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConnectFlow: ClassTooLong \u2014 909 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 28 methods, 3 blocks, lines 84-1276. The bar is 400 significant lines; this is 509 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":"apps/desktop/src/ui/settings/connect.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca3eccc0b6c69e37af5fd3dfdb64d8a281113f42404656b3b07472eb0ecb28e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuotioCLIBackend: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b25936d4382856fbe6c89a8b0c17b051892612632527a72c8d5ff1a27f0157"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/accounts.rs: FileTooLong \u2014 1104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: SettingsWindow (58-1339). The bar is 500 significant lines; this is 604 over it, 2.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/accounts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bfcfb18a15e840e05ef72954d9ded116f88c506e7789cb71c5531e05ad0965"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/connect.rs: FileTooLong \u2014 1094 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: ConnectFlow (3 blocks, 84-1276). The bar is 500 significant lines; this is 594 over it, 2.19\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":"apps/desktop/src/ui/settings/connect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b63753b9f08db0734e1e2fad87f40875bf0f17d86107245d33c9a16f12a09a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsWindow.menu_bar_page: MethodTooLong \u2014 menu_bar_page runs 215 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\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":"apps/desktop/src/ui/settings/menu_bar.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5794ea052fda2d24a1870e2d708ba1646c2d84615a739c634c9cce220f4d8bbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quotio_desktop::ui::menu::burn_card: FunctionTooLong \u2014 quotio_desktop::ui::menu::burn_card runs 200 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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":"apps/desktop/src/ui/menu.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7d8f15d3a7ac92699fe50f34a75c388be25e14dd200a32f297f4d51c5bc7d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompositionRoot.makeProduction: MethodTooLong \u2014 makeProduction 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":"apps/macos/Quotio/App/CompositionRoot.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c389723fb06c594ad12f7c9f69842df5a0d2b152134000f0f284aeb8ed6a1f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SettingsWindow: TooManyMethods \u2014 56 methods, declared across 9 files: settings/accounts.rs (23), settings/iphone.rs (9), settings/menu_bar.rs (7), settings/mod.rs (5), \u002B5 more file(s). The bar is 30 methods; this is 26 over it, 1.87\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":"apps/desktop/src/ui/settings/mod.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"289836012d72c7d949fae02e64c8f1f988b8b6a57ce3375f008bbd69db1e91a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProxyLifecycleController: 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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2ce6ebdc6a44cd06fc314d0390ad7d7937168b1fcc17ea3a4f221e11186c60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsWindow.proxy_server: MethodTooLong \u2014 proxy_server runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"apps/desktop/src/ui/settings/cli_proxy.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1ea18104477d59acddee7a619f0a6bd85d562af2c1a53c7b26fd0cc78885a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: QuotioCLI/QuotioCLIBackend.swift: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 272 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefbda05e94016db7258038d0faac9fafdbcbf096159b86884093be4093e9940"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsWindow.account_row: MethodTooLong \u2014 account_row runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"apps/desktop/src/ui/settings/accounts.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f127bf6815382c12a16a86bd1836e0b5d1212697cb42b2342512fe768932ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Proxy/ProxyLifecycleController.swift: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 213 over it, 1.43\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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"119252b32d2a67bb48c2c8f461541f89f94166dc69f9a764a6c99976c9076065"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsWindow.general_page: MethodTooLong \u2014 general_page runs 138 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/general.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"424786cea0de839735ff2d7e516737e2732d5d7a47e57c7fddc1fd8e77d89c7b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: URLSessionProxyManagementAPI: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. Most of these members implement Packages~QuotioCore~QuotioApplication.ProxyManagementAPI (32 of 39 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Proxy/URLSessionProxyManagementAPI.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"201e71b47adb63b92c39b0ed786b7c36bb38526d67c77c27542c9b98bdeb4fd5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: QuotaHistorySheet: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb268ea637bf69ee2ed44512e385ff7af1413946c8c1c1b9b5f2bc8ed1b7f4d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuotaHistory.plot: MethodTooLong \u2014 plot runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"apps/desktop/src/ui/settings/history.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3574bc1f5dd1c32311247655d541e383a2f994ad04e2413419da4b3acedceeb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QuotaHistorySheet: ClassTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 102 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67abab34cfc356f596bdcfff7e8544fa48f8a891966412495db68d003a0ae0d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QuotaHistory: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 10 methods, 3 blocks, lines 45-670. The bar is 400 significant lines; this is 101 over it, 1.25\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":"apps/desktop/src/ui/settings/history.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3c5dc5e55813c0bc79fd9e1466454ee826e1d7abe610788fe4cf25e34886ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountRow.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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a379b4922c3c8cd0658b4f0cdd0926e36657ce19db411f15d318b6488f239dda"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OAuthStatusView.body: MethodTooLong \u2014 body runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/OAuthSheet.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"576ed7e026714aee5ff66995121e175863fe68464120a8bc8da4166dc001a4ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/proxy.rs: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 35 free functions. The bar is 500 significant lines; this is 106 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6669703a6da9764a7242e425599c0d871d2b24cb852c70d05c4ce27cf1cad65f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProxyManagementScreenModel: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Proxy/ProxyManagementScreenModel.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2869ff56f3ff484a2e379f27a873dd65315bcabd9fc137bf28f98cfa44e993"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/menu_bar.rs: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: SettingsWindow (25-711). The bar is 500 significant lines; this is 100 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/menu_bar.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ecf6f8e5f18bb695835aeb2a33a00716810fd693adc80459622e4f4ae15d27"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountPanel.render: MethodTooLong \u2014 render runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"apps/desktop/src/ui/panel.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e599d80fc68afd08eb9eb3ffe89aeb7881dc6f0262721839d1676e3107cf6253"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountsSettingsScreen.body: MethodTooLong \u2014 body runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9d863dda264857cc92d932758036915ec2027760cf8ac6b3dc4bb91b0e44f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectFlow.browser_view: MethodTooLong \u2014 browser_view runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/connect.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"2712485279792826d77537f0cd294001defbc75bb56357e8946e11759ae86678"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsWindow.about_page: MethodTooLong \u2014 about_page runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"apps/desktop/src/ui/settings/about.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac271d1c6bcd967cdf82a88f8fa9f8b5842d51c92d431cb954876621b704669"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/iphone.rs: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 89 over it, 1.18\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":"apps/desktop/src/ui/settings/iphone.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"284a08e1411de37b33217f957f275d048851c646ccf5d1c1ac135a608ae77b2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quotio_desktop::prefs::swift_preferences: FunctionTooLong \u2014 quotio_desktop::prefs::swift_preferences runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/prefs.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc438ce6bc3d659bc05812fe68e7e9e1c0c6dc4963749c33891b3848a31a89f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuotaHistory.summary: MethodTooLong \u2014 summary runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/history.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3adea9cfa01cde75e17cb738272cd764b54b95f7b3abc51125439dd478f9f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/history.rs: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: QuotaHistory (3 blocks, 45-670). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/history.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3af2747c47a569b6d81e4d1ceb1992a908e2eb9d620950a7b2154f4d10007f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuotioCLIServerProcess.start: MethodTooLong \u2014 start runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa8b3ce00970d1b4857e31beb3f2200a4dcd06e097b603cdd4952c584b6b61a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsWindow.style_options: MethodTooLong \u2014 style_options runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/menu_bar.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"983e970b26ec5a0127ef4a180ca72021c0bc49c73593caca35206ec181a67417"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quotio_desktop::ui::menu::gauge: FunctionTooLong \u2014 quotio_desktop::ui::menu::gauge runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"apps/desktop/src/ui/menu.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"67769143a3e563dab8e63e3ca0d27b267ab3b63b0c375191571e8e1f292791ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quotio_desktop::main: FunctionTooLong \u2014 quotio_desktop::main runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/main.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3716501d073909b8ae0eb8303e6993444759b9ffeb8aabb384e9374801c9e510"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Quota/QuotaHistorySheet.swift: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: QuotaHistorySheet (5-671). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df245030a86b75a56f215091dd3e6afbd7cae0256f9f0f57c2a7ede2529f849"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SettingsWindow.privacy_page: MethodTooLong \u2014 privacy_page runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"apps/desktop/src/ui/settings/privacy.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44d6b942e86ae44dca73bb1c74167e7893e06d0b8cc2c1466f31f989b2dded2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): apps/desktop/src/ui/menu.rs:550-597 | apps/desktop/src/ui/menu.rs:725-846 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/menu.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7772beb73dab71129da21da92cc7125241f3a11f39e6b558b758d4556f6728"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift:233-255 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:5-27 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:29-51 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:103-125 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"838a04b7a88bbe69ea21298e851344102f713dcd63fa2884ac602a0432ffff04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1586-1624 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1626-1671 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0f31905d6251e57c166f6ef1510e180d7627badbde55fc4707ddee8974135c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): apps/desktop/src/ui/settings/accounts.rs:1297-1338 | apps/desktop/src/ui/settings/iphone.rs:380-410 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/accounts.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ef40041764bff9f93d7e62ac5587c5c81cd3f43668c5e6b5ca779030f4649c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProxyVersionManagerSheet.swift:281-329 | Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProxyVersionManagerSheet.swift:338-392 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProxyVersionManagerSheet.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec9bbf76ffe81fa6b91ea0b020c7ddea2c81bcf44cde7f30666315b99e35de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift:70-97 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/MenuTooltipPresenter.swift:62-95 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5efaacd974e7ad3faa84eb7b7ac0d424b2d79cdbe79e1dac721d3f1853b236"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyManagementModels.swift:23-61 | apps/ios/Sources/QuotioMobile/MobileSnapshot.swift:79-90 \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":"Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyManagementModels.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c363eec2555e6c4595bc38ce61a4bfa763b72fd1b56b89da75d5470aaa4e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift:40-68 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/MenuTooltipPresenter.swift:32-60 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f01ca316d7cf3b1913c10876a7a4dabbb15ba3acc1d4225c59b31051b83d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): apps/desktop/src/autostart.rs:19-46 | apps/desktop/src/autostart.rs:62-85 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/autostart.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e070d200a49d0fee597291a4272755a7fcc45527ed95e08532bd8c40f8cd52f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): apps/desktop/src/theme.rs:49-66 | apps/desktop/src/theme.rs:68-85 \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":"apps/desktop/src/theme.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2ca678bbbc3bdb1b14b0d8147c82dd7cb697501aa3544fef2d01e55c68300c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderAccountsGroup.swift:180-229 | Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderDisclosureGroup.swift:100-144 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderAccountsGroup.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d8718a24bc38613b68a69c9ef39738b01eaf0d6b24699d768d6da95e9ca578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): apps/desktop/src/ui/settings/cli_proxy.rs:476-502 | apps/desktop/src/ui/settings/widgets.rs:40-72 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/ui/settings/cli_proxy.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a878c2dd26f1c585e76822c928684ae8b74847bd1ccc7209ec5f5ced742722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderAccountsGroup.swift:60-86 | Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderDisclosureGroup.swift:63-95 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderAccountsGroup.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdce7af0c9f495d9dd2c67fe79023796eff5c26df5d1162dd154022df69186ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/desktop/src/ui/settings/iphone.rs:33-45 | apps/desktop/src/ui/settings/mod.rs:216-228 \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":"apps/desktop/src/ui/settings/iphone.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51477393139afa0803dca0801fdc915509de7365290ddbe934b5f8a23fbe82a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:98-116 | Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:120-142 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7dbcda39a49730ceccd2efa899b49a20966232131ed63ee3bffd7705c1d178"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift:938-953 | Packages/QuotioCore/Sources/QuotioInfrastructure/HTTP/ProxyNetworkAdapters.swift:49-68 \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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39f80ef25b5a5cd5411d20a87d7649398be1dd42acb49681582f47a5464e210"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Packages/QuotioCore/Sources/QuotioInfrastructure/HTTP/ProxyNetworkAdapters.swift:179-190 | Packages/QuotioCore/Sources/QuotioInfrastructure/HTTP/ProxyNetworkAdapters.swift:277-295 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/HTTP/ProxyNetworkAdapters.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4600ea8f79d33cc1cbe5bd5f7a5b3d193aeca00502bac5d36ee755eff70596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/ios/Sources/QuotioMobile/QuotaFormat.swift:42-48 | apps/ios/Sources/QuotioMobile/QuotaFormat.swift:51-57 \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":"apps/ios/Sources/QuotioMobile/QuotaFormat.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88fd8dfb37c5b006150665f4a43ad5f9d7892c1f463ba5639e3c7d837e8dd5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCompanionService.swift:154-160 | apps/ios/Sources/QuotioMobile/Connection.swift:47-56 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCompanionService.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f548257a5fcae021aafc623112a3beacfbbaf692abf18d340e25ab20bf6375c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHistory.swift:198-204 | Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHistory.swift:205-211 \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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHistory.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f5fa872d8034e2e36ec44fdfa0ac2ccc87f693e816cf9c091d288dc3f6559e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistoryServiceModel.swift:43-57 | Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistoryServiceModel.swift:58-72 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistoryServiceModel.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b49d694033ae09dc45e77732b67133d48f0b826b600dbeb400ce4e4776b8a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1503-1508 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1810-1815 \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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c26e210570322227f586d6b12e91dd2eb6e58aef93ec147c46a571550aeeeb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProviderAccountsSection.swift:153-162 | Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProviderAccountsSection.swift:172-180 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProviderAccountsSection.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da231b0d934f776d94941d3d2a3594f902274764a7e31b8e517835a68c61b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderIcon.swift:17-34 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:694-709 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderIcon.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"07103757724a5a1136001a7fd09d996d4c4d52e8d42fb053b855857bda01fc9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Packages/QuotioCore/Sources/QuotioApplication/CustomProviders/CustomProviderService.swift:70-78 | Packages/QuotioCore/Sources/QuotioInfrastructure/CustomProviders/CustomProviderAdapters.swift:220-224 \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":"Packages/QuotioCore/Sources/QuotioApplication/CustomProviders/CustomProviderService.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"26120502e9eae96fde080cf448266dcc867b52e17702b2f6986148b4bad406d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift:92-101 | Packages/QuotioCore/Sources/QuotioInfrastructure/Antigravity/AntigravityAccountSwitcher.swift:70-79 \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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4392f12ddb25b44bf92f6624ceb3a8123587e2687b62ba97c80bc8f913a03bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:74-88 | Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:115-127 | Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:154-167 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bac095cf99947848559a0f15b1d99d7e653604ca056badc5635cf8667d4503a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Packages/QuotioCore/Sources/QuotioApplication/Accounts/AuthFileRepository.swift:77-93 | Packages/QuotioCore/Sources/QuotioApplication/Accounts/CredentialPorts.swift:12-26 \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":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/AuthFileRepository.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e669d9101960e5e7786e5321aa297019c33ee0ee996802d7656c298ba382a19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift:778-788 | Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift:812-823 \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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7808f1aac7da59777a1ebed88caa98c3472476d52468e67a6d37685c071f58d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): apps/desktop/src/ui/mod.rs:176-189 | apps/desktop/src/ui/settings/connect.rs:695-713 \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":"apps/desktop/src/ui/mod.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9aa2022078eb529e7e869a06a2cb466ab198ff2cfa8fb013e575e782d1705e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Proxy/ProxyManagementScreenModel.swift:292-301 | Packages/QuotioCore/Sources/QuotioPresentation/Proxy/ProxyManagementScreenModel.swift:303-312 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Proxy/ProxyManagementScreenModel.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c818db75279703ff1dfcda45e7ab8bab36d54c21b6679e3b9cccac02e32a0a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Packages/QuotioCore/Sources/QuotioApplication/Accounts/OAuthFlow.swift:140-149 | Packages/QuotioCore/Sources/QuotioApplication/Warmup/WarmupSchedulerService.swift:128-137 | Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift:177-186 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/OAuthFlow.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f292f9517ba301acd5e4cd18815a9745da72c1caa182c737f35a48cda81c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Components/ExperimentalBadge.swift:14-25 | Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.swift:260-264 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/ExperimentalBadge.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2354d5bdc9a1154247afad1bb2aa3b2200ff08124f253eb90e620715b52071"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1490-1496 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1569-1575 \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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74cdd121985d4c7aca9e272cd812bcb9c733c7fd7b7860cbe6ba74d517c5d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaScreenModel.swift:111-121 | Packages/QuotioCore/Sources/QuotioPresentation/Tunnel/TunnelScreenModel.swift:76-85 \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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaScreenModel.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f81297b138e11f8043b09772edaae6cfc425918d719bcbf12f7ebb9fe9f58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Packages/QuotioCore/Sources/QuotioInfrastructure/Antigravity/AntigravityAccountSwitcher.swift:236-241 | Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/FileAuthFileRepository.swift:391-395 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Antigravity/AntigravityAccountSwitcher.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe09e4e6260a1ee6b0a18161377b9c15e75637a844be270c3634cf79a9fa395"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Packages/QuotioCore/Sources/QuotioInfrastructure/CustomProviders/CustomProviderAdapters.swift:13-18 | Packages/QuotioCore/Sources/QuotioInfrastructure/Persistence/UserDefaultsWarpTokenRepository.swift:13-16 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/CustomProviders/CustomProviderAdapters.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9b0028e6800640e8c802916139e57b6aae5848f8d8c6c56a2b6f42f3e9d7bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Packages/QuotioCore/Sources/QuotioDomain/CustomProviders/CustomProviderModels.swift:66-71 | Packages/QuotioCore/Sources/QuotioDomain/Quota/WarpToken.swift:9-19 \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":"Packages/QuotioCore/Sources/QuotioDomain/CustomProviders/CustomProviderModels.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6ca3022ed6c2b7017359c827dc6e3aae6b133df6c683125e98fdc06f04319f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift:930-936 | Packages/QuotioCore/Sources/QuotioPresentation/App/PresentationValues.swift:119-123 \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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d14c9817e9effa932ed8a13d1a0e36ee2395ddc9988346ab21d38e9838036ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Packages/QuotioCore/Sources/QuotioDomain/Accounts/AntigravitySwitchModels.swift:39-44 | Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyModels.swift:258-268 \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":"Packages/QuotioCore/Sources/QuotioDomain/Accounts/AntigravitySwitchModels.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0103d2ff475bbbf674af354e86a5980d117be19732ca6025cbb22b8ecf253401"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift:183-185 | Packages/QuotioCore/Sources/QuotioPresentation/App/PresentationValues.swift:67-69 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"111b297e423ff0200da618369f4e45e3702abc6688e4af21ad50cde105fe7953"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyManagementModels.swift:105-109 | Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift:167-172 \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":"Packages/QuotioCore/Sources/QuotioDomain/Proxy/ProxyManagementModels.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f87f2b77702458df867c7ef8bec360a5927f11497debe12a4205ffde53c8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:321-339 | Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:482-500 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:321\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:501\u0060 calls \u0060sheet\u0060, \u0060ProxyVersionManagerSheet\u0060, \u0060environment\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift:340\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":"Packages/QuotioCore/Sources/QuotioPresentation/Screens/AboutScreen.swift"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"1508fb62a0649ff0853dc2d421315c1c9496e053a75ceb68ad13418c9308d7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift:235-252 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:7-24 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:31-48 | Packages/QuotioCore/Sources/QuotioPresentation/Shared/ProviderPresentation.swift:105-122 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 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 \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a6a5f471bbbde3a2a35446bb75082b32233868072346dd801fce50fa586182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderAccountsGroup.swift:183-199 | Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderDisclosureGroup.swift:104-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderAccountsGroup.swift:183\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/ProviderAccountsGroup.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e737bc1dab774c6bbb2c517fadabba9396130dcfb896b8a1b1c24ac2be79a891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:77-92 | Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProxyVersionManagerSheet.swift:42-57 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:77\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"021fd20dcb0c800baf5289c1488a1abb31538ab1c4fc2643b712504463b81b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift:52-62 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/MenuTooltipPresenter.swift:43-55 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/MenuBarBadge.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d3103ad25b677b19f9511c52c63b040f1f18033c147f465106ace46e3bbc57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:78-88 | Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:117-127 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:78\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:76\u0060 calls \u0060padding\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift:116\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Components/QuotioButtonStyles.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4673976c04f6f646004a22f53c1abf037726d63d0e77e7c5a90a3a9e2969999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Settings/UsageDisplaySettingsSection.swift:32-42 | Packages/QuotioCore/Sources/QuotioPresentation/Settings/UsageDisplaySettingsSection.swift:51-61 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Settings/UsageDisplaySettingsSection.swift:32\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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/UsageDisplaySettingsSection.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac5a2b6b1abd22a1c032e40b97fd08d6737006b58a7166ab08e1bdad1999181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:743-752 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:793-802 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:743\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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"829ce3ea7b4bdd6287f5d6dfe2353d7c887b39fbb1de216eb04d5dc1912e5058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:98-106 | Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:120-128 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u00602\u0060 in one and \u00608\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:114\u0060 calls \u0060background\u0060, \u0060Color\u0060, \u0060opacity\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift:93\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/GLMAPIKeySheet.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"257a7700bd5f33592c8d88671c641cebb096f730ecc155154242de363fe0c481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/ios/QuotioIOS/DesignSystem/AccountCard.swift:71-79 | apps/ios/QuotioIOS/DesignSystem/EmptyAccountRow.swift:34-42 \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 \u0060apps/ios/QuotioIOS/DesignSystem/AccountCard.swift:71\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":"apps/ios/QuotioIOS/DesignSystem/AccountCard.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5257491ea98f59c722d0908429b945424e61346323859a8fb5ed5e3b78bd4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:163-170 | Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:223-230 | Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:294-301 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:161\u0060 calls \u0060background\u0060, \u0060Color\u0060, \u0060opacity\u0060 and \u0060Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift:222\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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelSheet.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13a16ba681c523860a72f28bc3364b2f3a18afd5b1f2592d331c7d81849b665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioDomain/Quota/QuotaModels.swift:31-38 | Packages/QuotioCore/Sources/QuotioDomain/Quota/QuotaModels.swift:124-131 \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":"Packages/QuotioCore/Sources/QuotioDomain/Quota/QuotaModels.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"490b3ac42d8682b8f95e81973486c4fdefdbef176a6063730adfe436ae613a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioInfrastructure/Process/ProxyProcessController.swift:159-165 | Packages/QuotioCore/Sources/QuotioInfrastructure/Tunnel/CloudflaredService.swift:120-128 \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 \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/Process/ProxyProcessController.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. 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Process/ProxyProcessController.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"104f259aa59a1b3dfd984c438af989d676f0b287bdb944fcb68d45d82b0fe5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1616-1622 | Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1663-1669 \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 \u0060Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift:1616\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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuRenderer.swift"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"78543d9f2deff278005592cd6f5c53b764dfaf0e3051fb081d11c07dbb60def6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Packages/QuotioCore/Sources/QuotioInfrastructure/Persistence/FileAccountMetadataRepository.swift:13-18 | Packages/QuotioCore/Sources/QuotioInfrastructure/Persistence/FileAccountSnapshotDataStore.swift:7-12 \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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Persistence/FileAccountMetadataRepository.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef5d28c758dc0692df3daa25b247c3399051b2fc3a9e61888585e80fde23cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): apps/desktop/src/app.rs:140-153 | apps/desktop/src/app.rs:215-230 \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 \u0060apps/desktop/src/app.rs:140\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":"apps/desktop/src/app.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1725524c51f1ce524ab3ddef13a3f84720b462e6ca90b279243790c60b2f1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): apps/desktop/src/theme.rs:52-66 | apps/desktop/src/theme.rs:71-85 \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 \u0060apps/desktop/src/theme.rs:52\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":"apps/desktop/src/theme.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e100b8e11c583a536c8d51ebb907dab348d51f4cfe68344fb104ad19483dd1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): apps/desktop/src/ui/menu.rs:620-633 | apps/desktop/src/ui/menu.rs:998-1011 \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 \u0060apps/desktop/src/ui/menu.rs:620\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":"apps/desktop/src/ui/menu.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f2735b0cb5a6c11de02c2dac277c0f81db37348255ad310c70675cbd421200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): apps/desktop/src/ui/menu.rs:551-563 | apps/desktop/src/ui/menu.rs:801-813 \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 \u0060apps/desktop/src/ui/menu.rs:551\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":"apps/desktop/src/ui/menu.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a50b60749dbf2e35b370e5386ebb60fe315f7cc698f37c3b692841c7eeaf2ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): apps/desktop/src/autostart.rs:20-28 | apps/desktop/src/autostart.rs:63-70 \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":"apps/desktop/src/autostart.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fdc7c662fc7af6c20b4475fe4d28f6d7bc31774746eadd2ca1a6bd5f0f36ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): apps/desktop/src/ui/menu.rs:247-255 | apps/desktop/src/ui/settings/accounts.rs:549-556 \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 \u0060apps/desktop/src/ui/menu.rs:247\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":"apps/desktop/src/ui/menu.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b0b92862d0fd2c08e62657fa1421dd4ec48beded575b368783beb004498c15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/desktop/src/ui/settings/accounts.rs:137-145 | apps/desktop/src/ui/settings/accounts.rs:411-419 \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":"apps/desktop/src/ui/settings/accounts.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cc322beb20218130271a8bfa7d6c2c21b1ad75cd7241ac0eb4ffdb016c3c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/desktop/src/ui/settings/connect.rs:1267-1273 | apps/desktop/src/ui/settings/iphone.rs:745-752 \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 \u0060apps/desktop/src/ui/settings/connect.rs:1267\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":"apps/desktop/src/ui/settings/connect.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c1e27e26045f4ce8e9431d3cb5dccb9c17b6900bc01b2ea621f75f21fcb53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/desktop/src/ui/settings/accounts.rs:1175-1180 | apps/desktop/src/ui/settings/accounts.rs:1246-1251 \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 \u0060apps/desktop/src/ui/settings/accounts.rs:1175\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":"apps/desktop/src/ui/settings/accounts.rs"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afeaeb7c803ac0fa2ce73e2e02d5322856c3baafcbf1b7ab1a1052a8245464f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): apps/desktop/src/ui/settings/accounts.rs:1300-1304 | apps/desktop/src/ui/settings/iphone.rs:382-386 | apps/desktop/src/ui/settings/menu_bar.rs:387-391 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/desktop/src/ui/settings/accounts.rs:1300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060apps/desktop/src/ui/settings/accounts.rs:1299\u0060 calls \u0060clone\u0060 and \u0060apps/desktop/src/ui/settings/iphone.rs:381\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":"apps/desktop/src/ui/settings/accounts.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"453892835dca6a14879b40d212df2e1ecffccf6ff8a87b78f94661a55d8f6332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/cli/src/accounts/sources.rs:291-295 | apps/desktop/src/host.rs:259-263 \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":"apps/desktop/src/host.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"057b2044812bba7e4fc0b64245ef5a3bf1d0667ccfc0005f7df7be6641615600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/desktop/src/app.rs:158-162 | apps/desktop/src/app.rs:232-236 \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 \u0060apps/desktop/src/app.rs:158\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":"apps/desktop/src/app.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b2eeda149aea3aef5f4c20490961be312b41b4ce7028cbfe02a39eca0d2882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): apps/desktop/src/ui/settings/connect.rs:1114-1125 | apps/desktop/src/ui/settings/connect.rs:1129-1140 \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 \u0060apps/desktop/src/ui/settings/connect.rs:1114\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":"apps/desktop/src/ui/settings/connect.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adab531734626abe20ee0d9adad60cf1af9d51c7737e51807a82b1ef1ee3af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): apps/desktop/src/ui/settings/general.rs:157-166 | apps/desktop/src/ui/settings/menu_bar.rs:145-154 \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 \u0060apps/desktop/src/ui/settings/general.rs:157\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":"apps/desktop/src/ui/settings/general.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df0f564ba9b10c4818f902d2f0073ce8d59283eba21b482c270d20173a6a303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/desktop/src/ui/settings/accounts.rs:1203-1210 | apps/desktop/src/ui/settings/accounts.rs:1262-1269 \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 \u0060apps/desktop/src/ui/settings/accounts.rs:1203\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":"apps/desktop/src/ui/settings/accounts.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc6ceb426fb6ec8af49ccd55f25f45f6f53ded3de0ab6c6bee6cbcaf4b816e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/desktop/src/notifier.rs:37-42 | apps/desktop/src/notifier.rs:51-57 \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 \u0060apps/desktop/src/notifier.rs:37\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":"apps/desktop/src/notifier.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4770cf24e9b1494bd5a57044c1381ee7d48123436434b335b3e12ca02ace21f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/desktop/src/store.rs:204-208 | apps/desktop/src/store.rs:224-228 \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":"apps/desktop/src/store.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc62fedb24ae35ca46821f6b99ed69415ceb4bfe8f5bbc111282452b51cb4e6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: QuotioDomain: QuotioDomain: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"119eb8c8b20394edb3440a63b70b1ecb87ebb0b804d05773fa494b7ca8f6d568"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: QuotioHostClient: QuotioHostClient: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1112f47acd9cc79263c101de7930b8002d51d63188d61f5fe4b07a72352919c1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: QuotioCLIBackend (LCOM4 8): QuotioCLIBackend\u0027s methods fall into 8 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 8 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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce01b253c1cd825dea661cbdcbf37d25f802f9693d1cde83de4e3d2b6540a82d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 5): String\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":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/AuthFileRepository.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac135d680636a7574bca07cbf1f7199db1df5166c4d5e345cd90ae35eb52bd4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProxyManagementScreenModel (LCOM4 4): ProxyManagementScreenModel\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/Proxy/ProxyManagementScreenModel.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"217e34fbdce337026a8eacf42f1de0ad7d9b738e3b788abc13087c1c08a9c8e9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLegacyProtectedCredentialIsReadOnlyAndDoesNotResurrectAfterDeletion: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioInfrastructureTests/AccountPersistenceTests.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40fae48d636134c0ab3313beb4751447aff4da9caa72ca37e958597a02fdf8e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderAccountsScreenScenarios: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioPresentationTests/AccountsScreenSnapshotTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3784e784bd07106189e47b46831a2dba56972670949d00f4e41dc9f9d060dc23"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRenderPairingLayouts: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioPresentationTests/CompanionScreenModelTests.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d307a283e71726a4193e9d92b2fbdab2e0a3ab90c89ca310938fa6906da1fe8c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRefreshClicksKeepNativeMenuOpen: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioPresentationTests/RefreshButtonTests.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcf40298703db7dd96667ef130032348627104f69c4176bf4d19251423b7210"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTrackedMenuResizesExistingAccountViewWhenWarningAppearsAndClears: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Tests/QuotioPresentationTests/StatusBarMenuTests.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8033baadbe3163c8e33bf0a20297be8483f7aca875e87cb6cbf208b8f1cc483"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testLiveRustTLS: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioHostClient/Tests/QuotioHostClientTests/QuotioHostTrustTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2675de9e7c3b016c70cf7ef0af228ac79e97826cd07d99a3fd7437587ea03138"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testManualCompletionBelongsToCurrentAttempt: 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":"Packages/QuotioCore/Tests/QuotioApplicationTests/OAuthFlowControllerTests.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ab14e11291dfd9af6cca9ca7b9cb64f4210e277f5140794a1dffedbc77bdef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/service.rs: apps/cli/src/accounts/service.rs changed 79 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ManagedProvider::read at line 786. 40 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/service.rs\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":"apps/cli/src/accounts/service.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b4b02d0a2230b3c49ccc452f587976713f2bba8c2e1f431d6db9938cd8e831"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/server.rs: apps/cli/src/server.rs changed 75 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in quotio::server::serve at line 1193. 36 of those changes were fix/bug commits, and the other 39 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/server.rs\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":"apps/cli/src/server.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8fbaaaa364cc289dcabb578b137cf09dd52dccdf528400cc1e6806ea3043eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/mod.rs: apps/cli/src/accounts/mod.rs changed 66 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in Document::absorb at line 773. 21 of those changes were fix/bug commits, and the other 45 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/mod.rs\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":"apps/cli/src/accounts/mod.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b66c54f03a0794208eece15215d66da4e5491055dbd9c8d6bb9935464ac968"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/vault.rs: apps/cli/src/accounts/vault.rs changed 54 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Vault::begin at line 391. 17 of those changes were fix/bug commits, and the other 37 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/vault.rs\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":"apps/cli/src/accounts/vault.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e7cac8321e5f46bf39ecc91d2054d49626a034547e97811d28c659d1dfa94a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift changed 69 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in QuotioCLIBackend.historyRequest at line 68. 42 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb672d6def6d040631b036f38b48d3ffc6061ea5e7439d5c4ece8a4e7abe24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/capabilities.rs: apps/cli/src/providers/capabilities.rs changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in quotio::providers::capabilities::capability at line 189. 4 of those changes were fix/bug commits, and the other 30 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/capabilities.rs\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":"apps/cli/src/providers/capabilities.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0536a122d8a1e0d67538e031b945fd32873f63bd7c04e2ce63de8da260af50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/server/management.rs: apps/cli/src/server/management.rs changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in quotio::server::management::mutate at line 337. 18 of those changes were fix/bug commits, and the other 29 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/server/management.rs\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":"apps/cli/src/server/management.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9fb1fd9b12525c023814d860237865266638a867d36d0f2a9e98f50c53880c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/api.rs: apps/cli/src/accounts/api.rs changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in quotio::accounts::api::prepare_source at line 534. 13 of those changes were fix/bug commits, and the other 33 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/api.rs\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":"apps/cli/src/accounts/api.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f817025a6bf29a971ba38a0bc4a20fbb2f0fc7877819ce88fe1105256c79b86"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/main.rs: apps/cli/src/main.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in quotio::run at line 113. 4 of those changes were fix/bug commits, and the other 26 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/main.rs\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":"apps/cli/src/main.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d45d5e2ee1c3a126de4be7e74e90da21eed1102fa8d83b6d53508ae055fbc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/discovery.rs: apps/cli/src/accounts/discovery.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in Registry::inspect_for at line 173. 14 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/discovery.rs\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":"apps/cli/src/accounts/discovery.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e9db8be4f1fa3d778fb0f26be5e97e07af460e0633711cfe11a21ce8b4efbd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/amp.rs: apps/cli/src/providers/amp.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in quotio::providers::amp::parse at line 206. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/amp.rs\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":"apps/cli/src/providers/amp.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16a34a3193279b448921090816a3e94a2d5731239c062177c3f5033f76a5240"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/catalog/oauth_editors.rs: apps/cli/src/providers/catalog/oauth_editors.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in quotio::providers::catalog::oauth_editors::open_cursor_database_at_with_hooks at line 909. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/catalog/oauth_editors.rs\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":"apps/cli/src/providers/catalog/oauth_editors.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"326128ff5b986178c90a4096d9b93984e12d98559aa731105f5d0cfe6ac593eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/command.rs: apps/cli/src/accounts/command.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in quotio::accounts::command::run_with_vault 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/command.rs\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":"apps/cli/src/accounts/command.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cc31ebaa0a0886efdc446843376574fa939c11d20cca887767a6d396db11b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/antigravity.rs: apps/cli/src/providers/antigravity.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AntigravityProvider::fetch_with_token at line 347. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/antigravity.rs\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":"apps/cli/src/providers/antigravity.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5095c8338ef44771e0862fd0f83bc407a88c969c487717a92d7aada712a72e76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in QuotioCLIServerProcess.start at line 94. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fae4501372e446e0e7e13333605822e630b5b56e5add688fb12a19bd66ab31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/resolved.rs: apps/cli/src/accounts/resolved.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Registry::validate at line 653. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/resolved.rs\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":"apps/cli/src/accounts/resolved.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe168a540f4dcde1bf6eb4e0764651502bae057cde17c196789a7e06a3fe2433"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/cache.rs: apps/cli/src/cache.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in UsageCache::one at line 196. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/cache.rs\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":"apps/cli/src/cache.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4615f77704828c37aaab2d2fa845e55e8bf36244daa9a25e37ceeaed2ef6bc30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/key_api.rs: apps/cli/src/providers/key_api.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in quotio::providers::key_api::zai at line 267. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/key_api.rs\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":"apps/cli/src/providers/key_api.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7674b3790eda024d786f5a6e5f3ee6a467d450f222c918131b1ec14cc5540e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/codex.rs: apps/cli/src/providers/codex.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in quotio::providers::codex::parse at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/codex.rs\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":"apps/cli/src/providers/codex.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0552efd347f5d1707140d6ec15fa72bd96446fc1bec383847e43fe30893035e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift: Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in QuotioHostSnapshot.validate at line 130. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostSnapshot.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed283828870b807c58550db57836226ca3cf44d58991611e252ec6f3a3d99f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/providers/catalog/oauth_primary.rs: apps/cli/src/providers/catalog/oauth_primary.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in quotio::providers::catalog::oauth_primary::claude_windows at line 434. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/catalog/oauth_primary.rs\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":"apps/cli/src/providers/catalog/oauth_primary.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a176691579cedf9c150d9a48b58dc41908e5a1429739a1e3b423b3aa5dd698e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/contract/snapshot.rs: apps/cli/src/contract/snapshot.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in quotio::contract::snapshot::project at line 496. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/contract/snapshot.rs\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":"apps/cli/src/contract/snapshot.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"c164a1dae584d21744daf17e9c3d69e19afb29343d682fa16027163b11a8e893"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift: Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in StatusBarManager.renderStatusBar at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarManager.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5d2a7aa07f72a041a9215cb6026d52ef6fb28bd33b3ad19d5eac4b6081eda0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/contract.rs: apps/cli/src/contract.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Snapshot::validate at line 210. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/contract.rs\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":"apps/cli/src/contract.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a601e720dc437d1648c88de431c4c390a0304db917e1e31c44f4e952efd0035f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuSnapshot.swift: Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuSnapshot.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in StatusBarMenuSnapshotMapper.makeSnapshot at line 141. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuSnapshot.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":"Packages/QuotioCore/Sources/QuotioPresentation/MenuBar/StatusBarMenuSnapshot.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd12dad73c28ca4f90773e09a3719587c94add80f6ba031d5aa5530c54cd6369"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in QuotioHostPresentationMapper.resolvedSnapshot at line 14. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioHostPresentationMapper.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8ac4dbc13602166c44cdd7feac340f8016a8990c46d76e8ca6bc300a0e388a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift: Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in AccountRow.body at line 214. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.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":"Packages/QuotioCore/Sources/QuotioPresentation/Components/AccountRow.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ba82397c150719c2600422adfc7fa495439009d8b1c3dbb4fc383ec44f8df7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift: Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in AccountsSettingsScreen.body at line 26. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"361adec78cd8d6c26df0a5e00bb9753cf684a235f354755bcaf3121892ae083c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/server/security.rs: apps/cli/src/server/security.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in quotio::server::security::guard at line 202. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/server/security.rs\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":"apps/cli/src/server/security.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dbfc8e98b50e369c2255663f778cd35057465886f2be6e300b5119a91ec588"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/usage.rs: apps/cli/src/usage.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in quotio::usage::collect at line 43. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/usage.rs\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":"apps/cli/src/usage.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d5c2ae50e2686d1eecdd5fbcb822ec0160a2fa5c7304a65e4c6f247e3e2bfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift: Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AppSettingsPage.body at line 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AppSettingsPage.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"be18f3631a2771142c728e219dd547571bb79593ea9bd299cba3b8cb65ace2db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/discovery/host.rs: apps/cli/src/accounts/discovery/host.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in quotio::accounts::discovery::host::scan at line 56. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/discovery/host.rs\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":"apps/cli/src/accounts/discovery/host.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21a6c0bb18d9d589143b1bfdffe3e2de3331555999c6dc277c9abdaa9d8f942"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/accounts/proxy.rs: apps/cli/src/accounts/proxy.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in quotio::accounts::proxy::material 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/proxy.rs\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":"apps/cli/src/accounts/proxy.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"0242e076878e0910742cdb6694435ebc4306b7e99c5eee7564a84ba373c4cea9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/ios/QuotioIOS/HostStore.swift: apps/ios/QuotioIOS/HostStore.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in HostStore.refresh at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/ios/QuotioIOS/HostStore.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":"apps/ios/QuotioIOS/HostStore.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"608453048c3a00a3a35115f5aba92fa2326f8ef57924c5ea6ee4ac6e261cbc17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIOAuthAuthorizer.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIOAuthAuthorizer.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in QuotioCLIOAuthAuthorizer.begin at line 19. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIOAuthAuthorizer.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIOAuthAuthorizer.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3c77e6f7dab6ada3f7593a11ef9bcb95e91f09366e4478e0326b5637aac03d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/ios/QuotioWidgets/QuotioWidgets.swift: apps/ios/QuotioWidgets/QuotioWidgets.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in QuotaProvider.entry at line 61. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/ios/QuotioWidgets/QuotioWidgets.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":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"552a7f60eba6198a6d664a5c1be8d8e0f96d91f06bce798a8c3561bf4b9312ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/desktop/src/main.rs: apps/desktop/src/main.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in quotio_desktop::main at line 73. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/desktop/src/main.rs\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":"apps/desktop/src/main.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43ced551ba3db1552d6301092b4a00ac77a0364eb3a17cb4a4a45b2f604785b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in KeychainCredentialDataStore.readData at line 81. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/KeychainCredentialStores.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1209700a4f5babca141385ace9b0daafcf7399cdc1fb66e627f8387d4cbf17a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift: Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in QuotioHostHTTPClient.responseData at line 106. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.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":"Packages/QuotioHostClient/Sources/QuotioHostClient/QuotioHostHTTPClient.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"349c035060ec4d62b2ea75006ce181b3ecdc3bcedd092784e60a469a0c9cfb5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/devices.rs: apps/cli/src/devices.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in quotio::devices::run at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/devices.rs\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":"apps/cli/src/devices.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d48a4c141a4e669603edb5e2130c48f3e77a2fcbb6dd8edb1cbcf91103a15c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift: Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ProviderSettingsState.init at line 21. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.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":"Packages/QuotioCore/Sources/QuotioApplication/Accounts/ProviderSettingsState.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"00efa154e5b920cbfbf0580dc12e97599826b9cffef5ec2c1478060ea50ea698"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.swift: Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in QuotaHistorySheet.timeline at line 322. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaHistorySheet.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"730d661bc756698b7f276ac69cf43cb3528b1b9259867ec479ad03143844ee73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/cli/src/contract/summary.rs: apps/cli/src/contract/summary.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in quotio::contract::summary::pair at line 69. 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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/contract/summary.rs\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":"apps/cli/src/contract/summary.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"574ff60a1227d549459fc258e35df105be238e1e76ea1792fd4f17bc500ebeb0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.swift: Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in QuotioCLILegacyAccountMigration.migrate at line 35. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-13..2026-11-11, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-13 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17407e4e7cf855895a5d17988472ae43b3ab4b61fe321105b7e9847b089bf38"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/accounts/oauth.rs: apps/cli/src/accounts/oauth.rs changed 19 times in last 90 days and 12 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 OAuthSessionManager::poll_device at line 705), 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(accounts): tell a newer or corrupt account store apart from denied Keychain access (#553)\u201D; \u201Cfix(auth): enforce revocation and host-local approval boundaries\u201D; \u201Cfix(auth): isolate OAuth sessions and begin claims by client\u201D; \u201Cfix(oauth): recover session begins with idempotency keys\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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/oauth.rs\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":"apps/cli/src/accounts/oauth.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0882ded7354d0053d98677eafbc53363f1d05dfb110f95e064f2e7fee0b12f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/accounts/authorization.rs: apps/cli/src/accounts/authorization.rs changed 10 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is quotio::accounts::authorization::authorize at line 74), 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(cli): read gh, Cursor and Factory logins through the security tool\u201D; \u201Cfix(cli): read Claude Code logins through the security tool\u201D; \u201Cfix(antigravity): refresh native and proxy quota credentials\u201D; \u201Cfix(factory): resolve omitted selectors before native authorization\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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/authorization.rs\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":"apps/cli/src/accounts/authorization.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee12d6ff444cdae072ac6c49dbbe697554edb0c0bfc09d06de7bca8aa2d16ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/providers/catalog/oauth_cloud.rs: apps/cli/src/providers/catalog/oauth_cloud.rs 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 10 (its worst body is quotio::providers::catalog::oauth_cloud::native_file at line 211), 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(antigravity): refresh native and proxy quota credentials\u201D; \u201Cfix(kiro): validate complete profile ARNs before owned intake\u201D; \u201Cfix(accounts): retain refresh lineage after concurrent removal\u201D; \u201Cfix(kiro): prohibit borrowed refresh and stabilize machine identity\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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/catalog/oauth_cloud.rs\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":"apps/cli/src/providers/catalog/oauth_cloud.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fbadeffb551b10a925f8d851d416d61dda487e800721bc08742781b2020181"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProviderAccountsSection.swift: Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProviderAccountsSection.swift changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ProviderAccountsSection.header at line 45), 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(settings): keep a paused provider\u0027s menu visible and show full issue text\u201D; \u201Cfix(macos): show provider issues inside their provider card\u201D; \u201Cfix(macos): hide empty provider cards and repeated provider names in attention rows\u201D; \u201Cfix(macos): show loading feedback for refresh actions\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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProviderAccountsSection.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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/ProviderAccountsSection.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a542fb8c30656d9102f8fa5df3d5ada559d89becb988abbe725b64a6cc3eb020"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/providers/antigravity_auth.rs: apps/cli/src/providers/antigravity_auth.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is Session::refresh_at at line 267), 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(antigravity): refresh native and proxy quota credentials\u201D; \u201Cfix(antigravity): read unified oauth state and report expired logins\u201D; \u201Cfix(cli): stabilize helper signing and suppress background keychain prompts\u201D; \u201Cfix(antigravity): validate native protobuf credential structure\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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/antigravity_auth.rs\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":"apps/cli/src/providers/antigravity_auth.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"74566e6de289ba7b706e6bd6b49a273623e6afbbc12512f12b8887400057fd8d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/accounts/oauth/claude.rs: apps/cli/src/accounts/oauth/claude.rs changed 5 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 5 (its worst body is quotio::accounts::oauth::claude::manual_code at line 38), 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(cli): keep timeout classification for unsent Claude refreshes\u201D; \u201Cfix(cli): release Claude refresh fence before waiting out a 429\u201D; \u201Cfix(cli): release Claude refresh fence when the token was never used\u201D; \u201Cfix(auth): persist Claude exchange before quota collection\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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/oauth/claude.rs\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":"apps/cli/src/accounts/oauth/claude.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab3d9fd6266ff3e072d19510bdb7526004872c567f104cd562e61b2222ed137"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/accounts/adopt.rs: apps/cli/src/accounts/adopt.rs 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 13 (its worst body is quotio::accounts::adopt::vault at line 75), 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(accounts): preserve logical IDs and receipts during adoption\u201D; \u201Cfix(cli): ask for Keychain access when adopting a former app vault\u201D; \u201Cfix(cli): stop re-importing native preferences once adoption is done\u201D; \u201Cfix(cli): defer the adoption marker until the former config is seeded\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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/accounts/adopt.rs\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":"apps/cli/src/accounts/adopt.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c80a892a95ba6380aff42ca1251c8ab236f34b262e7ac93cd9ea4e2616fbc53"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: apps/cli/src/providers/catalog/devin_desktop.rs: apps/cli/src/providers/catalog/devin_desktop.rs 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 11 (its worst body is quotio::providers::catalog::devin_desktop::parse_usage at line 179), 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(devin): expose percent consumption for progress metrics\u201D; \u201Cfix(devin): merge native sessions by user and show account email\u201D; \u201Cfix(auth): reject unsafe Devin native credential destinations\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 02:09:55 \u002B00:00\u0027 --until=\u00272026-11-11 02:09:55 \u002B00:00\u0027 --full-history --no-merges -- apps/cli/src/providers/catalog/devin_desktop.rs\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":"apps/cli/src/providers/catalog/devin_desktop.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"57db2cd578ed4ae3b5335556446083f633a3070c705a4d62a3edf04904529d59"}},{"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 \u0060apps/macos/Quotio.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/macos/Quotio.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b403e3149114cbe552767b8717003e7d0689e44e77abb184e9ee490c0adbab4b"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060requestId\u0060 spells \u0060Id\u0060 where 192 names in the project spell it \u0060ID\u0060: 192 of 197 names in project Packages~QuotioCore~QuotioApplication spell the token \u0060ID\u0060 (192 of 197; unit: names in project Packages~QuotioCore~QuotioApplication containing \u0060ID\u0060). Peers: AccountManaging.setDisabled(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:97); AccountManaging.delete(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:98); AccountManaging.setSourceEnabled(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:100); AccountManaging.unlinkSource(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:101); AccountManaging.saveAPIKey(providerID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:102). Rename to \u0060requestID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioApplication/Warmup/ProxyWarmupExecutor.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"070acc94b8c50164a4a9c6615af34d36b279466db0d884f3951d4d9452a62e7f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060sessionId\u0060 spells \u0060Id\u0060 where 192 names in the project spell it \u0060ID\u0060: 192 of 197 names in project Packages~QuotioCore~QuotioApplication spell the token \u0060ID\u0060 (192 of 197; unit: names in project Packages~QuotioCore~QuotioApplication containing \u0060ID\u0060). Peers: AccountManaging.setDisabled(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:97); AccountManaging.delete(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:98); AccountManaging.setSourceEnabled(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:100); AccountManaging.unlinkSource(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:101); AccountManaging.saveAPIKey(providerID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:102). Rename to \u0060sessionID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioApplication/Warmup/ProxyWarmupExecutor.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbe1e682063a30501649701b4b753cd4042ccf32455ef475b054f2138251c7c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060tierId\u0060 spells \u0060Id\u0060 where 192 names in the project spell it \u0060ID\u0060: 192 of 197 names in project Packages~QuotioCore~QuotioApplication spell the token \u0060ID\u0060 (192 of 197; unit: names in project Packages~QuotioCore~QuotioApplication containing \u0060ID\u0060). Peers: AccountManaging.setDisabled(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:97); AccountManaging.delete(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:98); AccountManaging.setSourceEnabled(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:100); AccountManaging.unlinkSource(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:101); AccountManaging.saveAPIKey(providerID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:102). Rename to \u0060tierID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioDomain/Quota/QuotaModels.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"e923043bae1807ae14ed2a7d3163d39bdc82f0d794421a9a722b47ba572fb212"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060accountId\u0060 spells \u0060Id\u0060 where 192 names in the project spell it \u0060ID\u0060: 192 of 197 names in project Packages~QuotioCore~QuotioApplication spell the token \u0060ID\u0060 (192 of 197; unit: names in project Packages~QuotioCore~QuotioApplication containing \u0060ID\u0060). Peers: AccountManaging.setDisabled(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:97); AccountManaging.delete(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:98); AccountManaging.setSourceEnabled(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:100); AccountManaging.unlinkSource(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:101); AccountManaging.saveAPIKey(providerID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:102). Rename to \u0060accountID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e71abcac270cd76d206bf6cfbba3462fd95d042f065f0a1ef140e092accde4c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060accountId\u0060 spells \u0060Id\u0060 where 192 names in the project spell it \u0060ID\u0060: 192 of 197 names in project Packages~QuotioCore~QuotioApplication spell the token \u0060ID\u0060 (192 of 197; unit: names in project Packages~QuotioCore~QuotioApplication containing \u0060ID\u0060). Peers: AccountManaging.setDisabled(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:97); AccountManaging.delete(accountID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:98); AccountManaging.setSourceEnabled(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:100); AccountManaging.unlinkSource(sourceID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:101); AccountManaging.saveAPIKey(providerID) (Packages/QuotioCore/Sources/QuotioApplication/Accounts/AccountService.swift:102). Rename to \u0060accountID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIModels.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a64ccf99b931e55ed2c30b6e282af2babf4b02f50ae710c602baa72b6acf1d9"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060Packages/QuotioCore\u0060 (28069 LoC, 589 module-visible types across 52 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":"D27","level":"note","message":{"text":"High interface indirection: 38 % of calls go through an interface \u2014 tracing a call means resolving the implementation each hop. Prefer concrete types where there\u0027s a single implementation."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cdce37f9abf7531f8d28e92afaa9d119cadea0ab8dd2d3958949c20b31f486ec"}},{"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":"d746ec7cf4fae7076e8b54cf37c9fb7397e022244aea1eb37cd002783531ae55"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e86379b401a617c1d0c42f969c9807771a845859536edb0bd4a09cc6601ba84"},"taxa":[{"id":"CWE-89","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":"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":"a81bb0924ae76eb85d0d920f7adb74f10a056ddd9f5e3b56abc4785b7ead114f"},"properties":{"dependency":{"package":"github.com/sparkle-project/Sparkle","version":"2.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"010661098ed330f7c82ffb1c627f43c6c714fad0d8a3fb8e5806a344bdf5c589"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.13","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e517eaf257aad76bee6ee3af8b741ef3a01f787c0f2e98045b9f89a02e756f57"},"properties":{"dependency":{"package":"rustix","version":"1.1.5","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06f0b1ecbdc6763b852a0c1720fdf540e889fd1669600528e95e974aeb1b729a"},"properties":{"dependency":{"package":"glib","version":"0.18.5","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2024-0429"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"179cc3e3d94344cf0ba344f27f1223282d29472a6131c034513b5640925e77ad"},"properties":{"dependency":{"package":"instant","version":"0.1.13","advisory":"RUSTSEC-2024-0384","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3c1e3cf48f722c8afb362b5a9acd1b3d07b1e9e82fdf1c564673751c024019a9"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18a571e63db2d8e484e2c00b8b47bffab31b3c45c7de01f8fa78fe03c1edbbc3"},"properties":{"dependency":{"package":"proc-macro-error","version":"1.0.4","advisory":"RUSTSEC-2024-0370","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1166c4632efba6e7c81e5592cf796f0304f79b285ba264ed3da9b74a751646e"},"properties":{"dependency":{"package":"rustix","version":"1.1.5","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c796a759bd67b9b367387445e3fe49f77cada6213aa91e0db1dcec4eb2efca83"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.2.0","advisory":"RUSTSEC-2025-0134","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa062de66259b7fbd49db14ac711ca9c4ff245f00fba872f54289a6e26d0ff45"},"properties":{"dependency":{"package":"rustybuzz","version":"0.20.1","advisory":"RUSTSEC-2026-0206","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbab76dfeba84402c6b5c261361fc3db0477e635e7e2d28401bb28be926195e6"},"properties":{"dependency":{"package":"ttf-parser","version":"0.25.1","advisory":"RUSTSEC-2026-0192","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd92aee34cf7363e9f690546057272f95f080520ff72f5a4bffa1941edade61e"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.5","advisory":"RUSTSEC-2026-0371","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ab7ec0479f3b7ca3bed3859db573339d4c446a26997c74a56283d7463ea07b2"},"properties":{"dependency":{"package":"zvariant","version":"5.15.1","advisory":"RUSTSEC-2026-0370","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd939910d821e0283f631793250632b33f05735e255d1cda0f0cf0ef34bac715"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.15.1","advisory":"RUSTSEC-2026-0372","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9418fee864ec5694c898dac975c98e9c4fbd659362f1ccbd4195678e5ff659ba"},"properties":{"dependency":{"package":"github.com/sparkle-project/Sparkle","version":"2.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D32","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":"60829566ab47d68e7629321b5fddd304b17a5eb5c4581b207615c33be123eb1a"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: RootNavigationView.swift \u2194 CompositionRoot.swift: \u0060Packages/QuotioCore/Sources/QuotioPresentation/App/RootNavigationView.swift\u0060 (context QuotioCore) and \u0060apps/macos/Quotio/App/CompositionRoot.swift\u0060 (context macos) sit in DIFFERENT parts of the tree yet change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00602bd21cce\u0060 fix(macos): restore cliproxyapi management and lifecycle; \u00608e434313\u0060 refactor(macos): remove retired services from the production graph; \u0060fa16a824\u0060 refactor(macos): render account and quota state from host snapshots \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioPresentation/App/RootNavigationView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9855d3b44fa735feabfddd0a62595ead4b9e323e775b2d5942ce8a8c6dedfc70"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: QuotioCLIBackend.swift \u2192 QuotioCLIServerProcess.swift, AccountsScreenModel.swift, QuotaFeatureController.swift: \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift\u0060 changes together with 3 other files \u2014 \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIServerProcess.swift\u0060, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Accounts/AccountsScreenModel.swift\u0060, \u0060Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaFeatureController.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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIBackend.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04857233aece66648ddf75029484acb9a0db2ab0e5a58238296fa0b7ff83e598"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: QuotaPorts.swift \u2194 QuotioCLIModels.swift: \u0060Packages/QuotioCore/Sources/QuotioApplication/Quota/QuotaPorts.swift\u0060 and \u0060Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLIModels.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 \u0060fa16a824\u0060 refactor(macos): render account and quota state from host snapshots; \u006024a03435\u0060 fix(accounts): retry native discovery and isolate source failures; \u006099d89fba\u0060 feat(macos): organize connections around provider settings \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioApplication/Quota/QuotaPorts.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b525af5837d95b0e0f9d9b0e55684a549030f60d564b23c52e7551b91ea96f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config.rs \u2194 tests.rs: \u0060apps/cli/src/config.rs\u0060 and \u0060apps/cli/src/server/tests.rs\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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; 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 \u00603262c1ab\u0060 fix(host): persist disabled borrowed sources across refreshes; \u006065d7ad0d\u0060 feat(host): schedule native discovery using persisted tracking settings; \u006027d44130\u0060 fix(usage): preserve helper account and refresh semantics \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/cli/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7588c1b841346d87d0f44dd986664f75e88f5625fe2c783f5c6b1431e09856d5"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AXO1","level":"warning","message":{"text":"API operation answered with no credentials: GET /health: http://127.0.0.1:6767/health returned HTTP 200 to two GET requests carrying nothing. Observed on the live app. We do not decide whether this operation is meant to be public. Advisory evidence for CRA Annex I (2)(d) and NIS2 IR.4.1."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"268f40d588f3249380117a4882ad8bc5ad08cc667c5911278b2740072624e6c8"}},{"ruleId":"AXO1","level":"warning","message":{"text":"API operation answered with no credentials: GET /openapi.json: http://127.0.0.1:6767/openapi.json returned HTTP 200 to two GET requests carrying nothing. Observed on the live app. We do not decide whether this operation is meant to be public. Advisory evidence for CRA Annex I (2)(d) and NIS2 IR.4.1."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e088929a9a4c90dc3f3fb5d34d1e8014f52d2dd3e19229bbe6a5a26d2378f34"}},{"ruleId":"AXO1","level":"warning","message":{"text":"API operation answered with no credentials: GET /v2/providers: http://127.0.0.1:6767/v2/providers returned HTTP 200 to two GET requests carrying nothing. Observed on the live app. We do not decide whether this operation is meant to be public. Advisory evidence for CRA Annex I (2)(d) and NIS2 IR.4.1."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f57b3c1e42b033e581ddcb161c8fa78c3bacf5a9b7cc9e4dd4f1d6089f4fdf57"}},{"ruleId":"AXO1","level":"warning","message":{"text":"API operation answered with no credentials: GET /v2/settings: http://127.0.0.1:6767/v2/settings returned HTTP 200 to two GET requests carrying nothing. Observed on the live app. We do not decide whether this operation is meant to be public. Advisory evidence for CRA Annex I (2)(d) and NIS2 IR.4.1."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"39d626a2d08b38f0f0e2fd492ae7e7f12f5c293dfac62a3893c73365de157188"}},{"ruleId":"AXO1","level":"warning","message":{"text":"API operation answered with no credentials: GET /v2/status: http://127.0.0.1:6767/v2/status returned HTTP 200 to two GET requests carrying nothing. Observed on the live app. We do not decide whether this operation is meant to be public. Advisory evidence for CRA Annex I (2)(d) and NIS2 IR.4.1."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"795a174b966c1bf38fe7c662a4d0cac6d8d6b21bc97bafba70c44da0f21b8a15"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 4/6 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060apps/ios\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/cli/src/usage.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d65fbef05e313845438bcc36f73c2557f98ec9807f67b207ceee5185aa9a07d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/desktop/src/updater.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c8123bc2b926e982e4516c0443a90317da140719157a4d82b8e67528148061"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060killHelpers\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Antigravity/AntigravitySystemAdapters.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c150049b984980453358d14abe601945f11f8c2aee1fdc99c3b14c84953f769"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Lifecycle/ContinuousSleeper.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2af7a95b691bbe2281cf0ef6fd8b9f76ba4f3040eac2cfe58bb405a4117d4b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060killProcesses\u0060 is async and calls .waitUntilExit() \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Packages/QuotioCore/Sources/QuotioInfrastructure/Process/ProxyProcessController.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b516c19ec54e06e0f508088963ce3985866150060073429ed8393ec21f09f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rest.is_empty() || rest.starts_with([\u0027/\u0027, \u0027\\\\\u0027])\u0060 appears character-identically in 2 files \u2014 apps/desktop/src/ui/settings/connect.rs, apps/desktop/src/ui/settings/privacy.rs. 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":"apps/desktop/src/ui/settings/connect.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76217a772ae782257d8fe0c3b8d1dc7d0e623fc68eb8a38fe7e84083b9aa78c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060components.path.isEmpty || components.path == \u0022/\u0022\u0060 appears character-identically in 2 files \u2014 Packages/QuotioCore/Sources/QuotioApplication/CustomProviders/CustomProviderService.swift, apps/ios/Sources/QuotioMobile/Connection.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":"Packages/QuotioCore/Sources/QuotioApplication/CustomProviders/CustomProviderService.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda0ed109a8d14214e74672e6441c83d9870ead76ab6478d28169e87caeead4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == .starting || status == .stopping\u0060 appears character-identically in 2 files \u2014 Packages/QuotioCore/Sources/QuotioDomain/Tunnel/TunnelModels.swift, Packages/QuotioCore/Sources/QuotioPresentation/Components/TunnelStatusBadge.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":"Packages/QuotioCore/Sources/QuotioDomain/Tunnel/TunnelModels.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f1d90a011bd6dcba48bf7cb3d9bcdec83ceb81aff99702c600dbe0611b5995"}},{"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":"apps/macos/Quotio/App/AppRuntime.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda6bf534a2a3a9ba1336dc5b0008b6faade17aa1bb752706214379311d9e4b0"}},{"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":"apps/ios/QuotioWidgets/QuotioWidgets.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"66586ebd80ba38dc2ddc5b1938f0509821523932de37bc2caba1e2f8ec222f90"}},{"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":"apps/ios/QuotioIOS/RootView.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"38077a08c59bd11c5167f215326cba0b428d4eb69c5adecb4aa0da43475ea6b4"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountSettingsRow.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dd7f9c3e818bc7f288fc86fef203ab56555e5ecf5982316bf2e9d5af901917"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountStorageAccessSection.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"585796ec6fd2c931b4a37ceaed06fb40ec850d3b0a70104a20f47b7f09d04eb8"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae064af141380cf39be4a24ee71b33afc7086f6676b278b61701998c5b39a5c2"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a26acec42548e2deff52465cf9b5536a772b7bae91b37d9982d3cae5dc406a"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreen.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cda0b8f60729007def078f636914e908cfa02d3f216e4e24b5e75673131699"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/AccountsSettingsScreenModel.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead3f087c2a44051b1891d84b125dd0afe7a46f7a9186d4a92a36f1fc3a18dc3"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/CompanionPairingView.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eb78770ba8c8393879cd1adb2c327667653e40ba60e26971ed9b0cdb39cfa7"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/LocalAccountConnectionSheet.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4550e607dd17b5bc2450f6668770f5eba96d0033d58779a67d4fe0ee1ead5d"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/LoginSourceMenu.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc47d4e011802b29eb13289aef38c2537027d1fd62ebfcebd3b08d74fd750dd4"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Settings/NativePermissionSheet.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"845fafb87f7dd8037e5ecefa8ed4bb7c8d6bdc6025e52086c718cd1ee0d3b54d"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Quota/QuotaFeatureController.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe24424df2266818aab4ca93f10b55864d8314c8b91581236c168e5e6cf61a2"}},{"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":"Packages/QuotioCore/Sources/QuotioPresentation/Logs/LogsScreenModel.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3463d62f1aa32db1109193c01ad134fa530b0d1ef4a2186c27790699ba03f0c"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Updates/GitHubAtomProxyUpdateFeed.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b12505784e7b44560e90fb1d7c170451a74d30d61161105209b22d38a99d40"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Tunnel/CloudflaredService.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ee8757639a6fa1fb6ecf15e4c0333f19f2029f32edc74f707dac0421e28cbb"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0e2a179e0e16601681fe49e55da52bb7475813253c781e90d50d12aa28739d"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/QuotioCLI/QuotioCLILegacyAccountMigration.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4533d241990755b673bb44eb8f13358741131e823089493902afdb13d695fb72"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Process/ProxyProcessController.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffabc8b48d6016afb5a6dd030134a19fd75997111d16420e9ade8c686fa6703"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Platform/UserNotificationCenterAdapter.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e5f3b85fcee57fe15ca1b7d53bef4cd008b1a92e0c9cc8daef92b2bc690e98"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/HTTP/ProxyNetworkAdapters.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af9810dde1d12c51e561bbd4e280497dc527fab77fc90f042e3162982e7e8a8"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/YubiKeySecretVault.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94e341eea8d00b9d3b31400a672a639d295c2a71544bcd22c14262864972d25"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/FileAntigravityAuthWorkaround.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adc7954f3acb0a1d0a7a4fa679902c30236dcd8f029cdf5f908d5b5c00b948e"}},{"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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Accounts/LocalProxyOAuthAuthorizer.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7daf637cb84aced649220869d751c7c18422acf5999c60ed3b8064daf97ef6"}},{"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":"Packages/QuotioCore/Sources/QuotioApplication/Warmup/WarmupSchedulerService.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9be660a433cbd49ff40b4ffc5c363c92b3c4aa3387b88ff0d6d1b5e7a821371"}},{"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":"Packages/QuotioCore/Sources/QuotioApplication/Warmup/WarmupSchedulerService.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17cb40a63dad476d77a5cadb6e52f867c98ad098c30e23b22d29424928369d2"}},{"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":"Packages/QuotioCore/Sources/QuotioApplication/Tunnel/TunnelLifecycleController.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5ce93c7992d4c65fe67c7a6b3d2b20c491af0fb21fb0c42f5498121f07c209"}},{"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":"Packages/QuotioCore/Sources/QuotioApplication/Tunnel/TunnelLifecycleController.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3204fbe8cf5123586a5a41fb71e8746fa23e842ebca19563760752c96dcf2d"}},{"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":"Packages/QuotioCore/Sources/QuotioApplication/Tunnel/TunnelLifecycleController.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15e5a7954e77eca0c173dbc3eb1b3e8d27e460ac9baf284bd0c25c8dfadeb58"}},{"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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyLifecycleController.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c7ef1191cb896d4d3655c11f77de1064408be1d1f692aee7c45775fe3d935f"}},{"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":"Packages/QuotioCore/Sources/QuotioApplication/Proxy/ProxyUpdatePollingController.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1b2bd6d7fa06968eb2da0149e0fb5f535c5a9c9eb243603744855225ce758c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060models\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":"Packages/QuotioCore/Sources/QuotioApplication/Warmup/WarmupSchedulerService.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca7e18f737ae50a89b2634ea350bd906a0b211ef6a44b2ec732ff8fa84f8d63"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060scanAllAuthFiles\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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Credentials/FileAuthFileRepository.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"303bfcf2c1626b360867f9c050c319138f9ef86d09b16a51dad8776bb4f11f50"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060topLevelSectionRanges\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":"Packages/QuotioCore/Sources/QuotioInfrastructure/CustomProviders/CustomProviderAdapters.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"210f41cf385fbf9aee4fcd658c6442a3e584eb65388c499bee16aea33eb0fb52"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listInstalledVersions\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":"Packages/QuotioCore/Sources/QuotioInfrastructure/Proxy/FileProxyVersionRepository.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"be42c5ca2183109c9a01d0cdce977ce68e1e4345433b7d76e224aa562df0aa97"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060timestamp\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown\u0022.into()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\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 on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/cli/src/output/text.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"981a5e150775c5ff735e8b823ff446edf717da9adf17a7cbf9a992399d16ee22"}}],"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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":21,"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."]}]}