{"$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":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TweaksViewModel.onAction (cyclomatic 177): TweaksViewModel.onAction has cyclomatic complexity 177 (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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbc404bd44c84b9b40f87e15bb16dcf15eca61dc4d71670b47eb5f1eeaac280"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsViewModel.onAction (cyclomatic 76): DetailsViewModel.onAction has cyclomatic complexity 76 (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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dccd5658dbad88a2355d4d8e56036262b53f249c32f40f7a3c4daff52bfe7a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppsViewModel.onAction (cyclomatic 70): AppsViewModel.onAction has cyclomatic complexity 70 (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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"be35ee32d30bbf3c7d6e08c2ec1681759cbba5d578f2ebda81d235c7dd682a4c"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchViewModel.onAction (cyclomatic 56): SearchViewModel.onAction has cyclomatic complexity 56 (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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d06add4157ff52c04bffe4d4c7eb1d552cec87fffe592ae3a615a25df0f1ace"}},{"ruleId":"D1","level":"warning","message":{"text":"PreprocessMarkdownKt.preprocessMarkdown (cyclomatic 44): PreprocessMarkdownKt.preprocessMarkdown has cyclomatic complexity 44 (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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/utils/preprocessMarkdown.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d15cdb766f9f4e61426b8d54b449332e4edb5c6101cdbdc99ae69139458f2f"}},{"ruleId":"D1","level":"warning","message":{"text":"SmartInstallButtonKt.SmartInstallButton (cyclomatic 42): SmartInstallButtonKt.SmartInstallButton has cyclomatic complexity 42 (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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dfaee576526eb19b9cce3ce57bdf908a69fdb64fc8c6b9c0de88bf1022cef6"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsViewModel.loadInitial (cyclomatic 41): DetailsViewModel.loadInitial has cyclomatic complexity 41 (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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2772}}}],"partialFingerprints":{"codehealthFindingId/v1":"59385715afae61a10b78527e2f84f8882ad93bd37d0d6fa897320125fb3733d0"}},{"ruleId":"D1","level":"warning","message":{"text":"KomiTextFieldKt.MangaTextField (cyclomatic 37): KomiTextFieldKt.MangaTextField has cyclomatic complexity 37 (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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiTextField.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d766d47d6db41dfc090608776c921b7373f38f230394d1b2b1c836be4db6dbbe"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchRootKt.SearchScreen (cyclomatic 34): SearchRootKt.SearchScreen has cyclomatic complexity 34 (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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a592aa7d8bfe11f087298db34cb6fc82d78ea45c6c6441d935beffbce997d15a"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateVerdict.decide (cyclomatic 33): UpdateVerdict.decide has cyclomatic complexity 33 (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":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/UpdateVerdict.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebda6ea632301306c0cb64bc7b8a276297d1f5a2b30952e68681b4d690b9dbd"}},{"ruleId":"D1","level":"warning","message":{"text":"AppsViewModel.updateSingleApp (cyclomatic 33): AppsViewModel.updateSingleApp has cyclomatic complexity 33 (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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a42a1d73c36da814fab2d1ee706fd4bc896ff7473a1babc889ba5c03d3efad6"}},{"ruleId":"D1","level":"warning","message":{"text":"generate-all-sources.add_plugin_markers (cyclomatic 32): generate-all-sources.add_plugin_markers has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packaging/flatpak/generate-all-sources.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb94b0799f2a569a947f4a2ea2c87cfe39efa65cec526a961dca94798232af4f"}},{"ruleId":"D1","level":"warning","message":{"text":"TweaksRootKt.TweaksRoot (cyclomatic 28): TweaksRootKt.TweaksRoot has cyclomatic complexity 28 (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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a3e0af64bb9cad362b07b40e3ac860069149d1f9bd7389c4736efa90c4d6de"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidDownloader.downloadAttempt (cyclomatic 27): AndroidDownloader.downloadAttempt has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9838a48f3cf959cf3c3e08eff9f1b22aca1840651fd541d5da00b96f2ed2770c"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopDownloader.downloadAttempt (cyclomatic 27): DesktopDownloader.downloadAttempt has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0167a10e730717c049fb1627e8b2a0adf63ce294588370b8a0a50185e196ad3a"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsRepositoryImpl.spdxFromLicenseHeader (cyclomatic 27): DetailsRepositoryImpl.spdxFromLicenseHeader has cyclomatic complexity 27 (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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"af50da7710518c00cbdc9bf7027e6ff31414023a51abe3f0cfcdf0a326ee06d8"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepLinkParser.parse (cyclomatic 25): DeepLinkParser.parse has cyclomatic complexity 25 (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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/deeplink/DeepLinkParser.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c173b614636b71ef3ccf95a6078d8e2e7f1a0f39bd886de01e81bd54156dbbe"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalImportRootKt.ExternalImportRoot (cyclomatic 24): ExternalImportRootKt.ExternalImportRoot has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportRoot.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b215431de4526f7fb809341860d4c4a27404f033b14890270af83c9361bc2b"}},{"ruleId":"D1","level":"warning","message":{"text":"DeveloperProfileRepositoryImpl.checkReleaseInfo (cyclomatic 24): DeveloperProfileRepositoryImpl.checkReleaseInfo has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff834df68a48901a0ce4cc6e4b35c360ba39dc60285e3e3d29b2f875e2eecca"}},{"ruleId":"D1","level":"warning","message":{"text":"FeedViewModel.onAction (cyclomatic 23): FeedViewModel.onAction has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa20a8bb1881da243d6e39a07f1a7ab2963019a0ecc0e2d2cd137a5390bb1a4"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeViewModel.onAction (cyclomatic 23): HomeViewModel.onAction has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be0d138a636152c36f57fd76dd4a6a03966d52e5a919d8609220aadb72ea97c"}},{"ruleId":"D1","level":"warning","message":{"text":"AppNavigationKt.AppNavigation (cyclomatic 22): AppNavigationKt.AppNavigation 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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4091c23cf25a4238540af1a8d7c20e02c509624aa159f92701d1892f300c0c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"KomiButtonKt.MangaButton (cyclomatic 22): KomiButtonKt.MangaButton 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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dc095f953a792c63a537b7c9be4c51b825b751a02a033a1e86c24db4f87fb5"}},{"ruleId":"D1","level":"warning","message":{"text":"KomiChipKt.MangaChip (cyclomatic 22): KomiChipKt.MangaChip 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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c08a2e21df90f31bc9572f73483d2b58470f7286725fca4add5050f36331dc2"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyRepositoryImpl.migrateIfNeeded (cyclomatic 21): ProxyRepositoryImpl.migrateIfNeeded 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/ProxyRepositoryImpl.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86b03b677ca7c93b51efa225852290e2558912ee4501539f34d4a80743b6f67"}},{"ruleId":"D1","level":"warning","message":{"text":"KomiBadgeKt.KomiBadge (cyclomatic 21): KomiBadgeKt.KomiBadge 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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/badge/KomiBadge.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df8545ca8b823a350223ccc98055acbb1a007e2ca9a3ec97eaa66420a93d3e"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsViewModel.observeOrchestratorEntry (cyclomatic 21): DetailsViewModel.observeOrchestratorEntry 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d55a62f0b385631783eb140842f963ce0a33e430dfa1b78e6aa8f3bc32a6fa"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsViewModel.refresh (cyclomatic 21): DetailsViewModel.refresh 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":3204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb50ab0664fdac2eb4e0afb6592ceb069d5bfe9a845b93338f316128575ebec"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeRepositoryImpl.searchReposWithInstallersFlow (cyclomatic 21): HomeRepositoryImpl.searchReposWithInstallersFlow 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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ed1174444a0164f97db4cef07ff8a3f4aedefeb95135f60448925dbf305bc4"}},{"ruleId":"D1","level":"warning","message":{"text":"generate-all-sources.main (cyclomatic 21): generate-all-sources.main 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":"packaging/flatpak/generate-all-sources.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a943d4d706e64dd3e13381de5d36e5a4c9c8bfe9e3a93298cd526670af0906ab"}},{"ruleId":"D1","level":"warning","message":{"text":"KomiSurfaceKt.MangaSurface (cyclomatic 20): KomiSurfaceKt.MangaSurface 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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/surfaces/KomiSurface.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb653bf31229d5b3a503f0215caed49c16bd035eb700c6773a1fc983fbdc1dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthenticationRepositoryImpl.awaitDeviceToken (cyclomatic 20): AuthenticationRepositoryImpl.awaitDeviceToken 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":"feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/repository/AuthenticationRepositoryImpl.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16ccff459131ebb61b637de699db4fcf93fbb17e9faf58e3539c293b100faac"}},{"ruleId":"D1","level":"warning","message":{"text":"DetailsRootKt.DetailsRoot (cyclomatic 20): DetailsRootKt.DetailsRoot 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bb16047ad5aefdbf445741b7cb306648d43f6c790efc5d032290a33ddebc8d"}},{"ruleId":"D1","level":"warning","message":{"text":"HandleDesktopToolbarDeeplinksKt.HandleDesktopToolbarDeeplinks (cyclomatic 19): HandleDesktopToolbarDeeplinksKt.HandleDesktopToolbarDeeplinks has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/utils/HandleDesktopToolbarDeeplinks.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db609eb03525e1cc376ef0c1b07f01830cd38c38c41a414ad863880ea360b67"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopAppLauncher.launchLinuxApp (cyclomatic 19): DesktopAppLauncher.launchLinuxApp 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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8141b9033d5f876ad7531987cc6b5b29ad55dac9100494b42bae812fe338d6"}},{"ruleId":"D1","level":"warning","message":{"text":"SyncInstalledAppsUseCase.reconcileEnumerable (cyclomatic 19): SyncInstalledAppsUseCase.reconcileEnumerable has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/use_cases/SyncInstalledAppsUseCase.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a0cb4fc82f55fe8ac0ae94dc6e8c41a86a4e1faa9c51beaa470105958dd43f"}},{"ruleId":"D1","level":"warning","message":{"text":"KomiRepoCardKt.KomiRepoCard (cyclomatic 19): KomiRepoCardKt.KomiRepoCard has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/KomiRepoCard.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"589a7ebe894ecd356ba2bcdb2c1e8ff6479222b7512c530fcabf3c07d262b695"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopSidebarKt.DesktopSidebar (cyclomatic 18): DesktopSidebarKt.DesktopSidebar has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e74424a6abe47b379378e45c1f5ce68e884c374ab93c03a3f16be17b5c3e17e"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopInstaller.determineLinuxPackageType (cyclomatic 18): DesktopInstaller.determineLinuxPackageType has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b030312011c1898d9690f9faeef02e2a77bf2c0d919516c9fc44872ad2cfed2c"}},{"ruleId":"D1","level":"warning","message":{"text":"KomiListKt.KomiListRow (cyclomatic 18): KomiListKt.KomiListRow has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/lists/KomiList.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8292cdb6bf528acd98dbdea6e6766d0769640541250e6e3b1bb09c2a09b9f654"}},{"ruleId":"D1","level":"warning","message":{"text":"AppsRootKt.AppsScreen (cyclomatic 18): AppsRootKt.AppsScreen 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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsRoot.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"86132312d97a2c323882bb02e0e4fef0264e62a1d0c8b6764fd6d305bfe43b83"}},{"ruleId":"D1","level":"warning","message":{"text":"HeaderKt.header (cyclomatic 18): HeaderKt.header 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/Header.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36abebc2cd47de805e23d0aaa447ef85a97ddf9cad775a5c74237dc31dd98f4"}},{"ruleId":"D1","level":"warning","message":{"text":"DhizukuInstallerServiceImpl.installPackage (cyclomatic 17): DhizukuInstallerServiceImpl.installPackage has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0852d1faf379a04abae75d42536e6431b7e37ab99f6ddee9d819c1bf474f8ba"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultDownloadOrchestrator.runDownload (cyclomatic 17): DefaultDownloadOrchestrator.runDownload has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"929a7b6fdf935a4ae9b39a2d52284ab59c5596d13aaf008b15e364ab85d06ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopAppLauncher.launchWindowsApp (cyclomatic 17): DesktopAppLauncher.launchWindowsApp 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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d195f5192d55106079520e18ea43ccf1214cc38f1194f85e737bc73b6a7a3e"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkAppBottomSheetKt.PickAssetStep (cyclomatic 17): LinkAppBottomSheetKt.PickAssetStep has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7d36c1eed2eb3dd45187774e5fdad9d4f4c9321468127f40089941b44d091b"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeRepositoryImpl.calculatePlatformScore (cyclomatic 17): HomeRepositoryImpl.calculatePlatformScore 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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9099d26e467ba3fccc4b56dbfe7beb18d022dcc9eb62cf3199471b26239ced"}},{"ruleId":"D1","level":"warning","message":{"text":"PasteProxyUrlSheetKt.parseProxyUrl (cyclomatic 17): PasteProxyUrlSheetKt.parseProxyUrl has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/connection/PasteProxyUrlSheet.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d5bfd5ddc6c4b8acdae24a7e334c1361ee6e46ea30b7671e0dabe89525ad94"}},{"ruleId":"D1","level":"warning","message":{"text":"DeepLinkParser.isStrictlyValidOwnerRepo (cyclomatic 16): DeepLinkParser.isStrictlyValidOwnerRepo 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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/deeplink/DeepLinkParser.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b6fd6cb82ad26f0b360355d637fba0a5a7184fa4d6d1e3c3ffcec6fdc43c1"}},{"ruleId":"D2","level":"warning","message":{"text":"TweaksViewModel.onAction (cognitive 152): TweaksViewModel.onAction has cognitive complexity 152 (threshold 15). Drivers by points: if/else 41 (80 pts), error handling 24 (54 pts), boolean chains 13, match/switch 3 (5 pts) (nesting depth added 71). 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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"621edf3b6afb2efccd5a3acd83a949893d4a764a686666606b5dc4053dcec6b1"}},{"ruleId":"D2","level":"warning","message":{"text":"PreprocessMarkdownKt.preprocessMarkdown (cognitive 74): PreprocessMarkdownKt.preprocessMarkdown has cognitive complexity 74 (threshold 15). Drivers by points: if/else 46 (54 pts), boolean chains 11, loops 3 (5 pts), match/switch 2 (4 pts) (nesting depth added 12). 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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/utils/preprocessMarkdown.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9d9b7d5567bd24d2e0d1bda2ae44de48abee283c02f603aca7bbf9e2c84f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"KomiTextFieldKt.MangaTextField (cognitive 57): KomiTextFieldKt.MangaTextField has cognitive complexity 57 (threshold 15). Drivers by points: if/else 43 (48 pts), boolean chains 7, match/switch 2 (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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiTextField.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0806ca350c9a303ea9ba84475e84306a07a733d2ac3ad57d6f5566210ac1dfd2"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchViewModel.onAction (cognitive 51): SearchViewModel.onAction has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (28 pts), error handling 10 (20 pts), boolean chains 2, match/switch 1 (nesting depth added 23). 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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"9710fc2ed21a379d663c37dd804b1097bf8f07084ccc86c5bbee730a5a8501f3"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-all-sources.main (cognitive 51): generate-all-sources.main has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (39 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packaging/flatpak/generate-all-sources.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b8a860f0e4679f07e93a5807bac00ec87cb5503f7aee793603d255ea5c6fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsViewModel.loadInitial (cognitive 48): DetailsViewModel.loadInitial has cognitive complexity 48 (threshold 15). Drivers by points: error handling 24, if/else 17 (20 pts), boolean chains 3, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2772}}}],"partialFingerprints":{"codehealthFindingId/v1":"97658d074bed0607d0d88fa21cd141a9f19f52376dd01f5c800f5f4fc760779b"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-all-sources.add_plugin_markers (cognitive 45): generate-all-sources.add_plugin_markers has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 8, loops 5 (8 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packaging/flatpak/generate-all-sources.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9473e68882a5fb5bd4be466ffda8884ad633623bb162afc11689a79f61afe6da"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartInstallButtonKt.SmartInstallButton (cognitive 41): SmartInstallButtonKt.SmartInstallButton has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 21, if/else 13 (15 pts), match/switch 4 (5 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2247b20475776cdd2fadb4fb12e724f062513afd25dad775ed59f7536bc9f457"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchRootKt.SearchScreen (cognitive 41): SearchRootKt.SearchScreen has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 14 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69422112ef7747af4858633e3733264b24f8b0a51171ea8bb3ca3dd0c936f40"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeRepositoryImpl.searchReposWithInstallersFlow (cognitive 40): HomeRepositoryImpl.searchReposWithInstallersFlow has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (26 pts), error handling 3 (6 pts), boolean chains 5, loops 2 (3 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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d006e3e8274f295f46dbf8c33a08c44801018114c36a5258e5c6e323ec6deb"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidDownloader.downloadAttempt (cognitive 36): AndroidDownloader.downloadAttempt has cognitive complexity 36 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 4, error handling 2, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c416dbb26c508bc27a3ef2169de1017f1d6ab42b5f9d621401a96dc8ae936086"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopDownloader.downloadAttempt (cognitive 36): DesktopDownloader.downloadAttempt has cognitive complexity 36 (threshold 15). Drivers by points: if/else 23 (29 pts), boolean chains 4, error handling 2, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb65799abcfcf73b5549b53f5a0d869c199a67d29267d6688300fcf75222dcf"}},{"ruleId":"D2","level":"warning","message":{"text":"KomiBadgeKt.KomiBadge (cognitive 36): KomiBadgeKt.KomiBadge has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 5, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/badge/KomiBadge.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"911aa15beea4831e8cdb8656d3b9889bf67dee23fc4c5a39ffac8713787c1ce8"}},{"ruleId":"D2","level":"warning","message":{"text":"AppsViewModel.updateSingleApp (cognitive 36): AppsViewModel.updateSingleApp has cognitive complexity 36 (threshold 15). Drivers by points: error handling 16 (23 pts), if/else 9 (11 pts), match/switch 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a8a8a659ad7c4c87f03d4490b20e514321c45cc9e8aff05114d8051187e04a"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-all-sources.scan_gradle_cache (cognitive 36): generate-all-sources.scan_gradle_cache has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 5 (15 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packaging/flatpak/generate-all-sources.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a676fcae9c2c4689587fe8785f5a58edfe773a822f2854608a46a9146d305561"}},{"ruleId":"D2","level":"warning","message":{"text":"AppNavigationKt.AppNavigation (cognitive 35): AppNavigationKt.AppNavigation has cognitive complexity 35 (threshold 15). Drivers by points: if/else 27 (29 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f656f9916ae3d3b6eda974693e0f71d0f0b1152d2a800c4edb01c0f7333e35"}},{"ruleId":"D2","level":"warning","message":{"text":"KomiButtonKt.MangaButton (cognitive 33): KomiButtonKt.MangaButton has cognitive complexity 33 (threshold 15). Drivers by points: if/else 24, boolean chains 9. 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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"810495b5ec4a0227356627ebeb2fe77c7bbccc8e7bf104bfbc018493952f0e28"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopAppLauncher.launchWindowsApp (cognitive 32): DesktopAppLauncher.launchWindowsApp has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (5 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"74962b963d92bfd7cdf5718bc2389215207880e1771ef42ddcfaaeea2c72e61c"}},{"ruleId":"D2","level":"warning","message":{"text":"KomiChipKt.MangaChip (cognitive 32): KomiChipKt.MangaChip has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25 (26 pts), boolean chains 5, 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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"da25115326b0649f0137417c3e755ab92f932037a2ce753e67201d54e87ba308"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthenticationRepositoryImpl.awaitDeviceToken (cognitive 31): AuthenticationRepositoryImpl.awaitDeviceToken has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 3 (6 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/repository/AuthenticationRepositoryImpl.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c738cdb70ff4a07e52821daca6407bd8aa50eaf202cfe13f89be6b2f562898"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopSidebarKt.DesktopSidebar (cognitive 29): DesktopSidebarKt.DesktopSidebar has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 3, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3a0ca65f9e5ffaa969c8f600af9e3fcb40acb6e8143f2d097e9dcf0405d269"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultDownloadOrchestrator.runDownload (cognitive 29): DefaultDownloadOrchestrator.runDownload has cognitive complexity 29 (threshold 15). Drivers by points: error handling 7 (15 pts), if/else 7 (12 pts), loops 1, match/switch 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"de482fde84518b8fc4c9eb363ce57de039573d45d08c8a4a98553ca3bf262c53"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateVerdict.decide (cognitive 29): UpdateVerdict.decide has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 21, if/else 6, match/switch 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":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/UpdateVerdict.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec47660b385cef63d9d926df1f5c3d66e181991d518122d7dbb80ce4fe01cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsViewModel.refresh (cognitive 28): DetailsViewModel.refresh has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 10 (12 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":3204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09c9e7199feb1131ea5a0efaeeee94bf2586ea79c406b94a42e65f73d2ba97f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyRepositoryImpl.migrateIfNeeded (cognitive 27): ProxyRepositoryImpl.migrateIfNeeded has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (26 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/ProxyRepositoryImpl.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a49d54304e8076e301668b6eff71b8af9568610e9636b9110499dca4871107"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopAppLauncher.launchLinuxApp (cognitive 27): DesktopAppLauncher.launchLinuxApp has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, loops 3 (4 pts), error handling 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d4987e7c585680247d5e6150cbbe00ed8de2e91f9bf2ad693298f384ea7945"}},{"ruleId":"D2","level":"warning","message":{"text":"KomiRepoCardKt.KomiRepoCard (cognitive 27): KomiRepoCardKt.KomiRepoCard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23 (24 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/KomiRepoCard.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"619517aa121bf5a4deb12f27713fcf35b18ae7347a632f9f7bfd58d6a4b65dce"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsViewModel.observeOrchestratorEntry (cognitive 27): DetailsViewModel.observeOrchestratorEntry has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (19 pts), error handling 2 (4 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fa35c30d916d000911be976f6ef70a52fa0c224c49b1b25e3193d54e65b370"}},{"ruleId":"D2","level":"warning","message":{"text":"PersonalityTileKt.PersonalityTile (cognitive 27): PersonalityTileKt.PersonalityTile has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24 (27 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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/appearance/PersonalityTile.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"967eb6c454afc377abb2606af2d97a4c9642b74c8f23246576f5b3b1e6164c5c"}},{"ruleId":"D2","level":"warning","message":{"text":"AppsRootKt.AppsScreen (cognitive 26): AppsRootKt.AppsScreen has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 4, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsRoot.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3f08b81298242973ad3cbbee17dc19449a39093cdd265f37ccc0f2ce09f329"}},{"ruleId":"D2","level":"warning","message":{"text":"ReleaseAssetsPickerKt.ReleaseAssetsItemsPicker (cognitive 26): ReleaseAssetsPickerKt.ReleaseAssetsItemsPicker has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dca4f4c6a0e6e16ffc6e1aa39db3d5df1631fbb607a07d7d7837d56b73126a"}},{"ruleId":"D2","level":"warning","message":{"text":"KomiListKt.KomiListRow (cognitive 25): KomiListKt.KomiListRow has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19, boolean chains 4, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/lists/KomiList.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0f7e862765098be60675c20f6dbd8ad5050c96faaddbae82742460b2342629"}},{"ruleId":"D2","level":"warning","message":{"text":"DhizukuInstallerServiceImpl.installPackage (cognitive 24): DhizukuInstallerServiceImpl.installPackage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (14 pts), error handling 5 (8 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8073bf4f27a6f2a11b7c763784184bd20b9c71bb08b5532ba9d218b616f7ef7a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReleaseChannelKt.releaseChannel (cognitive 24): ReleaseChannelKt.releaseChannel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/ReleaseChannel.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24f786d42f9cf6730438e3a99e6e6233618fefb964ab68b7eaf04785c232773"}},{"ruleId":"D2","level":"warning","message":{"text":"UserSessionRepositoryImpl.getUser (cognitive 23): UserSessionRepositoryImpl.getUser has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), error handling 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/UserSessionRepositoryImpl.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"de21edaa0827bd38ea36c23ac6c3585295ac6db4d3306c65ab0959d537aeddb5"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageEventReceiver.onPackageInstalled (cognitive 22): PackageEventReceiver.onPackageInstalled has cognitive complexity 22 (threshold 15). Drivers by points: error handling 4 (10 pts), if/else 5 (9 pts), match/switch 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/PackageEventReceiver.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"27500566650cc1297b485329c2b21fdf556373830b9c8e70591bbd978f6c1dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"KomiActionRowKt.KomiActionRow (cognitive 22): KomiActionRowKt.KomiActionRow has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (19 pts), match/switch 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiActionRow.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4951ca314c65640dfe2bd158de88a84c27a78a11567aa47900ef98526c91797"}},{"ruleId":"D2","level":"warning","message":{"text":"KomiSurfaceKt.MangaSurface (cognitive 22): KomiSurfaceKt.MangaSurface has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (17 pts), match/switch 3, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/surfaces/KomiSurface.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e558503870d454116ec9f4476b8215871ee3c0d77237e25cd36a074f99de6e8b"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAppBottomSheetKt.PickAssetStep (cognitive 22): LinkAppBottomSheetKt.PickAssetStep has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (17 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"0938e4f1a8795b5ff9287f78ce6fa2663c54a033d64697cba673b0f063cf6f47"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsViewModel.onAction (cognitive 22): DetailsViewModel.onAction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69fbd560c9a35623afb12245b5567cad6f70dcde9458b8a64734d9beec88441"}},{"ruleId":"D2","level":"warning","message":{"text":"DeveloperProfileRepositoryImpl.getDeveloperRepositories (cognitive 22): DeveloperProfileRepositoryImpl.getDeveloperRepositories has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 3, boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a712ac4715c276727c4c7dbfd91fe7f5b63b58895ddec3483a4a63f4dcbffed1"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidDownloader.download (cognitive 21): AndroidDownloader.download has cognitive complexity 21 (threshold 15). Drivers by points: error handling 5 (10 pts), if/else 5 (9 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cd826f72f095e963323f2f5cf6cac27d8241f90ba18de691e386cadca45c0a"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheManager.get (cognitive 21): CacheManager.get has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 4 (8 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/cache/CacheManager.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62c91167497c5575a99d9092e8c5c84a317cdeaea68020a174e8e974409dd13"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultDownloadOrchestrator.cancel (cognitive 21): DefaultDownloadOrchestrator.cancel has cognitive complexity 21 (threshold 15). Drivers by points: error handling 6 (16 pts), if/else 3 (4 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a0126763ec058930e774ad1708d67ee9ca9808f02b95ab9d4f8c000c6d59a1"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopDownloader.download (cognitive 21): DesktopDownloader.download has cognitive complexity 21 (threshold 15). Drivers by points: error handling 5 (10 pts), if/else 5 (9 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9713b0fee6456e2b0942caf93171a360be0f6883f5f4ddde08e2ecae5d9d8bcd"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopInstaller.determineLinuxPackageType (cognitive 21): DesktopInstaller.determineLinuxPackageType has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0055e4f2196767d2bc59d22734e7bef8601df03266e95720233a6c26eafdf94"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetVariant.extractTokens (cognitive 21): AssetVariant.extractTokens has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3, boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/AssetVariant.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5263b7a02dc3c55def4fb1184094b87319b8a1ff04efd0003ae3e7637c2f4440"}},{"ruleId":"D2","level":"warning","message":{"text":"AssetVariant.extractBaseStem (cognitive 21): AssetVariant.extractBaseStem has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/AssetVariant.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"198f294d2990e936419707213597548cac9081e576c6fd31bf55de43d72f57d8"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderKt.header (cognitive 21): HeaderKt.header has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/Header.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc803dda3e56e6b9822f6a78c96a6f018fd59ccddc285bcefc33433c955a8889"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeRepositoryImpl.calculatePlatformScore (cognitive 21): HomeRepositoryImpl.calculatePlatformScore has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2ec4cd368b12b6fa44a1b3e7951d9bb11582ef1ade86f0835fc32bacb2e273"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchViewModel.performSearch (cognitive 20): SearchViewModel.performSearch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), error handling 3, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c590216e286c03958198976c913f29edecd69b2681b18610e3fc47204640945a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalImportRepositoryImpl.resolveMatches (cognitive 19): ExternalImportRepositoryImpl.resolveMatches has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/ExternalImportRepositoryImpl.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9c34dbbae615a0b309b8817fc30f648b240657ae7b98adf8ca7dd2a41ff640"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackedReleaseResolver.resolve (cognitive 19): TrackedReleaseResolver.resolve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/TrackedReleaseResolver.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bca884bffa0d0386962b9e44e1575e0530b1dc186701a31223bea0c5cd13ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AppsRepositoryImpl.detectFormat (cognitive 19): AppsRepositoryImpl.detectFormat has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc82833b722c92957086dd77907c81bdaa9eac6e61309324e3f91d5cec0c243"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalImportRootKt.ExternalImportRoot (cognitive 19): ExternalImportRootKt.ExternalImportRoot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, match/switch 3 (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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportRoot.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3a93f261dd9f4ff4bdd9963328c0735e06dd24db75123e9e4cb04ff6c96afd"}},{"ruleId":"D2","level":"warning","message":{"text":"AppHeaderKt.HeaderPicture (cognitive 19): AppHeaderKt.HeaderPicture has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/AppHeader.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbba70be5e6a39a0ad86ed2d4331e87e4b045aaadfd8db66a1fa8652334d81e"}},{"ruleId":"D2","level":"warning","message":{"text":"TweaksRootKt.TweaksRoot (cognitive 19): TweaksRootKt.TweaksRoot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 3 (5 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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed4b6d6401a38359eb5b7f1707a3fe7d0909c24270ddacd1522478ff6dd3824"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsViewModel.installAsset (cognitive 18): DetailsViewModel.installAsset has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2395}}}],"partialFingerprints":{"codehealthFindingId/v1":"92849db7ca861d1bd4cc17c93b57f117b5f8228c6cc113f0d9ed0c120584bbe7"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopAppKt.main (cognitive 17): DesktopAppKt.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/jvmMain/kotlin/zed/rainxch/githubstore/DesktopApp.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"275abbb55bbd1b60a08076e358054ee15d4c0262bd7ac57ca5a86dc987a2fdda"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoUpdateWorker.showSummaryNotification (cognitive 17): AutoUpdateWorker.showSummaryNotification has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b4c0f0497cf8d70cc9494828c55e437d9b5fc68852f2cb1c7778979a92efc3"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultDownloadOrchestrator.runStandaloneInstall (cognitive 17): DefaultDownloadOrchestrator.runStandaloneInstall has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 4 (6 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f8529bc81b78710823b3194a5a77250d147e234b8e82a4484859b05d8a3d80"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassicTextFieldKt.ClassicTextField (cognitive 17): ClassicTextFieldKt.ClassicTextField has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/ClassicTextField.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"548bf76107867a383d32b284c9fa8103f12f82e53eaaff838f7f824747ea710a"}},{"ruleId":"D2","level":"warning","message":{"text":"DeveloperProfileRepositoryImpl.checkReleaseInfo (cognitive 17): DeveloperProfileRepositoryImpl.checkReleaseInfo has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 4, error handling 3, match/switch 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":"feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f969693a51fe5e8aae496a3c6b301b6dca507a9c5e56d4c6f4212eb84976bb67"}},{"ruleId":"D2","level":"warning","message":{"text":"PasteProxyUrlSheetKt.parseProxyUrl (cognitive 17): PasteProxyUrlSheetKt.parseProxyUrl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1, 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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/connection/PasteProxyUrlSheet.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51b70baeb4cd0b1bed700e12777984e45ef481261c75387907630979fa2172c"}},{"ruleId":"D2","level":"warning","message":{"text":"DeepLinkParser.parse (cognitive 16): DeepLinkParser.parse has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (6 pts), match/switch 1 (nesting depth added 3). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/deeplink/DeepLinkParser.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e09125d079dd9fb99a77ca2318250de993d4ff9758ee4d52c672745fd35bf61"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopSidebarKt.SidebarNavRow (cognitive 16): DesktopSidebarKt.SidebarNavRow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"267cdf8464b3a57606296aa8a16b440fbdb0fe6d3752167cb7e96d06a706529c"}},{"ruleId":"D2","level":"warning","message":{"text":"DownloadNotificationObserver.reconcile (cognitive 16): DownloadNotificationObserver.reconcile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/DownloadNotificationObserver.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"761ba753cd07c442d82019e3f78f59683e9bde3b736f450fef067e29b7299aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"MirrorRewriteInterceptorKt.installMirrorRewrite (cognitive 16): MirrorRewriteInterceptorKt.installMirrorRewrite has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/MirrorRewriteInterceptor.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc6ab0f59b051df81eae4b7b101f9e0c9ddc8f62482a0b348bd020aa7d6cf30"}},{"ruleId":"D2","level":"warning","message":{"text":"KomiTopBarKt.MangaTopBar (cognitive 16): KomiTopBarKt.MangaTopBar has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/bars/KomiTopBar.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2841a6052e05f2f141e5f151597ae70ee75407af800d45311fec06c60683950"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailsRepositoryImpl.getAllReleases (cognitive 16): DetailsRepositoryImpl.getAllReleases has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4041622944c431dc7300c09b80930e7ad8e87801ef4da5ec91ef743c2f355fab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppNavigationKt.AppNavigation: MethodTooLong \u2014 AppNavigation runs 687 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 587 over it, 6.87\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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"673b04c3d2dfdf455729c70671aa5afea2c69355ee24e62ce220cc25c58f3a2e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DetailsViewModel: ClassTooLong \u2014 2484 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 2084 over it, 6.21\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"908c1a3ab5b3971acb89b1ccccb2baead72335c770c2f7689e8078f596941b7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TweaksViewModel.onAction: MethodTooLong \u2014 onAction runs 607 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 507 over it, 6.07\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1859e2e7c86671b58b58d51f9565387970653e94c60fe08d240062e5a11428"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/DetailsViewModel.kt: FileTooLong \u2014 2617 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DetailsViewModel (138-3546). The bar is 500 significant lines; this is 2117 over it, 5.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c764a15c9728d732af8c82cb5de392eeac1df6bdb3e2ee78759b0ead79dbf19e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppsViewModel: ClassTooLong \u2014 1710 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 1310 over it, 4.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce231de22641536b1c46fe6887dbed5cab4e01261440cb0b155d473bd2c2b843"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreprocessMarkdownKt.preprocessMarkdown: MethodTooLong \u2014 preprocessMarkdown runs 411 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 311 over it, 4.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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/utils/preprocessMarkdown.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d94c8410e03f118b5975104443a2e80673339c192f02b2559fadf2fcd498a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/AppsViewModel.kt: FileTooLong \u2014 1786 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: AppsViewModel (79-2517). The bar is 500 significant lines; this is 1286 over it, 3.57\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2306f494dfb2d460da5cd5c60c8e10a8acb784b7478190e933db3a11a61f6684"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TweaksRepositoryImpl: TooManyMethods \u2014 102 methods. The bar is 30 methods; this is 72 over it, 3.40\u00D7 the bar. Most of these members implement repository.TweaksRepository (97 of 102 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/TweaksRepositoryImpl.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b81a1798d34be1a87f54a5a9b2984f8dec2020aa1021216d956a6095d5c8165"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsRootKt.DetailsRoot: MethodTooLong \u2014 DetailsRoot runs 304 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 204 over it, 3.04\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd92501b33385dee2a6229018d3764e95dfb7abddaf8abd51602a4b1fa413fc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TweaksViewModel: ClassTooLong \u2014 1134 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 734 over it, 2.84\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd698b48e3aa72c3c97d4650fe2a9a7be1a8f4a3d274b1950ccae0be682d505"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsViewModel.loadInitial: MethodTooLong \u2014 loadInitial runs 273 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2772}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefe093d5f7ab3b4af31a62697adbbf2075189a25aa5ca340f98ef5638aaa264"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchRootKt.SearchScreen: MethodTooLong \u2014 SearchScreen runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b701478a8310ff6538abc6ae2c5a0174e46c58bd5d6f8efb452a23f58ddb7505"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppsViewModel.onAction: MethodTooLong \u2014 onAction runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadf8a27d42844046b0b7bb95e8dbb50369285cc6249c459165d054c32358599"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DetailsViewModel: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68b2ab12dd5ed4d7d554c86b65bbf36f7e97a951a0f51724a8afc2861f56d9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/TweaksViewModel.kt: FileTooLong \u2014 1196 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: TweaksViewModel (65-1887). The bar is 500 significant lines; this is 696 over it, 2.39\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91140417eaf9d32860007aa6f04e8fccab5fae928908b5f3fa1fca8d4d3d918"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppsRootKt.AppsScreen: MethodTooLong \u2014 AppsScreen runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsRoot.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5d77271d5a539fd00d4f6a35d614fc5160bd7b6ad3f16ec00f3d900a8e6a4a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesktopInstaller: ClassTooLong \u2014 951 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 551 over it, 2.38\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8460840a6ee8e32a0e6cdccb6eccec7b124f14e96b052f06ff9eeada37dd5c33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsViewModel.onAction: MethodTooLong \u2014 onAction runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee637a0b4903a0acf2929c571d1cda936c670a18dd4d03030a4a3c7c8b6757b2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppsViewModel: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ba3639c1a7e3b2809c3f6cb4e40757264c1666264e70b048fee94dd5a93d2f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchViewModel.onAction: MethodTooLong \u2014 onAction runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecd5366a720eb56c2a9876a5e5c34902738dd144494c76b35df11498a220875"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DetailsRepositoryImpl: ClassTooLong \u2014 783 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 383 over it, 1.96\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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21e91d34e18539ae167042381a6748073a1225bd95778ae173abb8ae29ba1da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/DesktopInstaller.kt: FileTooLong \u2014 972 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: DesktopInstaller (24-1389). The bar is 500 significant lines; this is 472 over it, 1.94\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa28c66c984ee3949bd5d8d2270289e372e1622fb54816bbbdcfccd01108da79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReleaseAssetsPickerKt.ReleaseAssetsItemsPicker: MethodTooLong \u2014 ReleaseAssetsItemsPicker runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f1852a3d962e95588c81d8d2394e02d1bf01c462501fc45a0f27eb0b4ccf00"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TweaksRootKt.TweaksRoot: MethodTooLong \u2014 TweaksRoot runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1c7b8d532dc179959ff2275c49f4f88b1e7a1e7fc3a8236f587d6b012f63f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultDownloadOrchestrator: ClassTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 293 over it, 1.73\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c0ba45c1bfec8a1ba5d3f0bb55cf16c465d67777c5d26b6593bd03af6ed59e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KomiRepoCardKt.KomiRepoCard: MethodTooLong \u2014 KomiRepoCard runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/KomiRepoCard.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"278fd672a8501a3f0019c502c0967e049d0c97460fe59956b19258840bf8eb59"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExternalImportViewModel: ClassTooLong \u2014 671 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 271 over it, 1.68\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportViewModel.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5671233e630e4fe2d3276fe2ee6c4f1a690ed1f9e48807d6a27f152385aede88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repository/DetailsRepositoryImpl.kt: FileTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DetailsRepositoryImpl (55-1063). The bar is 500 significant lines; this is 335 over it, 1.67\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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e10291b5dae073df2948738e83faa4eaa32174a75d838053af0b16b4f0e066a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppsViewModel.updateSingleApp: MethodTooLong \u2014 updateSingleApp runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fba0241729e0d19f31f0ce5cc5e2d26da5b67f2e1979c72533ee1836e2236c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LinkAppBottomSheetKt.PickAssetStep: MethodTooLong \u2014 PickAssetStep runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd21ca1f43c655db2e3a7e581212e5aa9f7b10e70b7c6ef0fe5b381f016f746c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SearchViewModel: ClassTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 240 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b586246f4d9908fc0a516792588c5f096b95cd363938acd69dbefbd9e8e6df98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: navigation/AppNavigation.kt: FileTooLong \u2014 780 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 280 over it, 1.56\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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"629c1116d39df7a069b97c55279fec4b1cda3b8178fa824237fa5553ede54cf1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DesktopInstaller: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f90d2b8e175428ccf13c04a3a573c5f9d8767392382412d2f17c79ac1c905d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/SearchRoot.kt: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 245 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa954ece9220af6ee2e7c3795fd40adb5a8c55e7b6d6baf10d9a06576af5892"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/DefaultDownloadOrchestrator.kt: FileTooLong \u2014 741 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DefaultDownloadOrchestrator (45-967). The bar is 500 significant lines; this is 241 over it, 1.48\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7348f4eac720c3393638827fbe66a4569ae3d2ea6218162b8c2a576e405adf1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: import/ExternalImportViewModel.kt: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ExternalImportViewModel (57-1002). The bar is 500 significant lines; this is 225 over it, 1.45\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65988744db5fa788c88febcd3bbff9aa0fb414f17f8845729e88b4bfe070f39b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KomiTextFieldKt.MangaTextField: MethodTooLong \u2014 MangaTextField runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiTextField.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"507434648b09b39a3444a046acbea0f3e6459814d8f4eee9a3f0583c491d871a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsViewModel.observeOrchestratorEntry: MethodTooLong \u2014 observeOrchestratorEntry runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc085753548f5c2e53afa53087e0811542ffc6c70874f74a1a3f568def44a7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultDownloadOrchestrator.runDownload: MethodTooLong \u2014 runDownload runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba095a0de0cc6eb5b0682cd986a0db3f46647e66e604ce14d87fb20038aa0e78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/SearchViewModel.kt: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: SearchViewModel (59-996). The bar is 500 significant lines; this is 196 over it, 1.39\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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2426f3ea022cc9f758d32da75697d2dc4517c0b307a4fd35b003f4e2ddda364f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UpdateVerdict.decide: MethodTooLong \u2014 decide runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/UpdateVerdict.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e1a1fadaf26536a490e065e6bdeef414f661ad6346cb1ffe6442558f384321"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HeaderKt.header: MethodTooLong \u2014 header runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/Header.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9333c5202107a0008cdeff16de5424909d06a4b05de4118d9ec709de3dfa0be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StarredPickerRootKt.StarredPickerScreen: MethodTooLong \u2014 StarredPickerScreen runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/starred/StarredPickerRoot.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daa5016c43dd5de1c3848819cd292a55461f061864e4b8b3c38b5194af6cf70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/LinkAppBottomSheet.kt: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 179 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50537daee618e06307c31e591eb8809bd7ed9410d55aa804fbcefa4ecf278fad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExternalImportRepositoryImpl: ClassTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 135 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/ExternalImportRepositoryImpl.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a5788c91904a209408d82be6d25250c6b96097a5f1e5cc6d5ce0c463a6ec44"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TweaksViewModel: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0073a10e6132c39525a8ffe504ec6383add1a8f8fdd09618f1cc73ad3d4a342"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuthenticationViewModel: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 128 over it, 1.32\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":"feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationViewModel.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5a016e84202aad48bdb576fafb688a879a0375bd1e7d0e14dc074c60d4ceea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalImportRootKt.ExternalImportRoot: MethodTooLong \u2014 ExternalImportRoot runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportRoot.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70b65b4d788e1722771ae8fc40dd7ca71621ef870e298d35bb73b974e0c8083"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RawDetailsStateMapperKt.toView: MethodTooLong \u2014 toView runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/RawDetailsStateMapper.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d673e419c9f900c3ce662741aecfbeb4eb4befee20aea59146661c12c80ada"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VersionPickerKt.VersionPicker: MethodTooLong \u2014 VersionPicker runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/VersionPicker.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ee111267b25501643e3c92af13f2ccfaa5b11f401e9264d20b486e70c04d49"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InstalledAppsRepositoryImpl: ClassTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 123 over it, 1.31\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7e21ae7a392acde024cf021780ec9ca609f11726be9977250beff939d44d0f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InstalledAppsRepositoryImpl: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. Most of these members implement repository.InstalledAppsRepository (33 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea067fc99ced6f6e2eebd7f4af0de884f7a39f225ccda5411547d98c0fef2c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchViewModel.performSearch: MethodTooLong \u2014 performSearch runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52281f8bf14e9ef41fcb585a3184010b19a9ce69aeb3c8adcf93ef9b48c494c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StarredReposRootKt.StarredReposScreen: MethodTooLong \u2014 StarredReposScreen runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/StarredReposRoot.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"267aa275306c91a7ab0178f8e0fd64bfbf007f98fcf018f98f3849cef84dac3f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppsTopbarKt.AppsTopbar: MethodTooLong \u2014 AppsTopbar runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/AppsTopbar.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c757036d1425005403829aa1f8f3a7f94e0a627d04e6324599c66205dd324b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppsRepositoryImpl: ClassTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), 17 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":"feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"268a0689eff67a008b64aaf9ae697107067a63ebcfa4f9d5915bbb77968744ca"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HomeRepositoryImpl: ClassTooLong \u2014 500 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 100 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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8df93ccb0c9f57e5db79468a66baeb5eef213fb42ab2652856d17f089d39b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeveloperRepoItemKt.DeveloperRepoItem: MethodTooLong \u2014 DeveloperRepoItem runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/DeveloperRepoItem.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdd8f3a45b48f0ba6df3c38989e5ac01d00fd02a6cb388d134730a76aef851a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/DetailsRoot.kt: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 119 over it, 1.24\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94347134b02a07b1ac194bb823aef858bb644147895733128e31f557202cab54"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/SmartInstallButton.kt: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"343d436c8c90bc07787cf38ee0502683574e02649cab8373708902dfcbca9a6d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CandidateCardKt.CandidateCard: MethodTooLong \u2014 CandidateCard runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/components/CandidateCard.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"61700d5a82201f7bec6eabe08987b816c70fdd9c9a20c9ba5c506002621a53a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UpdatesBannerKt.UpdatesBanner: MethodTooLong \u2014 UpdatesBanner 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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/UpdatesBanner.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9799f26430632402ba5ec0aea66247ba6c47001294448441002767000c7849bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MirrorPickerRootKt.MirrorPickerRoot: MethodTooLong \u2014 MirrorPickerRoot 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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/mirror/MirrorPickerRoot.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fba28cb17d99eefb3e7fb49205eee59c85693918a24993fadd2fd201e5b5292"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/AuthenticationRoot.kt: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 109 over it, 1.22\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":"feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationRoot.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ce2e2e7a08ecf4dc9862ba1cad9616e9d4118b1fcca2ee65f6fececae325af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalImportRepositoryImpl.resolveMatches: MethodTooLong \u2014 resolveMatches runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/ExternalImportRepositoryImpl.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"20422e5616388d33abae530a99242e815270eee48aadff6514658042f28bfa2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidDownloader.downloadAttempt: MethodTooLong \u2014 downloadAttempt runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"533149aa82e9fe614d850ee5bd796f10cc636dcdc20f93cebf79e7ccb9f2786a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstalledAppsRepositoryImpl.checkAgainstWindow: MethodTooLong \u2014 checkAgainstWindow runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44222302bd4cd8309e0009ea07cc941b37a8c25baf244b1d3f61246c169e995"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DesktopDownloader.downloadAttempt: MethodTooLong \u2014 downloadAttempt runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9114875309134e4fc330f66ca64679d0dd1d6eb38289c69530b64f561cff2ff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LinkAppBottomSheetKt.SmartMatchStep: MethodTooLong \u2014 SmartMatchStep 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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d697e79046e89b17c2e23bba8e13c4228989545578e6463823e943c4ff263e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthenticationRootKt.StateDevicePrompt: MethodTooLong \u2014 StateDevicePrompt runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationRoot.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf57507bb7e41ca1dedd3a38e7248ce746089aab123d7ae59612bba678b1e73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeveloperProfileRootKt.DeveloperProfileScreen: MethodTooLong \u2014 DeveloperProfileScreen runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/DeveloperProfileRoot.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"724444f0a6460f9b71f43f7204f6f13fe0834a37642bd05479e91db7653f86b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppsViewModel.validateAndLinkRepo: MethodTooLong \u2014 validateAndLinkRepo runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37d1cb30871e7b4ce0d858407cf7540b927758ef88d8ea57aa45ab9782719cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsRootKt.DetailsScreen: MethodTooLong \u2014 DetailsScreen runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca8dd72104689a1e713ae9a99bf7357ec5b088d961754bc3320ccaaf5b25627"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repository/ExternalImportRepositoryImpl.kt: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: ExternalImportRepositoryImpl (45-741). The bar is 500 significant lines; this is 77 over it, 1.15\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/ExternalImportRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d5c99258091c4d7e748971bb4fdae3c2c528766a5b48ab193fd17fd97b4d49"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsViewModel.installAsset: MethodTooLong \u2014 installAsset runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"136ba6c52cdcaefee9f25124a6e6b383019005ed99cab76f45bc166d00b0c019"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repository/InstalledAppsRepositoryImpl.kt: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: InstalledAppsRepositoryImpl (44-755). The bar is 500 significant lines; this is 72 over it, 1.14\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b43db7b07fd0861e291984b9352b6f98ee7487cb9ce92f8ebd406b9e11e55f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsViewModel.refresh: MethodTooLong \u2014 refresh runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":3204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8f5ad3a13ff9852d1bec3b1eb5519d996ad5ab956b8ad5c57d4a844a655555"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: presentation/AuthenticationViewModel.kt: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: AuthenticationViewModel (39-815). The bar is 500 significant lines; this is 64 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":"feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81f0edf9173bbbf97d307206e0c87d982aeb855a69d3f4b354215735e78b81c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cards/KomiRepoCard.kt: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 51 over it, 1.10\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/KomiRepoCard.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"857a31971a227829ef5f943179fd16f14c673cddf6cf62f42bf41347bc654103"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repository/AppsRepositoryImpl.kt: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AppsRepositoryImpl (49-687). The bar is 500 significant lines; this is 48 over it, 1.10\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":"feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bca98023bdded747f85add830692197de35a893c34845d4dbd393e61044602"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repository/HomeRepositoryImpl.kt: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: HomeRepositoryImpl (50-729). The bar is 500 significant lines; this is 46 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24c7fed4a22eda27676eab2aebe8dde336bb162b3302bd5949120a38fd48115"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VariantPickerDialogKt.VariantPickerDialog: MethodTooLong \u2014 VariantPickerDialog runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/VariantPickerDialog.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54ab6a7e2640c46f1785164356a51d3670eecbb33572c9dc3ef34551cb5be8b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DhizukuInstallerServiceImpl.installPackage: MethodTooLong \u2014 installPackage runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"40490a032b3720e60058c493aeb4654cc971571c91c9a18c10c47ef8d3af103d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdvancedAppSettingsBottomSheetKt.AdvancedAppSettingsBottomSheet: MethodTooLong \u2014 AdvancedAppSettingsBottomSheet runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/AdvancedAppSettingsBottomSheet.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ca61d603b7614f7d2d8b51ed24ea4eff6eb45192754e6d367096e1caeb2b3c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VersionMath: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/VersionMath.kt"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79d1f53eed3f2d485615eb2f2d5b57cfe5701fd2b9cf345f6a1a6649c3e8f05"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DetailsRepositoryImpl: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b388ee133421f2075e509333a80d7e0c0cde907522583289cffa279fb288fe17"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KomiButtonKt.ClassicButton: MethodTooLong \u2014 ClassicButton runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e825300119451641f6dd6a07ba9b2a839e93b123bc87809ed7700b2ee120e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RepoCandidateRowKt.RepoCandidateRow: MethodTooLong \u2014 RepoCandidateRow runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/components/RepoCandidateRow.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5827cd23911262ac786ca73bab6208e981384a728295107354a543a50e9c83a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsViewModel.installAsset: MethodTooLong \u2014 installAsset runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2395}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b830aff6b5cb757df8a949e81e7c79b775c94f9f630793c63dc9732de893193"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WhatsNewKt.ExpandableMarkdownContent: MethodTooLong \u2014 ExpandableMarkdownContent runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/WhatsNew.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"913c180ba6ee658795edcfad3bed5ac2fa545795cd314687dd577f50c6fe8b5e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SearchRepositoryImpl: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 19 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/search/data/src/commonMain/kotlin/zed/rainxch/search/data/repository/SearchRepositoryImpl.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"984ad0008b9e730b52627fd210347c52dc0a188350821fe7845f2f453bed29b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WhatsNewRootKt.WhatsNewScreen: MethodTooLong \u2014 WhatsNewScreen runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"965ef13a14772c3070268f21ff7dc73c4003a603ef5d8bcf0952b46daee6eaa3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppearanceSectionContentKt.appearanceSectionContent: MethodTooLong \u2014 appearanceSectionContent runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/sections/AppearanceSectionContent.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7b3174eb993cbea0ba047c6971fa378e2b69111a2a675739d0a2a8e840e3d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AndroidDownloader: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"956c88aaba5e286cd9672150ae602172ce704259a85b87369dadd3bb77e5b74e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ApkInspectSheet.kt: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 over it, 1.03\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ApkInspectSheet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"047e4b79331a1455b6241934240b4347bb6afa0c30e818256ec5b75072c2221a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/ReleaseAssetsPicker.kt: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dbb8f6d35511adb86c8013bac4d891e17474efa9850421a03a188139cc7399"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/preprocessMarkdown.kt: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/utils/preprocessMarkdown.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e63302b317db6b9ab0523bb5f177b94e962213846313c19a04cacf6cdba77d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FavouriteRepositoryItemKt.FavouriteRepositoryItem: MethodTooLong \u2014 FavouriteRepositoryItem runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2a98b61c882f1b0fe16df7d0ec16f3b75c66146c6cb0c7c571c3152faa2eea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesktopDownloader: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc8f9b81db7c53383b5408008a057e3969fa40d6efdf08798f153c4e952bf1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 28 shared lines): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:95-220 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt:80-201 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt:86-218 \u2014 These 3 members are variants of one another: a block of 28 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ff32b5f5b7ce78e12d938761b367c40a9b301a36a420e404a3b486f7f6009d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (85 shared lines): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:52-189 | feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/components/RecentlyViewedItem.kt:50-165 \u2014 These two members are variants of one another: 85 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c625fb0bde5124b9c7ab616f93118c2dde4e3e84f1648a191ad0558a63b74051"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1319-1409 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1512-1602 \u2014 These two members are variants of one another: 63 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfd0ac90f2b8c0d9cd447df6d2d902552bc1b95d716d11f017b35d33b795e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (41 shared lines): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1739-1785 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1787-1837 \u2014 These two members are variants of one another: 41 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9a0db5f563a8ad1807e6a9349ebcbcb043928e5f911d492836d58b4daeff76"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:104-188 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:199-288 \u2014 These two members are variants of one another: 37 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d1f6bc61dce80b5a515ca6e33c78fab1dc9c86def2cf1d10ebd2e1b0df24d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:156-172 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:260-277 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:283-298 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:307-326 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:329-344 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3c34805aee1f37020c950331ad2d9071bc504938a68f2176bbe914f4fccada"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt:7-65 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt:68-126 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/InstalledAppMapper.kt:7-54 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/InstalledAppMapper.kt:57-104 \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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f62ced0d6af0b14a0f0a5e674732d98bcb02d37ae0a7bebfb6fa81a469c7f21"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:104-111 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:117-124 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:396-403 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:406-413 \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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aa71e56a826c1e07a7fa93ef2c94941d4d7590f4bd74ae08f3bd171ba0a8db"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:290-310 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:74-102 | feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt:240-340 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:616-669 \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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab81c0c17d19631b9b3052d8e47c108f0d18d804ae5fdaec1bb3827cf073e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (149 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:248-396 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:240-388 \u2014 These two members are one piece of code written twice and then edited apart: 149 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38d1da0db1982bac2102c7962153c2a55f42ca14ce820c29a6ed9e86edc1313"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (108 corresponding lines): feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:107-214 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt:115-225 \u2014 These two members are one piece of code written twice and then edited apart: 108 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"250d5f0268a99fa2d8dbd7c5fc0125e44fda0c81da177bce998e11c41536b349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hidden/HiddenRepositoriesRoot.kt:51-142 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/skipped/SkippedUpdatesRoot.kt:53-145 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hidden/HiddenRepositoriesRoot.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a98442c5efc158f8482479d5d06a859ad01005e5a3813dedbe2a24d305d926"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt:468-543 | feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt:545-625 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"498c3445fa8b316290183c32d44ac1c5bf15c43afb3035f8894c19b949af391a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt:109-194 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsRoot.kt:77-137 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"57adaf4c88685a1f291278cbf65cfaf87e86ea8b41e0e19e366d3acfc7031d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiCheckbox.kt:36-99 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiRadioButton.kt:34-95 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiCheckbox.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"46157b09c84691403a7b2f08e02f37c1617546b7ccab5d9ee813a01b35e57ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:278-355 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:361-420 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"759c8ce310779136f1eff1a12607400d45f65a23f986a760da123e5e2f44af05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt:147-211 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/shizuku/ShizukuServiceManager.kt:145-214 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffc8b8a3b3df20cfbe8c3f3f7e3d10ea1ae9c12e7b1ca832b517e815043e616"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 67\u002B corresponding lines): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:106-174 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:181-249 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:256-322 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 67 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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4b3143cf085fd449611e7d0e0639fa32546c20171b197379826b7cf2b46729"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:93-141 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:91-134 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb056c37254a89cdf9a0b57a2dd38225f07d88308e548173dfb8511be05479b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt:98-170 | feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/RecentlyViewedRoot.kt:75-137 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d134350063a9be0465ef029d23108710d473623f8319085cd457e3b237567990"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/appinfo/AppInfoRoot.kt:398-462 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/LanguagePickerSheet.kt:114-176 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/appinfo/AppInfoRoot.kt"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e022fa1a4a9f3dacc30248fdc2c6c8c436bc3ecd7dc3b04cce845ff7ea1de643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/sections/Translation.kt:256-292 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/sections/Translation.kt:298-341 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/sections/Translation.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"88565a1510b338ec7395d830d6a106bf9111af84cdfa8914d1aa555504962079"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:178-228 | feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:704-752 \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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"028cf67e8960ea4dce557ee2d9dabaae7e25c0e2489bc01341617bd039ac7ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportViewModel.kt:483-536 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportViewModel.kt:541-605 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportViewModel.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63d5882b7adc03a05e50d117976816adbccb15f9f9a3982d97f969d41832a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:162-205 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:234-272 \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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af60bc142fff19f7cad9528ae7468df325495088d8cdb28f385c90e0a387595"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/GitHubAuthApi.kt:148-202 | feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/GitHubAuthApi.kt:253-306 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/GitHubAuthApi.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fcdfb019e4f1bf7c25be6dc0fbf2bdf023d2557d744de9d90e9864deae4e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt:285-353 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateCheckWorker.kt:143-201 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d44bb32599ac9929a09bb76f127a85a9d6dd36de8fab0120d2a3b768468c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt:249-291 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsRoot.kt:144-178 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e135e691dbb2ad45c4a6a4f154fc6f73da3fd016a41bace7c9be739210bacf6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/AssetVariant.kt:70-115 | core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/AssetVariant.kt:117-151 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/AssetVariant.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f1449d29351c864e03504929cbc8326829527a090164548d2073b2f1a93393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issuedetail/IssueDetailViewModel.kt:108-154 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issuedetail/IssueDetailViewModel.kt:156-192 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issuedetail/IssueDetailViewModel.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab775c8ac211e60df832cf72baf89f44c8b495dd1eaf851866bf39625ded6acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt:41-85 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt:53-97 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/DetailsWhatsNewViewModel.kt:48-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd11bf8b79fdfb0957da941fd0ff178402772fd8a6c01cb7dda96ce18a626330"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/components/ImportProposalBanner.kt:42-100 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/LinkedRepoBanner.kt:38-84 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/components/ImportProposalBanner.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c7c7895ad2a516be8848b744b987246fcc75241ed743fa766e344122848fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationRoot.kt:318-364 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hosttokens/HostTokensEntryCard.kt:33-78 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationRoot.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"59981df267f96d6f985cefc4020f65575082f1d8dd0de72ab8c41cd636b7e312"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt:138-169 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsViewModel.kt:72-103 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc2d2b828138587e0d8160d5f54905b233478cd7e6ee0e55629bab7b0b6a272"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/ClearDownloadsDialog.kt:32-84 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/sections/Installation.kt:508-538 \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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/ClearDownloadsDialog.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f65e9ab96306cae32de47af25dc47ece5f4444acc32c98992622e592ff9de03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt:133-165 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/DetailsWhatsNewViewModel.kt:138-165 \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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fad4dea88d4c78eb1d69fcbebdcf707f2e5cfd7e91c0d8a7615bf1a957c7cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/sections/Translation.kt:186-215 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/sections/Translation.kt:221-250 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/sections/Translation.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ef189d38639130dd9ce47660b657bc17b51cf479edccea36bd171f49787104"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/TranslationRepositoryImpl.kt:227-254 | feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/TranslationRepositoryImpl.kt:260-289 \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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/TranslationRepositoryImpl.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3506a3cdd35c8c99f85761bc6b766bfaed7979c5d8928c4c4f368010f6fca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/FilterSortControls.kt:127-162 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/feedback/components/CategorySelector.kt:66-100 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/FilterSortControls.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"78302c35eb3501b26836f6b11ebaea297a94c5ac4fd5ec0077219841747a5e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt:732-770 | feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt:304-338 | feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt:341-376 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"201981b02825aedbf73ec21ce4dc9633efce805e734ba16ca0335b5d338d70a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt:120-145 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/shizuku/ShizukuServiceManager.kt:118-143 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"897a02e3b6396f00a3b04daff6840109e1fc8dd479a229436b3cf120bcf7c81d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesViewModel.kt:68-98 | feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/StarredReposViewModel.kt:108-142 \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":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesViewModel.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"003104b25d3bf712f5c4804de531287fe40cca521b54f548bbc792d7c1b80795"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt:61-102 | feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/moderation/ModerationRoot.kt:82-111 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68b58431471ba233f77f40a305bbcf4569cb0e09add91001be5d97865a50f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/discovery/DiscoveryFeed.kt:324-353 | feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedRoot.kt:201-235 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/discovery/DiscoveryFeed.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a52f728586639fc77bd07641c6f49b49fd109a2a1eec4202b8005b136b179b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedRoot.kt:65-91 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeRoot.kt:49-81 \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":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedRoot.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc2889fb4acb01fa4b09eb3fe82ce478331cf7275b74e0939ccc19264522600"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:76-98 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:103-128 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bdf467bb36051e226fce3e87c49c4d02c58516f12422e2ac6c95984d4bd20c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/DeveloperRepoItem.kt:231-269 | feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:195-226 | feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/components/StarredRepositoryItem.kt:233-274 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/DeveloperRepoItem.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b74922a576da85410338511004755c6636f104b8610e62558e94384d37a20f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:133-149 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:179-199 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"66788b06892641971aa34eeaac27197eed30d98234954cce86eeb96e726b4e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt:85-124 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt:78-112 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/surfaces/KomiSurface.kt:67-100 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"317f83f58789d64da7e7764bf0a303dbed63e31fc7dcd5b97b4d0c2b4d04c274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/WebAuthApi.kt:29-55 | feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/WebAuthApi.kt:57-75 \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":"feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/WebAuthApi.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b458281412cbe6b2deb62d6caa69c776e7cfa494f16ad8a2f5e803aea0040a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:532-551 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:524-542 \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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6cad512311f8981d07020e37b6b50308802b1a236161bd62b98e6b175f9b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): feature/repo-pages/data/src/commonMain/kotlin/zed/rainxch/repopages/data/repository/RepoPagesRepositoryImpl.kt:228-250 | feature/repo-pages/data/src/commonMain/kotlin/zed/rainxch/repopages/data/repository/RepoPagesRepositoryImpl.kt:258-280 | feature/repo-pages/data/src/commonMain/kotlin/zed/rainxch/repopages/data/repository/RepoPagesRepositoryImpl.kt:322-347 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"feature/repo-pages/data/src/commonMain/kotlin/zed/rainxch/repopages/data/repository/RepoPagesRepositoryImpl.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"57881a31ad7530a86cb63b5e92bf9a534bb008d325351fa0717425798a718350"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/feedback/components/CategorySelector.kt:36-59 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/feedback/components/TopicSelector.kt:27-49 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/feedback/components/CategorySelector.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"010de4f4b821f66341105241f52c504dbbe2d7408e1a92c5e8d26b69058d85cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt:2426-2449 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt:2476-2496 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4160376b685b6232bfd04b2ceefe486bdc73be27b307c29702e695fe2065d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:133-157 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:210-230 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"de451f3c5cbd7ea43cddd4cd24db9ab51921769dc932e635ffc05f819f1708fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt:57-92 | feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/RecentlyViewedRoot.kt:38-69 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7fc653d1aafe774964f66d205f86855cc248ac13578d40fa4a6a2fa92c37da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:144-172 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:684-705 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a4d25bd0bae09eea735c84d642c0119532138093c6f80e0acf2db4904bb558"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hosttokens/HostTokensRoot.kt:241-264 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hosttokens/HostTokensRoot.kt:374-402 \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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hosttokens/HostTokensRoot.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"94df366b2abbf042ba78c41c0ff87824ef7f33f39115df367f066571a18dcfd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/presentation/src/jvmMain/kotlin/zed/rainxch/core/presentation/components/ScrollbarContainer.jvm.kt:167-175 | core/presentation/src/jvmMain/kotlin/zed/rainxch/core/presentation/components/ScrollbarContainer.jvm.kt:180-188 \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":"core/presentation/src/jvmMain/kotlin/zed/rainxch/core/presentation/components/ScrollbarContainer.jvm.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e2d641f579a08837131d6ae7864610fa2c808ea4f55b30ae724902f8d65c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesViewModel.kt:51-66 | feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/StarredReposViewModel.kt:67-78 \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":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesViewModel.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7b6507c3d5cd4ed20f2419490759f6c615e3645e48d83528c0e02c70b9608c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issuedetail/IssueDetailViewModel.kt:194-217 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/security/SecurityViewModel.kt:33-49 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issuedetail/IssueDetailViewModel.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"244b376e4ca3ab5286cb2c8571fef1687767c58346df023aafd25a6b36f9b8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt:253-279 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateCheckWorker.kt:119-140 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"33479a0272981794364cf3b0c15ae1fe53a5ea3050a7d740970d3bc9e6c351f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:91-118 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:213-236 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:241-266 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c236777d7cd0310210ebde2090e81d8728d9925833b2590278536c787f3f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:1056-1083 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:1085-1115 \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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b94b738a33afc7b60848766cff9e419234597fb3b236ebb9aa616866a8ec356"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt:614-623 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/utils/FeedCategoryUiResources.kt:18-29 \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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e97d3df62b788f58eeeb07fbb757479ed57e8f0ceb32731af5a37379ef9fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt:186-207 | feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/components/ProfileSections.kt:416-438 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2421deba382457f27a3e12290fa4ab626d028cfb39c1930fbb66fd9b46e4ab75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/dividers/KomiDivider.kt:22-45 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/dividers/KomiDivider.kt:52-75 \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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/dividers/KomiDivider.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ec3c1390c0029b265dd7b2e18dbcd8de8a50d8d95b971ee8f631c1389fa94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:347-366 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:373-393 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a08d264b38780443027ff171019cd9530d9e3e4e110e6bacd31417863b1e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/GithubRepoMapper.kt:8-29 | feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:80-102 | feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:121-142 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/GithubRepoMapper.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c0fc6ee8ab36c93992a3853519d60bfc6fcbdb95c2062ec4d57e29b8a2fa73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/DiscoveryRepoCard.kt:150-168 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/components/RepositoryActionsSheet.kt:128-145 \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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/DiscoveryRepoCard.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b3a2a8d560dc5ac78f2e2ee6e478ea2cb2e32a0cc680da859e348e5e462808"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt:320-341 | feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt:343-361 | feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt:363-379 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75402d2fcb17b7526568afd435e8986ccfb73df0fe566034e37e65eb06c5ea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiIconButton.kt:68-95 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiSegmented.kt:66-89 \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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiIconButton.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"86547c23dc7cc9deb2ae9967333fedef85e015f3fc041f0524d07977b200a2be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/progress/KomiProgress.kt:23-43 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/progress/KomiProgress.kt:66-86 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/progress/KomiProgress.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5218fd4f7af4db6933503a758f44abe2b0369745025a4aacc7731d4a1e97fd97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateScheduler.kt:22-49 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateScheduler.kt:54-81 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateScheduler.kt:83-108 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateScheduler.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df3f7f600e04ebb4509a7f6d3b90339cb7826c15e6a2fc6056e74e5a947bb07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/TweaksRepositoryImpl.kt:551-559 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/TweaksRepositoryImpl.kt:561-570 \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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/TweaksRepositoryImpl.kt"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b6af0a990e303c6c0d60a20826adf811f9df40d6020bed92b99e377ecfcf3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/mappers/GitHubUserToDomain.kt:7-25 | feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/mappers/UserProfileNetworkToDomain.kt:7-25 \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":"feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/mappers/GitHubUserToDomain.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9f9d51ad51182deb1478cd2282eea1692267ef879eb4c0e4952fbf5bcc7493"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:308-317 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt:367-380 \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":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"288e29b78e2a46c5c5a5ce73f72d37d0aa9a1c94e0fa76c4e388b7719f1cd712"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/text/KomiText.kt:35-48 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/text/KomiText.kt:60-72 \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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/text/KomiText.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"42497a96122222b2e091e9fb761bda450dfa9e3fb2e84e2841af3920e4ec5134"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloadProgressNotifier.kt:116-130 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/DownloadNotificationFactory.kt:109-123 \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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloadProgressNotifier.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27de05e540096d022da4334b72d969d8e366d12b49d30c1650c483f647c3028"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/starred/StarredPickerRoot.kt:63-74 | feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/import/ImportStarsRoot.kt:63-76 \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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/starred/StarredPickerRoot.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e6286310e97fd827b7a3b4885eebe7664d96d4842162ace49c9dd7fb8559e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:992-1005 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1015-1026 \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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebd26de2a9849ee0d82838e1df07d67071d4122eca9c07a5e9894a9af6ca901"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt:51-66 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt:61-74 \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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"32acfd3f7693795883bf5c9177c1f85dd31e06254c6ffea3a1186e7d8fb50633"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/components/AutoImportSummaryScreen.kt:141-158 | feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/DeveloperRepoItem.kt:276-291 | feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt:221-236 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/components/AutoImportSummaryScreen.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a403659216a5c7a3d6ffe1df8804a0debcdce3976366a3031f17d3912a4234fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/ReviewsViewModel.kt:235-240 | feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/moderation/ModerationViewModel.kt:101-106 \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":"feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/ReviewsViewModel.kt"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4342a4abc1c65024f96136f77f16588b97ecd45b8b04accf1c8d87c82600653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/AssetNetwork.kt:8-25 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/GithubAssetMapper.kt:8-23 \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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/AssetNetwork.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5bb16f28d7e92ecad2d3a090cc1dd7fe2c8c555e4c65b66047bdd48a4a04e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt:118-131 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsViewModel.kt:52-65 \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":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"308e609c419129dec6b55c60289b168b42d0f17395f4041952d2416e207580d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/InspectApkButton.kt:76-86 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/InspectApkButton.kt:89-99 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/ReleaseChannel.kt:225-234 \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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/InspectApkButton.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfda6399db72faf8e81c2eaf420acf25f503cdecf156fd0f82bb366a0131334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/discovery/DiscoveryFeed.kt:356-368 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ApkInspectSheet.kt:128-143 \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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/discovery/DiscoveryFeed.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d82f9e36cabdab6e97801f6a12cb4ea74dd5ae712439cd43630ee1b0bd8bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/overlays/KomiSheet.kt:550-564 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/overlays/KomiSheet.kt:568-581 \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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/overlays/KomiSheet.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b857bf633dd330b2d1d19d0a23a35a2c143748ad7e2fc4a05b4660de0f615cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): composeApp/src/jvmMain/kotlin/zed/rainxch/githubstore/DesktopDeepLink.kt:177-186 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt:385-396 \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":"composeApp/src/jvmMain/kotlin/zed/rainxch/githubstore/DesktopDeepLink.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a4211b72590043968f79cc289682776fddf206dbe113b2af3aa24c9cb56765"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstallerInfoExtractor.kt:95-103 | core/presentation/src/androidMain/kotlin/zed/rainxch/core/presentation/components/InstalledAppIcon.android.kt:78-86 \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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstallerInfoExtractor.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee539c548d74d95b045809e54b4255e09d7028289f1f8b769888bfd01b4170a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:554-562 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:545-548 \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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a2811426af3e2c2444845f46369110094255ba11c0413f46f658f1289924cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): feature/feed/data/src/commonMain/kotlin/zed/rainxch/feed/data/repository/FeedRepositoryImpl.kt:155-162 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:462-469 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/feed/data/src/commonMain/kotlin/zed/rainxch/feed/data/repository/FeedRepositoryImpl.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a981674711d952642948b8564143a3726f6a9b6a51e761b0f357600ee1bf969"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:67-77 | feature/search/data/src/commonMain/kotlin/zed/rainxch/search/data/repository/SearchRepositoryImpl.kt:121-127 \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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"224ad66a6812c1ecf96027e4569bae0c90dc77fbdb36f7b6ac05e6348ee0a21b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt:87-97 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt:99-109 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/DetailsWhatsNewViewModel.kt:94-104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"608c1a0074748fbf166aebbc55fce5144b2c2619692d5654f065170c6fefa54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt:1587-1597 | feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/whatsnew/WhatsNewViewModel.kt:67-75 \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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"397da045588b7938c46f9c3ca677880f4d6c81bb7786b1654d61356218b40617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (98 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:249-346 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:241-338 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:249\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"faae79a740c9a2618e31572fe9f29ce2a750605addcff65c4340a0f59172699e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:164-237 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:156-229 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:164\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25a0b6b6cc8b4096d18c5d859eccccedc8b89cd40008b1134ff26c56a3efbfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt:8-65 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt:69-126 \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 \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt:8\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ab3305364e0ba57ef4f6aca0f936ac20223d24c73a4f4e606e230e6f2705be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:349-396 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:341-388 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:349\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b9983c739093b1b0ef67ff23a62fec267179659eb194db7e01659dbe277d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/InstalledAppMapper.kt:8-54 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/InstalledAppMapper.kt:58-104 \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 \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/InstalledAppMapper.kt:8\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/InstalledAppMapper.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe77e2b5a150dab08592f80e11d15042e819ed8778bccea46783e4c19ac8a34e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:479-512 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:471-504 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:479\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"0627f507b8705ffac33d412ecb1f26352fb5cff3ab80dd9fc30699f74bd89abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1335-1368 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1528-1559 \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 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1335\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace2c4b23a0d7b507fd0fcb610e95d49f046c3bcd959a4435f261549c9b5c6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:111-141 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:104-134 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:111\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d038e4eb622f9f7764b1c5404d8c85c95242431eda0bbbfb19a35bc2512b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt:43-71 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt:55-83 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/DetailsWhatsNewViewModel.kt:50-78 \u2014 before extracting anything, compare \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt:43\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1f5dbb57911df63578bb0bc55125a57e935b9093015c9376964fefb0c2a5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:99-126 | feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/components/RecentlyViewedItem.kt:88-115 \u2014 before extracting anything, compare \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt\u0060 and \u0060feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/components/RecentlyViewedItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cc3f3f048196e7c4b4e67e75f3164f7ae65ef6cf18322caddbe3baedbcf2b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt:526-551 | composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt:571-596 \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 \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt:526\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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b73bb421182a76a6ad2c775a13fa1513fda35afba6b6aaef02a0c06f5fa7d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1395-1420 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1473-1498 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1395\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fad0c2a30619ced7134213085ffd4f452c34d9cbd63d819233c28f117d95eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:131-155 | feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/components/RecentlyViewedItem.kt:123-147 \u2014 before extracting anything, compare \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt\u0060 and \u0060feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/components/RecentlyViewedItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:131\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":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"043ddd340dc87527aa7a3e786ba9241e2f582f373e3bd52d5e87d65c471fe9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:196-219 | feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/components/StarredRepositoryItem.kt:234-258 \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 \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:196\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":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5174d764da51cd143396f72f68e2294aae18c1bdb272f997bb9aeeab4750c07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateScheduler.kt:23-46 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateScheduler.kt:55-78 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060intervalHours\u0060 to \u0060Long = DEFAULT_INTERVAL_HOURS\u0060 in one and \u0060Long\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateScheduler.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc3d1c719d782fc5986e3fafd29f8f4282b00490917e155b617e97a8e18dd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt:393-415 | composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt:476-498 \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 \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt:393\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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c53ef836ea973d7b3b87b0bca024df14f642d2e4586d1eb0637bbd571fbb7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201323 lines \u00D7 2): feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt:244-261 | feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt:294-316 \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 \u0060feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt:244\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":"feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ae6e2fe60484963820ca771e8e6b06edf9bbfccee45f20b876d0a90e9e4afb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt:124-145 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/shizuku/ShizukuServiceManager.kt:122-143 \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 \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt:124\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31aa7c6622fb7da6d0f029ab8cb3bc7be5f2b4469437d44043443d62e0850c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt:487-508 | feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt:573-592 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt:487\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt:593\u0060 calls \u0060isNotBlank\u0060 and \u0060feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt:509\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":"feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f87710c35f4096146e0448986e24f431f75f7d5cc461c0f89cf93c182476bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt:2246-2267 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt:2274-2295 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt:2246\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":2246}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba9d4e6222d37371d58acf5f0f6d28f01adad7c919dbd8dca6147c9e9e71144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:122-140 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt:110-131 \u2014 before extracting anything, compare \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd0465442ff09f699467ab14a5fa574f7d3eb067c9438a9e5fc8ddd3813147c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt:317-337 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/UpdateCheckWorker.kt:171-190 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt:317\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e76f9c5a3b1d16a2bd47390ab17708db7d756a6dbeaffe69c969f3c9deaa253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:735-755 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1743-1759 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:735\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. 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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e88c5961fbf90602d5889958a25abb1e0c1f6e88ae3e762cc3107f5db387473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt:797-816 | composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt:889-908 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt:818\u0060 calls \u0060navigate\u0060 and \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt:909\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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d928d7fe0d4d5d0c40edf616375c7eb440dfa9dff98a6e6e5e19aa52c13499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 2): feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/DeveloperProfileRoot.kt:228-242 | feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/StarredReposRoot.kt:229-248 \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 \u0060feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/DeveloperProfileRoot.kt:228\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/DeveloperProfileRoot.kt"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df138b9023544be240296b972fea97ab51339094856f48c1ae128c566780766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesViewModel.kt:143-162 | feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/StarredReposViewModel.kt:249-268 \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 \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesViewModel.kt:143\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":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesViewModel.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6cb58e9a12307adbbc879393661f3521b9b0c5c6df92f212228efe0bc39e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:617-636 | feature/search/data/src/commonMain/kotlin/zed/rainxch/search/data/repository/SearchRepositoryImpl.kt:509-528 \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 \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:617\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee27a841f99c3b94399d01f65ce54dc26b96d0698edc36a7aaf1e6ed880d0b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 5): core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:293-309 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:79-97 | feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt:252-268 | feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt:307-323 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:640-656 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:79\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b9815397bf19e8eda8950c7954ed6e06532853633806f41fb6a7a20b56de28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/network/AndroidDigestVerifier.kt:14-32 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/network/DesktopDigestVerifier.kt:14-32 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/network/AndroidDigestVerifier.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/network/DesktopDigestVerifier.kt\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/network/AndroidDigestVerifier.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8f1e0f75e8ec8c729762c93f56956c1808c35e3fdd988351dcd989ab986f2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1388-1406 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1583-1601 \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 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1388\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cff681fe2043e030e712ec7ec355b0108aa416bf6e78f7f0d2a03fb237feb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:67-85 | feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/components/RecentlyViewedItem.kt:65-83 \u2014 before extracting anything, compare \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt\u0060 and \u0060feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/components/RecentlyViewedItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c16a4dfd21da57b883145fcace48a83e2ee22820ca3de5935eead59a17600b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt:250-268 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsRoot.kt:145-162 \u2014 before extracting anything, compare \u0060feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt\u0060 and \u0060feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsRoot.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt:250\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060IssuesUiState\u0060 in one and \u0060PullsUiState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e090572037beffefa66e9035fd555f843bd49b65f24b65f1d3d6b38d857b41d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt:129-146 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt:219-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 \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt:129\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6a14174fb59950a80aded442aaf34f0a637ceddeb74e37bccad5919cd17e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/StarredRepoMapper.kt:8-25 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/StarredRepoMapper.kt:29-46 \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 \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/StarredRepoMapper.kt:8\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/StarredRepoMapper.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"053af5b495640943611e9cbb5127b501f5aa66942c86ca62f5a1c2b60b978987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/dividers/KomiDivider.kt:23-40 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/dividers/KomiDivider.kt:53-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/dividers/KomiDivider.kt:23\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/dividers/KomiDivider.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf0920a8684230a2511d093bf9066236751d38b3eaed35f009665f11d18451d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/AdvancedAppSettingsBottomSheet.kt:130-147 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:794-811 \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 \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/AdvancedAppSettingsBottomSheet.kt:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:793\u0060 calls \u0060clickable\u0060, \u0060onFallbackToggled\u0060 and \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/AdvancedAppSettingsBottomSheet.kt:129\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/AdvancedAppSettingsBottomSheet.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a698e2729d5866a577d107e556b18ac663b83fbf2b2d5371ef76bb9845eb270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:99-115 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt:90-107 \u2014 before extracting anything, compare \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc6d8a2ff60e5d3406d22c08a9e63847dd501a168ef90ee64fdcc6b5d479d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt:131-148 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsRoot.kt:84-100 \u2014 before extracting anything, compare \u0060feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt\u0060 and \u0060feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsRoot.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt:131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060IssuesUiState\u0060 in one and \u0060PullsUiState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"958b4621f4ef160a1c2d43bb81127f5af9f469e5102104f588ab0b7f97473ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:179-195 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt:193-209 | feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt:846-862 \u2014 before extracting anything, compare \u0060feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt\u0060 and \u0060feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:179\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":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfad30ecfac168eaa80a195d4d03d7e9b760a223b6c5b0b671d3a461856633f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 3): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:733-749 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1742-1754 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1790-1805 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:733\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eda31803f224fb44014d59bd957aa0096fdf7f9564be00f2572769b106a40ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt:82-98 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/surfaces/KomiSurface.kt:71-87 \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 \u0060core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt:82\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01588b0aeb2ca3576dc251fe8640877e54e5c6ee8ceb20c23ac384b8b16e4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportViewModel.kt:486-502 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportViewModel.kt:558-574 \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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/import/ExternalImportViewModel.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"2249d4bc874e718228fe695aeef9eec5a24a4c23b6e83642565e617e3d761ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt:97-113 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt:103-119 \u2014 before extracting anything, compare \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt:97\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, \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt:114\u0060 calls \u0060Column\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt:120\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1909aa7f589b528536bdc4fcbd842e2d605c95548542f5ad10a5bb9c8eb4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:170-183 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:240-256 \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 \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:170\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, \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:185\u0060 calls \u0060listOfNotNull\u0060, \u0060maxOrNull\u0060 and \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:258\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"519090caac46b7dbb53b03a715263f4ebcc54b6854e3e3a0e5c257147475a7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:178-194 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:316-332 \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 \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:178\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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e4f2bd36472980baf44c06b20dbcb753bcdb60059a02be3de6b2cacd909c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:688-704 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:782-798 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:688\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce926d9fab2846e197663a323cb451ec5fb388e90c43050f18d661b67bf5f05c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:151-166 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:248-263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:151\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"907242e0a6fb88a9f087db1bcd4d264b3d58bc98b7ed01c79b4b5cde0407a115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt:758-773 | feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt:815-830 \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 \u0060feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt:758\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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b55ba37142db2361c7de99e0f9d089fde925f396e74ed346982f542828581ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt:31-45 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt:92-106 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/InstalledAppMapper.kt:22-36 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/InstalledAppMapper.kt:72-86 \u2014 before extracting anything, compare \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt\u0060 and \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/mappers/InstalledAppMapper.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/InstalledAppsMappers.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"86563112781a3688b33a1037417c586a9404d70a3fb40f359459a6b986a2cd7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/utils/ArrowKeyScroll.kt:31-45 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/utils/ArrowKeyScroll.kt:52-65 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/utils/ArrowKeyScroll.kt:72-85 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/utils/ArrowKeyScroll.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b888f8b4434f6272733e9c139a04cff5f75dacbdc3e62df6da581e742de19080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:96-109 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt:81-95 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt:87-101 \u2014 before extracting anything, compare \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:96\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5d4252c9c936406b1126fc0d786ed0e37168d326966be39ef2c8a7c0cef93c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AdaptiveDetailPaneContent.kt:197-210 | composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt:488-502 \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 \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AdaptiveDetailPaneContent.kt:197\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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AdaptiveDetailPaneContent.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13bf8d85dbf9cccca5422d0546b16ca943000f9fa5a31ffd91ba2361632bcb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/overlays/KomiSheet.kt:450-464 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/overlays/KomiSheet.kt:503-517 \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 \u0060core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/overlays/KomiSheet.kt:450\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/overlays/KomiSheet.kt"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab96fb843fee06bc778cbfda57c7d56f41c8fbccf6059e02d02073928c361025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:376-390 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:398-412 \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 \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:376\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b640c323c1b35506cf42a9816b5f9ba2ffc0a819ede6a83675c5c94e30492517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:83-97 | feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/components/StarredRepositoryItem.kt:102-116 \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 \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:83\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":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe14467fd0acb737697423a45964a41310ad6ad4887ea783c33f98456466b046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1756-1769 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1807-1821 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1756\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":1756}}}],"partialFingerprints":{"codehealthFindingId/v1":"46271b6d04da3dfe704747ad7eb291442872db8ebf31bec9f774c8f33ab257fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hidden/HiddenRepositoriesRoot.kt:76-90 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/skipped/SkippedUpdatesRoot.kt:80-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hidden/HiddenRepositoriesRoot.kt:76\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hidden/HiddenRepositoriesRoot.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb199518c12682ddea78f36082116eaa1c2610d26ac0ca409145cd3d318ef4d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hidden/HiddenRepositoriesRoot.kt:98-112 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/skipped/SkippedUpdatesRoot.kt:102-116 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hidden/HiddenRepositoriesRoot.kt:98\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hidden/HiddenRepositoriesRoot.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efcbd1e78c4923adec4184af699ac824596655eb06d438f9f0874443a37eb87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:207-220 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt:188-201 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/WhatsNewRoot.kt:205-218 \u2014 before extracting anything, compare \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:207\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b2929282a66b1e0b1367d0cfb35f9d277c35bed0b7b5e5a52a11a8ae893bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:161-174 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt:175-188 | feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt:816-829 \u2014 before extracting anything, compare \u0060feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt\u0060 and \u0060feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:161\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":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0abd4bbbe954935a33aa88c5cc89e74f85a7ffca1cc2be4ce9173424b94ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/network/AndroidDigestVerifier.kt:35-48 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/network/DesktopDigestVerifier.kt:35-48 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/network/AndroidDigestVerifier.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/network/DesktopDigestVerifier.kt\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/network/AndroidDigestVerifier.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4030072bbdf8a5c1bbfc3f57ec3ad58670095b638b41513934b73a2ccca740b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:353-366 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:380-393 \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 \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:353\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8161aa9f687038b8122adb209303fadd92aa010cd7c1ed3d64ec54823c8486e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 2): core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:133-141 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:225-238 \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 \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:133\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3a95b9d28710039b3f83931e46061735b9559728fa2ca5aff846a168cc1a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt:113-126 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/VersionPicker.kt:95-108 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt:113\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. 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee7fa2ad4f61b5b08bed106c671c15d3c2bf0da37c76095dfb9904e86c31b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt:128-141 | feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/RecentlyViewedRoot.kt:96-109 \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 \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt:128\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":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a697aa8dc344d287eb1677913feb380106540589877f74ef2c62451868d7387"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/import/ImportStarsViewModel.kt:199-212 | feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/import/ImportStarsViewModel.kt:243-256 \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":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/import/ImportStarsViewModel.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8090c1e2f9b1cee712b850dab82f8ce3081a371b364a3ac8850081bfd1d4cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt:184-191 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt:229-242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"537a971b503802468636b209786ce27cb9d2488465de89513c08bf37a0ecf911"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt:212-224 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/appinfo/AppInfoRoot.kt:104-117 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt:212\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe5c6ead97775e5f161db3501c2d0c8ed82b2f17ef25da7143bb343f3ed59d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hosttokens/HostTokensViewModel.kt:101-114 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hosttokens/HostTokensViewModel.kt:117-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hosttokens/HostTokensViewModel.kt:133\u0060 calls \u0060normalize\u0060 and \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hosttokens/HostTokensViewModel.kt:117\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/hosttokens/HostTokensViewModel.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"84233a67a06e2951d1bd248fa53934a7cb20b538b5c413b9f0d89100092ea64c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/personality/manga/MangaColors.kt:22-34 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/personality/manga/MangaColors.kt:37-49 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/personality/manga/MangaColors.kt:52-64 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/personality/manga/MangaColors.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7dd47e76f51a48cdce5e316a37b485d2a901a48c0401781e560842d042d15f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt:434-446 | composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt:502-514 \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 \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt:434\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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3261320996de7c52b952fd49e06332c89a5c03d99ea91a0da262cb779af3a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:402-414 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:394-406 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75b5c8b48b274f117edd48fbda8c432d921b2288c15557302761bc3680aa0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:613-625 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:728-740 \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 \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:613\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"f622ee6291cc2c774d7a84ff45a9dfcc989c2b9504d84e9858948d4f3b265fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt:369-381 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt:383-395 \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 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt:369\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e77c5a611f3b1ef355caec847a190cbecccec98b94f6e2e443ed6b6b0082a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/FilterSortControls.kt:146-158 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/feedback/components/CategorySelector.kt:85-97 \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 \u0060feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/FilterSortControls.kt:146\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":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/FilterSortControls.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"031a92d652f051d79ebc80ce8dfceafc0130ee0bcdbdf6b71ed48029e70f6b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:53-65 | feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/components/RecentlyViewedItem.kt:51-63 \u2014 before extracting anything, compare \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt\u0060 and \u0060feature/recently-viewed/presentation/src/commonMain/kotlin/zed/rainxch/recentlyviewed/presentation/components/RecentlyViewedItem.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt:53\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":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/components/FavouriteRepositoryItem.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4628cb2e0389b6746dc7f83be59a5ea715146c917ee4cb24f37f642ed965d0dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:116-128 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:191-203 \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 \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:116\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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"707a2e7a8c9fdc99aa5a71d6289dbeb233b3f73c269be99bf68a99a28d800b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/shell/SettingsValuePill.kt:44-56 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/shell/SettingsValuePill.kt:71-83 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/shell/SettingsValuePill.kt:44\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/components/shell/SettingsValuePill.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c718f9ed7bdec59ff5c693af9b71b9f5834129e5abdc7bda2cad7ef9873e2e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/feedback/components/DiagnosticsPreview.kt:79-91 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/feedback/util/FeedbackComposer.kt:63-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/feedback/components/DiagnosticsPreview.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3817bf08012eaf7f90d4c3c9f13bb18d3aac7fbe8382736b32edf0424e44b213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:115-126 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:190-201 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:265-275 \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 \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:115\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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dee8b6f7e9d98abbdb1d893120eb88f87e1e8e269b6b962b1760c02d3c69d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidFileLocationsProvider.kt:89-100 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopFileLocationsProvider.kt:133-144 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidFileLocationsProvider.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee45898897fc5ded947ac121e694f80da9cc48039472c53ee9e4737515db8372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt:153-164 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt:177-188 \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 \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt:153\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a438efa97a197e347b18ffb43fddc3b2ce834c5c62916ed42c3ca3a61ca8a373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt:175-186 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiIconButton.kt:130-141 \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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a58e97017151e28b47e0703c8163edb6d02194b66a84475d410b5fa4d5918d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:389-399 | feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:458-469 \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 \u0060feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:389\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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"86023b56705e112b552c543e6c4b9bee8ff850c6be9d5492199ad2f774758808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1322-1333 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1515-1526 \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 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:1322\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a3db8f95cf74fbbbcfb5164bc06f92e6ac874548144a5a9b256c92d2c7ec30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:70-81 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt:55-66 \u2014 before extracting anything, compare \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerScreen.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt:70\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/AboutRoot.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3d63a2bad8ef54d3c6bee4922e1fbd92641715f81c2e7e445e0977a332bfe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/VersionPicker.kt:284-295 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/VersionPicker.kt:303-314 \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 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/VersionPicker.kt:284\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/VersionPicker.kt"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e801d3466b6aad219977ff0d828e1cb9c9bc0d1c68423aa13b7fa25d4833050b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:310-321 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:381-392 \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 \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:310\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, \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:323\u0060 calls \u0060listOfNotNull\u0060, \u0060maxOrNull\u0060 and \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:394\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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea19c9beed0d00c2d703e66abc69486a95711b5829c3c7ad467137f958a78442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:759-770 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1764-1773 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:759\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbe90ad73b624b2ed73473d5ac320689f0516329cdc2bf709c0e9b119d05e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1774-1785 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1826-1837 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1774\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23e25b8c487e156415895660b1d731b69bf0fe9753677e9ce63e360042bf45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:162-172 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:267-277 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:288-298 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:316-326 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:334-344 \u2014 all 5 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 \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:162\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:266\u0060 calls \u0060header\u0060 and \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:161\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb69c811686e90c4f9b982fc33ebe37873510ae08b10b04112703ec4c38ffc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt:121-131 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt:133-143 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/DetailsWhatsNewViewModel.kt:126-136 \u2014 before extracting anything, compare \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"db69c8305533fac99eb1245685fc89e1e094f1fcd1dc21de7e33b501e40f60ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:757-767 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1762-1771 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1813-1823 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:757\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2fd2ea51b812265e6b201312c6cf6e6bb62a5852fcaa3942778c64709849ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:74-84 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:72-82 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02fa0f1c14a6b02c5dc117f1dfb6e9d653c8a993139523d238490da50f9ea44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:157-167 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:533-543 \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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c0d55a4fce6daecfd0cbeb382d779ba9d4776ee498ac02a8d9e7a1f16d701f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:565-575 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:551-560 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"068daff0730ac9a8f2587f4a219b93b4bea384631e522a486ee0870f7ab7d2c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:149-159 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:525-535 \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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"065e6834faa9995063e1ca0526b2b1a6a4a8ec633d28b728dee247a97317fa4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/ClassicTextField.kt:113-123 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiTextField.kt:279-289 \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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/ClassicTextField.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f347c9b09c6f7001507fbb23fd94dbc41f0275bc03a455ec1d725704aecd11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiCheckbox.kt:45-55 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiSwitch.kt:82-92 \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 \u0060core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiCheckbox.kt:45\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/inputs/KomiCheckbox.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"71920b72a72407e20a6e03c35b8772e3e8ddfceb1477c589ca6a8f31c21adb23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:2047-2057 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:2673-2683 \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 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:2047\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"daac7d9f2ff9086a27a282472a44716a1a44eac4f8d2faabdff83e0b5a712e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt:739-749 | feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt:311-321 \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 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt:739\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"932b710b96cf2ec1cd14b9a014f3e8659978b9dfe97b0bd106ef1fc5d5371fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:251-261 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:387-397 \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 \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt:251\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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/data_source/impl/CachedRepositoriesDataSourceImpl.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0e8202023c6d1638250b6235fcaad0fef42b8f8d32f4dc9691cfadc2ba5b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt:298-308 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsRoot.kt:185-195 \u2014 before extracting anything, compare \u0060feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt\u0060 and \u0060feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsRoot.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt:298\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":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"558cdc65b8c10bd8398c2f45d94d14aa32de26f1ed779c486ea4a47f6659e318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt:614-623 | core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/utils/FeedCategoryUiResources.kt:19-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt:614\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/DesktopSidebar.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9e3fd81239d7efeb03f72c303694128f52b2fc24c2a8574428965033864195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/AssetVariant.kt:83-92 | core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/AssetVariant.kt:127-135 \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 \u0060core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/AssetVariant.kt:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/AssetVariant.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e30e9b4e18bb9a3744c6b652e5089c95da41e6d9f67cf89c3c9d1e575138d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/GitHubAuthApi.kt:185-194 | feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/GitHubAuthApi.kt:288-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/GitHubAuthApi.kt:185\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":"feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/GitHubAuthApi.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cec09bea429954f146550e029615db2c12aef54b582db65f8a370921a40860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/WebAuthApi.kt:41-50 | feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/WebAuthApi.kt: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/WebAuthApi.kt:41\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":"feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/network/WebAuthApi.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4867dfd2a0b2963ea47f7cc510eb792c065a2cd142372987bffa7c4ec3024621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt:315-325 | feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt:354-363 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt:315\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":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c67111ea136953ab5c667679bfef27b3d6b7fe489b7b7c8d5d080dff00003d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/ReviewsRoot.kt:380-389 | feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/moderation/ModerationRoot.kt:387-396 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/ReviewsRoot.kt"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"963c834607978b533c5ec2187dd5780176564b22baba6c381e3ffb0a0a8cc850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:772-780 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1776-1784 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1828-1836 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:772\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"300f53d7244fcb2ac95c44bd4d19bd406fef641682b59b84ea7c43b1f60cefcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/applyThemeAwareImages.kt:13-20 | core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/applyThemeAwareImages.kt:30-38 \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 \u0060core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/applyThemeAwareImages.kt:13\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":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/applyThemeAwareImages.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eac510ac438f329b483072d0ecdf7b4d933c613197c14da871a6d9668e2d41c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:227-236 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:491-499 \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 \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt:227\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/LinkAppBottomSheet.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d890ea3f99ba75970f95acd62d8a532b40104f86d87d3a24a91a3461e2401ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:157-165 | feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:212-221 \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 \u0060feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt: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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2124ca950b0ed536a17990e9302f2186f52828e17941feff6452abb4a3998652"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:2583-2591 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt:2618-2626 \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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2583}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc845e21e19395c0ae31c8eb88252df97d67e6f71fba131a366735082a48a934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:681-689 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:1388-1396 \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 \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:681\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f654a3f7b1aa34fed6559d486f1d2ef363228a7416c08a861c89314e268c96b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:142-149 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:192-199 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:222-229 \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 \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:142\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda898c4e19c86309280dd2685293e2301b6f2cbe43aa949f2c30de39e556b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt:341-347 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt:369-375 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt:383-389 \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 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt:341\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/ReleaseAssetsPicker.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdaa815019d52bcc23165d17ba41256d26f50bf76fc1a9f3cef12351e6bba97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt:160-165 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt:1318-1325 \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 \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt:160\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"94aed361e34434a724f255b481ce47eab773cdb8a1b0191e854b16529ea26850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/About.kt:133-139 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/WhatsNew.kt:136-142 \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 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/About.kt:133\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/About.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c104d9b3b26bf3e4674897bbd9849a1ab0fa06d80d601f8315c8c47345b34c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/PendingDiscardSheet.kt:27-60 | feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/PendingUninstallSheet.kt:26-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/PendingDiscardSheet.kt:27\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/components/PendingDiscardSheet.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db840ff74540814b3a141dc38cd9d372fe20ce56b086d401602d416f375df09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidLocalizationManager.kt:8-30 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopLocalizationManager.kt:8-30 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidLocalizationManager.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopLocalizationManager.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidLocalizationManager.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc0caf0f34b69b308676ad14972e7bd37b5216462fd8611304dea857aa55047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloadProgressNotifier.kt:139-145 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidPendingInstallNotifier.kt:76-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloadProgressNotifier.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2540362758858def81ebe911cb39d41b32428118c52bdfeb25feedd7d9b98f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:87-91 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:85-89 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:87\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"808ea2a4d01a2cf38288732987556e62a05815186eeea8f3c7daae834bf77893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:417-422 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:409-414 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f442f3e6b9e3eca351381dd8a3481e0a6cf44074f57497b96a9a242d57f55ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:427-433 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:419-425 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:427\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15ca53cad3d425da231ef3037819104e56d35cda7fc940a7e2f684cef96eae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:439-445 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:431-437 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:439\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e71eb92b4ac8149c07a044b0af1bfebcfa8e31dc0a1bbb03e59c2708c04bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:448-458 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:440-450 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddb95de189b257be4e3664f565bc14cf746d1335a00e71cfc5efdec347ed8d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:463-474 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:455-466 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:463\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf00fbf06086869ea58a1ac0623e68e566101659da1016aa7c0cc88661ae2839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:518-526 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:510-518 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:518\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8049ff5972a1c4d33b348c00eeec5e94228aa4427ba7f166f5ac47c573cdbc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:593-597 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:578-582 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:593\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dcfb55c8c0e762d9d753c135efc80e646058a61e3a1e9be2cbfc0fbec94c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidFileLocationsProvider.kt:79-86 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopFileLocationsProvider.kt:123-130 \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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidFileLocationsProvider.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e6788570dca2601c6110fa90287a3526d9f4d1974809d7444579d00798d75f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidPackageMonitor.kt:130-137 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/external/InstallerSourceClassifier.kt:31-38 \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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidPackageMonitor.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3e41aa9e8ac8c3578c01d987c5a135cc6bd22af55e6a28b1c853f2c7176693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt:84-91 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/shizuku/ShizukuServiceManager.kt:99-106 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/shizuku/ShizukuServiceManager.kt:96\u0060 calls \u0060isShizukuOrSuiInstalled\u0060, \u0060isPackageInstalled\u0060 and \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt:81\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"998fc777e9b2e8a9e41a199d9583b4305f3a7810ffd08f745f6ffc21f5d4731b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/BrowseFilterStoreImpl.kt:29-34 | feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:343-348 \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 \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/BrowseFilterStoreImpl.kt:29\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/BrowseFilterStoreImpl.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fb2de65a9e193ef0f633b6b0c58156dd53ced8d3c48909981c19baa99835d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt:106-114 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt:118-126 | feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/DetailsWhatsNewViewModel.kt:111-119 \u2014 before extracting anything, compare \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7ef718efcebbb9a00414010335ec204b3658e3b7bd38420a789115930a5166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt:210-218 | feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/components/ProfileSections.kt:441-449 \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":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/ProfileInfoCard.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8e4073b140a7f2da3a8b069529d66ddea5604060e185dd56f28ac0c84fe860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt:231-243 | feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/StarredReposRoot.kt:341-353 \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 \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt:231\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \u0060Search\u0060 names \u0060androidx.compose.material.icons.filled.Search\u0060 in one and \u0060androidx.compose.material.icons.rounded.Search\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3a22629a69d722c093fc9a05caf316b1e008174072d4cd37137e0f5a1b3472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:350-357 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt:397-404 \u2014 before extracting anything, compare \u0060feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt\u0060 and \u0060feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"114c7eeef87867c3723f4887963cbee692f65db896c3b0e7e04fb20b4acf8df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:359-366 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt:463-470 \u2014 before extracting anything, compare \u0060feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt\u0060 and \u0060feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccde757c205502a0309278321c969ba9092224199bb5c97fcbd82f543f85307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:368-375 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt:472-479 \u2014 before extracting anything, compare \u0060feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt\u0060 and \u0060feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7058e1cdce9802e19c2c96511ed29b2bbe05bebb787111f6b16c48022bf0f07a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt:395-401 | feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt:437-443 | feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt:175-181 \u2014 before extracting anything, compare \u0060feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt\u0060 and \u0060feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9b44e9dc4804e89cba8a2ee91613d1e4538da14d21114f21f472f46d35642d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt:382-395 | feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt:248-261 \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":"feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41873df92e401f1f2c794c2a90ca7f545d9793b60033edfed1a0b5ff85b4c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt:65-69 | feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsViewModel.kt:46-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea22af59fe15bd095027e48e42169d7926722b7f9d3d98d5e4ff9d19b2106a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/ReviewsRoot.kt:400-404 | feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/ReviewsViewModel.kt:553-557 \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 \u0060feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/ReviewsRoot.kt:400\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/ReviewsRoot.kt"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80ae452c7ca777795e3235404151e77b691b8a1609185b292ac1da5bc1dedda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/components/ReviewSheets.kt:275-280 | feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/moderation/ModerationRoot.kt:399-404 \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 \u0060feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/components/ReviewSheets.kt:275\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":"feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/components/ReviewSheets.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3a5aef9c77b3066dfb9aea3f0730a3aeb11ae872643f8fe96545b390e84e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt:183-189 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt:464-472 \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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchViewModel.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3f10edd74c4b65ef0763739b68ae7d4e45fe865d5d252180aa99fe825b32e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt:578-588 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt:563-573 \u2014 before extracting anything, compare \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 393 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fc060d9961114919069e23e125f21dac54b18de4df038be20e27b29fadc7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:133-141 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/installer/ExternalInstallerDiscovery.kt:56-64 \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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0fa250fd460fc62dff00afffc485d91637658964c5b383bb4ad3b23ff2db12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:131-166 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:206-241 \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 \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:131\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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7897e7875d2ae368e55bded8a9f1d2ef6d24e2dede83bc8e45ab398d189bae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:214-232 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:293-311 \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 \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:214\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"515d6824f3b8eab80bf63be4685f9f63cc5c09c7c5dc3a0172c9cb85543f1fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:1065-1083 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:1097-1115 \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 \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:1065\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4630a57f1a719cb37582ed7ebeef5ee292830968c3cad0202d1ae1c3f2053b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:135-150 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:210-225 | feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:277-291 \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 \u0060feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt:135\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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb68dca82c5bc4200bf298998c382532f029b697d051bda0c9b05a361d677d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationViewModel.kt:280-294 | feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationViewModel.kt:334-348 \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 \u0060feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationViewModel.kt:280\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":"feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationViewModel.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5188cab20808f322ff7fc4b35f3e86c20b614a885ed7959929a4887f3974025a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:779-793 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:910-924 | core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:953-967 \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 \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt:779\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba82a8d3aacfa23d66c8bbf085e8fa7761023505778c1315fd5d635d9980a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/FilterSortControls.kt:130-143 | feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/feedback/components/CategorySelector.kt:69-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/FilterSortControls.kt:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/dev-profile/presentation/src/commonMain/kotlin/zed/rainxch/devprofile/presentation/components/FilterSortControls.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4c55e0f24101574a8807e7fd1e393a9427d4b40b1e0001aa3d5ee4ae43a0fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:94-105 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:216-227 \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 \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:94\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5941d082b4e05365d7ad12bb2af22ea17cfbbece16378b5c579532e9c20000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:93-104 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:215-226 | core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:243-254 \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 \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:93\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:255\u0060 calls \u0060setPackage\u0060 and \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt:105\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9aeeabfb0ca1eeef527d93feabf0c5ff16ea8830524a435ac32fb0ac87de4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:112-123 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:206-217 \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 \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt:112\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab1785ed8eaf75f7b1ba197a2ea4ad07ae43a5d1c233bca8633cfca771c55c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): feature/repo-pages/data/src/commonMain/kotlin/zed/rainxch/repopages/data/repository/RepoPagesRepositoryImpl.kt:64-73 | feature/repo-pages/data/src/commonMain/kotlin/zed/rainxch/repopages/data/repository/RepoPagesRepositoryImpl.kt:327-336 \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 \u0060feature/repo-pages/data/src/commonMain/kotlin/zed/rainxch/repopages/data/repository/RepoPagesRepositoryImpl.kt:64\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/repo-pages/data/src/commonMain/kotlin/zed/rainxch/repopages/data/repository/RepoPagesRepositoryImpl.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"293e3dd9009708757acb9549e18bc9ad2a26bd50c7635e83c03a0d1b29498b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:582-589 | feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt:868-875 \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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9f110194a0e767617890ff681533ddad62eaaa06ca23f26bdd9c59543d4c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:106-111 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:119-124 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:398-403 | core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:408-413 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt:106\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77a05d2bc150eae9c34a569eb5d470cdc9e513acfa010c208e2aa45367ae54c"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project GithubStore:composeApp: GithubStore:composeApp has instability 0.97 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eb35a0c600a86e05104904a78f389e35eb5bcfa11aad7892bf197bb34725d6a7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: GithubStore:core:presentation: GithubStore:core:presentation: abstractness 0.01, instability 0.06, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 16 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1a9ad751b72027606c219249777b68b130cbfc5ca43b43e5884aaf2d99a7802d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: GithubStore:core:domain: GithubStore:core:domain: abstractness 0.12, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 38 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62bd6f607ed2d9ecb6d198ff8d4a314aa658d33887a74c27d2314ccec92b4361"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: GithubStore:core:data: GithubStore:core:data: abstractness 0.04, instability 0.15, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 11 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"17aa9429c6dd0b527703e6832274be0330d355b14e9f1338977059c820ed198b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt: feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in AppsViewModel.onAction at line 373. 13 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5aab1a25c5c4a633ef58322ea0ab26cd954d6f7e96f19a491fcdc57d46387f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt: feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in DetailsViewModel.onAction at line 321. 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-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cd03e9337310ab021ce0faf12bd2befa53566462e6f8a7d922cb1559496606"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt: feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 177 in TweaksViewModel.onAction at line 598. 2 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"f945f7bec364d967e1c064f6f474c0ca9ce93f9a2df0bad4b254a1a29180869b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt: feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in SmartInstallButtonKt.SmartInstallButton at line 103. 3 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6dc5fca7285d9268c014917f7105cbf6a7d0cddc7e4fd163a286f13cd0b9c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt: composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in AppNavigationKt.AppNavigation at line 96. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt\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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"558dc57ffbfd0eeb0796a12d8cfa903596f5eae797f1a4ef1353d99f6eadcf92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt: core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DefaultDownloadOrchestrator.runDownload at line 183. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e3a5d6c54bd422e9b8b7b2f3717039bcddac6c1730b69e1ec13eecd2f1ea47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt: feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in SearchRootKt.SearchScreen at line 242. 3 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt\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":"feature/search/presentation/src/commonMain/kotlin/zed/rainxch/search/presentation/SearchRoot.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48a4d86c4f9628adeccf6a2104273036e5fe616495edf7b8761c77e8f5f7b46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/UpdateVerdict.kt: core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/UpdateVerdict.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in UpdateVerdict.decide at line 37. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/UpdateVerdict.kt\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":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/UpdateVerdict.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c21da14ebc048569fbeb41cadf73c6fda2119775a4b9fd76110b377f09bc8cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsRoot.kt: feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsRoot.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AppsRootKt.AppsScreen at line 213. 4 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsRoot.kt\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsRoot.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da8f3c2b92f01a7073f2ee518db06e3742e0ed0a261f38f97e3bee5b7ce6633"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt: feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TweaksRootKt.TweaksRoot at line 59. 3 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksRoot.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b9444fd0d9912cf916d2791bb16d7cc375c55b401234e341c038b300026e61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt: feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in DetailsRootKt.DetailsRoot at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc5eee9762981c00c9dd487e8acabe4748b2ad1399450f83dd8118447de738e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/KomiRepoCard.kt: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/KomiRepoCard.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in KomiRepoCardKt.KomiRepoCard at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/KomiRepoCard.kt\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/cards/KomiRepoCard.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde02adf0f4d3d881c23ab0cb461ffbfed89be5aca7aa23b3c4c046b43e650e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt: feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in FeedViewModel.onAction at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt\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":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a098552aa4b09b5b322b3d22d634ec5bd6f723f6b3a177f5f40b40c84a1956"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt: feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in HomeViewModel.onAction at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt\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":"feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"001be8645f927efb5dd8659ee3f405843a0e2d7268eccdee0121ff129d419373"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/Header.kt: feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/Header.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in HeaderKt.header at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/Header.kt\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/Header.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd53bf0e7e33c866bfbdd9117c0cca370d9192e32e70a5cbd315e5664bb2c5ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt: core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in AndroidDownloader.downloadAttempt at line 239. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e16288468aa0511319dbc3aae7aaa1fc683a621042d0ac8de4b8eb1b7cea88"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt: core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in DesktopDownloader.downloadAttempt at line 231. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f01faf5b62f025c32e919427253699d330f3565cea1907ca9cda01a412515cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/surfaces/KomiSurface.kt: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/surfaces/KomiSurface.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in KomiSurfaceKt.MangaSurface at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/surfaces/KomiSurface.kt\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/surfaces/KomiSurface.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c59d987c39605d47807222e29dee01e15542c472b6aa2b7c4e7f54addb6063a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/utils/preprocessMarkdown.kt: feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/utils/preprocessMarkdown.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in PreprocessMarkdownKt.preprocessMarkdown at line 3. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/utils/preprocessMarkdown.kt\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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/utils/preprocessMarkdown.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f60dc636e2a5825639ef8f133cd92d16ed3069070a58e4e52b5f651fe69a5c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in KomiButtonKt.MangaButton at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/buttons/KomiButton.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c985755af75160896a28ffb12ad477d83aead7cbe259aedc60aad6b3a6edfc9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in KomiChipKt.MangaChip at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/chips/KomiChip.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6529fb48ff0b2003677d8f978d0cfc8ae4bb98749b2bb600e565e349f43f638d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/lists/KomiList.kt: core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/lists/KomiList.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in KomiListKt.KomiListRow at line 162. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/lists/KomiList.kt\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":"core/presentation/src/commonMain/kotlin/zed/rainxch/core/presentation/components/lists/KomiList.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b0d94c40f38a2ef54a6ef48a3f841eafcc7077897ef1aec3b347d598a5358f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt: core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DhizukuInstallerServiceImpl.installPackage at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c442a61687715be17a23410b5295332c9ed47a3121739de01a590d5ca32a93"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt: core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt changed 16 times in last 90 days and 13 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 InstalledAppsRepositoryImpl.checkAgainstWindow at line 213), 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(install): keep the signing baseline on the installed app\u0027s real signer (#1199)\u201D; \u201Cfix(updates): bind the release timestamp for re-released builds (#1149)\u201D; \u201Cfix(downloads): resolve the tracked release when a renamed asset 404s (#1135)\u201D; \u201Cfix(install): settle a park by the bytes it wrote, not the version number (#1137)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3091dba6394389acb135cbf6252f8e7b0e44582b33082a68fe1a2d7d8da58be5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/model/installation/InstalledAppUpdates.kt: core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/model/installation/InstalledAppUpdates.kt changed 8 times in last 90 days and 6 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 InstalledAppUpdatesKt.confirmInstall at line 8), 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(install): keep the signing baseline on the installed app\u0027s real signer (#1199)\u201D; \u201Cfix(updates): bind the release timestamp for re-released builds (#1149)\u201D; \u201Cfix(install): settle a park by the bytes it wrote, not the version number (#1137)\u201D; \u201Cfix(install): a duplicate install settles the parked install instead of hanging (#1133)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/model/installation/InstalledAppUpdates.kt\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":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/model/installation/InstalledAppUpdates.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8957eed8bae8828c54af673978569011c3fd4abde99f7703114ee1692db55273"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt: core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt 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 13 (its worst body is AutoUpdateWorker.runAutoUpdate at line 55), 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(updates): bind the release timestamp for re-released builds (#1149)\u201D; \u201Cfix(db): bind the installed record to the release it came from (#998)\u201D; \u201Cfix(updates): run background checks on Android 12\u002B, check every 12 hours (#1006)\u201D; \u201Cfix: detect updates for reused nightly release tags (#934)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f63653635829e3210aaac66557e87775492c2cb29a27bc045dddb5474f1582b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/PackageEventReceiver.kt: core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/PackageEventReceiver.kt 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 PackageEventReceiver.onPackageInstalled at line 110), 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(install): keep the signing baseline on the installed app\u0027s real signer (#1199)\u201D; \u201Cfix(updates): bind the release timestamp for re-released builds (#1149)\u201D; \u201Cfix(db): bind the installed record to the release it came from (#998)\u201D; \u201Cfix: detect updates for reused nightly release tags (#934)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/PackageEventReceiver.kt\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/PackageEventReceiver.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d092351075f3989e9b0df5365dd6d37f432e6e254f98cc463fde926021db382"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/system/InstallationManagerImpl.kt: feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/system/InstallationManagerImpl.kt 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 4 (its worst body is InstallationManagerImpl.saveNewInstalledApp 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(install): keep the signing baseline on the installed app\u0027s real signer (#1199)\u201D; \u201Cfix(updates): bind the release timestamp for re-released builds (#1149)\u201D; \u201Cfix(assets): treat a build id glued to the version as the same app (#1001)\u201D; \u201Cfix(db): bind the installed record to the release it came from (#998)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/system/InstallationManagerImpl.kt\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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/system/InstallationManagerImpl.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc9d0f090759a0b3c45b694b578794f923d7f80947766a46439f3d4e9328a74"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/VersionMath.kt: core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/VersionMath.kt 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 7 (its worst body is VersionMath.isMarkerWithOpaqueSuffix at line 150), 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(updates): bind the release timestamp for re-released builds (#1149)\u201D; \u201Cfix(updates): a rebuilt release is not a new build when its bytes are unchanged (#1009)\u201D; \u201Cfix(updates): a failed check keeps the update it found before (#1008)\u201D; \u201Cfix: detect updates for reused nightly release tags (#934)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/VersionMath.kt\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":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/VersionMath.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc78bcf6b1facb726fc96f1502f2d1eb72c5ab0e84c37e1eb0e12568f9e25ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt: feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is AppsRepositoryImpl.detectFormat at line 434), 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(apps): skip backup apps that aren\u0027t on this phone instead of importing them as installed (#1203)\u201D; \u201Cfix(apps): Update starts from the stored update match instead of a fresh release lookup (#1059)\u201D; \u201Cfix(assets): treat a build id glued to the version as the same app (#1001)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt\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":"feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"542b56112e217e3b1801fd4887e48c080aecdf4a4577fa9f0a070ceda365c9e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/model/installation/InstalledApp.kt: core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/model/installation/InstalledApp.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is InstalledAppKt.isReallyInstalled at line 63), 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(updates): bind the release timestamp for re-released builds (#1149)\u201D; \u201Cfix(db): bind the installed record to the release it came from (#998)\u201D; \u201Cfix: detect updates for reused nightly release tags (#934)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/model/installation/InstalledApp.kt\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":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/model/installation/InstalledApp.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edd114b2f15f77649c293e10fc48e8cabf91f54707812601cb83f01e97cdfcf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt: core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is StarredRepositoryImpl.checkForValidAssets at line 319), 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(starred): honour the star\u002Bjson media type on both endpoints and survive its absence (#1110)\u201D; \u201CFix/starred sync preserve repositories (#1041)\u201D; \u201Cfix(repo-pages): a rate limit shows a message instead of crashing (#1064)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-27..2026-10-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-27 18:52:52 \u002B05:00\u0027 --until=\u00272026-10-25 18:52:52 \u002B05:00\u0027 --full-history --no-merges -- core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09d9b57253309836d0df0f94099d069503932d57587dff49ef30702d504afba"}},{"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 \u0060composeApp/build.gradle.kts\u0060 makes this repository a deployable product (line 109)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/build.gradle.kts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"422e36a1b9b0d8299562e75de50bc1cc8315ce716bc42983b651784014233f81"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 6 of 37 project(s) overshoot their size bounds, lowering Project Cohesion to 6.8/10. The most over is \u0060core/data\u0060 (19834 LoC, 375 module-visible types across 43 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":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cec89d0d98da9d3cb3c336f05e3d083683fa0ebc948938e394cd60d0735fabe"},"taxa":[{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"8b212631b9243bf008a0238fda4240a359f9fafc5d5ee666934ded1a3ca866d4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"28e99622490eef2720a46e94fbba70d95e2256a514eccffb2a5087dea15a7ff1"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e8d1fd3284d0e88620c9a1c308d0a9d019a8eda9eb21f2ebb8b09b3619b6392"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c563f2fb70ec308a2a99838260fc14cfffbb06492cca801126cb4648e945669"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d54e2cd7cecbec5e0383e745d87f81205973067877a807686d2caa9aa408881c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f9f5c7433436f3d8a136645f7eb54e491bbe6588f5911d26298d4674b2bbd25"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c76c5b2142a58ba888461e576de90d6547a0beeeb3366f81c5bc240d484beb0"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"902dd2db530fe34735be6c4218f71d6b18d7174c7b0b01c7e05fe01c21c75e47"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24e2c9c94081b89e4e88a6f03e0e3e965b15d23b643a9c98c7e1a61e63fa483f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e839089a4a4b5163f888df695fc0bae1a917bbd74dd7427da0c45ea446716cf7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e874e6b85a9da97c7d628b91311bbd90edca46ff155fb2539c29e2c9e709b30f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a953d21563844d522c427c9a43f3f3bf8894f038eb1b5a5cec89aa8757d0662d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dce48111b41018fe9082146fcd849a8cc8aaec6328c036cb7acdc5062f11df28"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"983cac3d8f7fe130d32e639e3539d90ddafdad8a454b95be2f5fd0d032e9405c"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"f42a41bc1b460e963d0b5718982ee77e8eca43abaf5d1ec1ae93d4a0d01adf74"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: MainViewModel.kt \u2194 ProfileState.kt: \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/MainViewModel.kt\u0060 (context composeApp) and \u0060feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/ProfileState.kt\u0060 (context feature) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 6 shared commits counted here, the most recent 3 are \u0060104c609e\u0060 fix: stop the profile screen and every image flashing on rebuild (#968); \u00609d0cf750\u0060 feat: implement optional scrollbar support desktop platform; \u0060f1588e07\u0060 feat(settings): Add explicit Light/Dark/System theme selection (at that commit the file was still \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/feature/settings/presentation/SettingsState.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/MainViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf93742e566e089471df6b871df50a1ac6d25d7c80e17109a83671d51edc160"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AppNavigation.kt \u2194 ProfileAction.kt: \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt\u0060 (context composeApp) and \u0060feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/ProfileAction.kt\u0060 (context feature) sit in DIFFERENT parts of the tree yet change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 8 shared commits counted here, the most recent 3 are \u00608e50dadd\u0060 feat: long-press the Profile Announcements row to preview sample items; \u00603fb79e4d\u0060 feat: long-press the Profile What\u0027s new row to preview the sheet; \u0060d901a6ca\u0060 feat: implement \u0022Recently Viewed\u0022 repositories feature \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c026d1d471d557676ade6e7b41dddb1e3da4d1ab762c82afc003264dc5789ecf"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AppNavigation.kt \u2194 FavouritesRoot.kt: \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt\u0060 (context composeApp) and \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt\u0060 (context feature) sit in DIFFERENT parts of the tree yet 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) \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 5 shared commits counted here, the most recent 3 are \u00606eaa4885\u0060 Fix/foreign details from history (#989); \u00609d0cf750\u0060 feat: implement optional scrollbar support desktop platform; \u00601a599ff6\u0060 feat: Add navigation to developer profiles from repository lists (at that commit the file was still \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/feature/favourites/presentation/FavouritesRoot.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0768850dc27a636700c8b83cf5a3e26722c8148e8b230c4f4309a4be1da3e88"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TweaksAction.kt \u2194 TweaksState.kt: \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksAction.kt\u0060 and \u0060feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksState.kt\u0060 change together 85% of the time (11 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u006028ad702b\u0060 feat(diagnostics): capture uncaught exceptions on device (#1183); \u006076620e19\u0060 feat(tweaks): pick the display\u0027s refresh rate (#1125); \u00606bc9a91f\u0060 feat: add content width preference for the details screen (desktop) (\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksAction.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb1b5e29f27994005355a05190a4e6ceb1c23f0c0ecd50798b998a88317ec62"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: InstalledAppDao.kt \u2194 InstalledAppsRepository.kt: \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/dao/InstalledAppDao.kt\u0060 and \u0060core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/repository/InstalledAppsRepository.kt\u0060 change together 73% of the time (11 of the 15 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 11 shared commits counted here, the most recent 3 are \u0060c2e5a6a7\u0060 fix(install): keep the signing baseline on the installed app\u0027s real s\u2026; \u00605268182d\u0060 fix(install): settle a park by the bytes it wrote, not the version nu\u2026; \u00609d838085\u0060 fix(db): bind the installed record to the release it came from (#998) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/dao/InstalledAppDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ccf735164da2c0ca7191853d7ffdad3edb305cca23f7bcbe7cc1d50e52cc7a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: DetailsViewModel.kt \u2192 AndroidInstaller.kt, AutoUpdateWorker.kt, InstallationManagerImpl.kt, SmartInstallButton.kt, Header.kt: \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt\u0060 changes together with 5 other files \u2014 \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt\u0060, \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AutoUpdateWorker.kt\u0060, \u0060feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/system/InstallationManagerImpl.kt\u0060, \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/SmartInstallButton.kt\u0060, \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/Header.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 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 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31e1390b1ecfee9c394e6664cbc0d93f08b95666c0c9f6903f4c2ad7fbf3bc4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ProfileState.kt \u2192 TweaksRepositoryImpl.kt, TweaksRepository.kt, ProfileAction.kt: \u0060feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/ProfileState.kt\u0060 changes together with 3 other files \u2014 \u0060core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/TweaksRepositoryImpl.kt\u0060, \u0060core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/repository/TweaksRepository.kt\u0060, \u0060feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/ProfileAction.kt\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":"feature/profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/ProfileState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ecbb6d96d0e625bfb3c6f432130fd4f845f464d58ea93f2a35a8cfb1cb99e1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AppsAction.kt \u2194 AppsState.kt: \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsAction.kt\u0060 and \u0060feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsState.kt\u0060 change together 63% of the time (12 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060e6bfbea5\u0060 feat(apps): remove the Keep Android Open banner (#1169); \u0060b029e051\u0060 chore(apps): remove unused AppDetailPane (#991); \u0060621e1385\u0060 feat(link): smart-match step \u002B drop package-name lock \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsAction.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a043a5f7d637973031de1b91fbb431cdf1b246b5ba31b557a468a25d6c03a2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: HomeAction.kt \u2194 HomeState.kt: \u0060feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeAction.kt\u0060 and \u0060feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeState.kt\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006038716011\u0060 feat(ui): width-driven grids for list screens (#959); \u0060555bdd28\u0060 feat(home,search): filter hidden repos \u002B hide action wiring; \u0060686413ae\u0060 feat: support multi-select platform filter on Home (#476) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeAction.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9c30262ce4efb5d2007290f0d15be25a876558330dd964ca21c8b0b2c173a7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DetailsAction.kt \u2194 DetailsState.kt: \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsAction.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsState.kt\u0060 change together 61% of the time (19 of the 31 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 19 shared commits counted here, the most recent 3 are \u0060bf2271a4\u0060 fix(details): hoist markdown height so scroll doesn\u0027t snap back (#614); \u006034933a98\u0060 feat(e15): multi-OS release picker with cross-platform asset sections; \u0060277d7e72\u0060 feat(details): first-time coachmark on channel chip \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsAction.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ff71b2b3b9d713df639229b79bdd4163ff1205936101f222d912c9b0a67931"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AuthenticationRepositoryImpl.kt \u2194 AuthenticationViewModel.kt: \u0060feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/repository/AuthenticationRepositoryImpl.kt\u0060 and \u0060feature/auth/presentation/src/commonMain/kotlin/zed/rainxch/auth/presentation/AuthenticationViewModel.kt\u0060 change together 58% of the time (15 of the 26 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 15 shared commits counted here, the most recent 3 are \u0060ef69edcd\u0060 fix(auth): show typed sign-in errors instead of exception text (#1090); \u00605de1f1e1\u0060 fix(auth): redact user_code from logs, URL-encode in prefilled link; \u00601e6740d9\u0060 feat(auth): improve Personal Access Token validation and error handling \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/auth/data/src/commonMain/kotlin/zed/rainxch/auth/data/repository/AuthenticationRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efc5bf722dc5f265c750ca35ac5dccda7389375201e43aca87e419c3bdb7a7b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: DetailsRoot.kt \u2192 About.kt, WhatsNew.kt, FavouritesRoot.kt: \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt\u0060 changes together with 3 other files \u2014 \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/About.kt\u0060, \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/components/sections/WhatsNew.kt\u0060, \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsRoot.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4dec12458c7b6e6a5fcf3f25c87b384af5dc85c1732d39c4d42bb4915a5379"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AndroidInstaller.kt \u2194 DesktopInstaller.kt: \u0060core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt\u0060 and \u0060core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt\u0060 change together 50% of the time (9 of the 18 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 9 shared commits counted here, the most recent 3 are \u006046272869\u0060 Fix #808: smarter release-asset auto-selection (#814); \u00606d309d57\u0060 feat: track installation outcome to improve pending install state; \u00605a001910\u0060 feat(details): implement external installer support for APK installat\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb77d66ae75254ae52b4e566a0424351c2a5e7cfb7001c27341aaf6c56bfa41"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Installer.kt \u2194 DetailsAction.kt: \u0060core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/system/Installer.kt\u0060 and \u0060feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsAction.kt\u0060 change together 50% of the time (6 of the 12 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 6 shared commits counted here, the most recent 3 are \u00605a001910\u0060 feat(details): implement external installer support for APK installat\u2026; \u0060ba84ade0\u0060 feat(core): implement app uninstallation support; \u00605362bc9d\u0060 feat(app): Remove in-app uninstallation and refine downgrade handling \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/system/Installer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4520ffffa79fdd378ce6da04cab51bee03f71f464882196adcbd4ea604775a7f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: initKoin.kt \u2194 AppNavigation.kt: \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/di/initKoin.kt\u0060 and \u0060composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/navigation/AppNavigation.kt\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 \u0060451d973d\u0060 feat(starred): Add Starred Repositories feature; \u00607579c284\u0060 feat(favourites): Add initial structure for Favourites screen; \u006085663a8e\u0060 Clean up the code \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/di/initKoin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7bf50ccfb2e6d819c60d5cc1b4aee7056c24a16b4ca7fc3e5db8ade1709109"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FavouritesRoot.kt \u2194 StarredReposRoot.kt: \u0060feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt\u0060 and \u0060feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/StarredReposRoot.kt\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 \u00608c5a981b\u0060 presentation: update arrowKeyScroll defaults and improve scrollToBott\u2026; \u006005d779ff\u0060 feat: add arrow key navigation for scrollable lists and grids; \u00609d0cf750\u0060 feat: implement optional scrollbar support desktop platform \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesRoot.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c21e619b9b92df9029f46adae024c41be3df7865542f65f3990b10b323bda6"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c1a11db9159b6d1d4d73d2516ab5d663e399007f5efd85cc3dc951deb5f5a49"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: CacheEntryEntity: \u0060CacheEntryEntity\u0060\u0027s public constructor takes \u0060key\u0060, \u0060jsonData\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060CacheEntryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/CacheEntryEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6cc88dd53e7accdbc6a1a1affde0600bce126a71736ab4a0d466c7524e43c3"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ExternalLinkEntity: \u0060ExternalLinkEntity\u0060\u0027s public constructor takes \u0060packageName\u0060, \u0060state\u0060, \u0060repoOwner\u0060, \u0060repoName\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ExternalLinkEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/ExternalLinkEntity.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6f46cb5bbcdc7409885e51846d7d4012e29b45e4f93e908b08dcc94c7399ae"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: FavoriteRepoEntity: \u0060FavoriteRepoEntity\u0060\u0027s public constructor takes \u0060repoName\u0060, \u0060repoOwner\u0060, \u0060repoOwnerAvatarUrl\u0060, \u0060repoDescription\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060FavoriteRepoEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/FavoriteRepoEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c617ca6350e7cc1a7987eb080c911962370fb15fe698ad7ecb6d19c245491d1b"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: HiddenRepoEntity: \u0060HiddenRepoEntity\u0060\u0027s public constructor takes \u0060repoName\u0060, \u0060repoOwner\u0060, \u0060repoOwnerAvatarUrl\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060HiddenRepoEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/HiddenRepoEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a074fb51536c9b22b419ddfbff29593fb7c03c152e35862da8202e7650fd022c"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: InstalledAppEntity: \u0060InstalledAppEntity\u0060\u0027s public constructor takes \u0060packageName\u0060, \u0060repoName\u0060, \u0060repoOwner\u0060, \u0060repoOwnerAvatarUrl\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060InstalledAppEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/InstalledAppEntity.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa040e92c652c47f53ab606d78c2de332377525615f305357ffad16808af402"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SearchHistoryEntity: \u0060SearchHistoryEntity\u0060\u0027s public constructor takes \u0060query\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SearchHistoryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/SearchHistoryEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f2740882203d132a4a98b96a8286381ba18108bfb5eee9021cef093f65ea67"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SeenRepoEntity: \u0060SeenRepoEntity\u0060\u0027s public constructor takes \u0060repoName\u0060, \u0060repoOwner\u0060, \u0060repoOwnerAvatarUrl\u0060, \u0060repoDescription\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SeenRepoEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/SeenRepoEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d25a3d59ce1e917fb03b05fb5bad9c6d9926af885881386246f536200019d80"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: SigningFingerprintEntity: \u0060SigningFingerprintEntity\u0060\u0027s public constructor takes \u0060fingerprint\u0060, \u0060repoOwner\u0060, \u0060repoName\u0060, \u0060source\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060SigningFingerprintEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/SigningFingerprintEntity.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc5f4c4c84595b7592d36bf1e845e9692f2d10406e56bd93e12937a1b3f536f"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: StarredRepositoryEntity: \u0060StarredRepositoryEntity\u0060\u0027s public constructor takes \u0060repoName\u0060, \u0060repoOwner\u0060, \u0060repoOwnerAvatarUrl\u0060, \u0060repoDescription\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060StarredRepositoryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/StarredRepositoryEntity.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"138612b18f6f7cbc288dee1fcc51c2fb97d79bf4ebcec8c6af93a1338eb07e92"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: UpdateHistoryEntity: \u0060UpdateHistoryEntity\u0060\u0027s public constructor takes \u0060packageName\u0060, \u0060appName\u0060, \u0060repoOwner\u0060, \u0060repoName\u0060, \u2026 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060UpdateHistoryEntity\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/local/db/entities/UpdateHistoryEntity.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aff78545a4930ab41ba22f4d3468ab72e3b851b40bcb33f2c206a43af3c73c8"}},{"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 19/20 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060PartialNaming.assetNameOfPart(it) == assetName \u0026\u0026 it != part.name\u0060 appears character-identically in 2 files \u2014 core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt. 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7038b76116465eed40021b20464bde497bb8595227cad6547877aa0bcdd0257"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_state.value.filter == filter \u0026\u0026 _state.value.errorMessage == null\u0060 appears character-identically in 2 files \u2014 feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt, feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsViewModel.kt. 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":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d2fdd56c9ecdc46cd1d558eba12d2c1d5f54148e6762edee363184442fa2de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cause is HttpRequestTimeoutException || cause is UnresolvedAddressException || cause is IOException\u0060 appears character-identically in 2 files \u2014 core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/ForgejoApiClient.kt, core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/HttpClientFactory.kt. 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/ForgejoApiClient.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e53eaa14f5648831cfbf160c1c2e9f2634e9901a4d43e658ef978c3be5b161"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.username != null \u0026\u0026 config.password != null\u0060 appears character-identically in 2 files \u2014 core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt. 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddc93ed3e5be6b1e87215062f6d9f27d91e7fb21ba78729fb5ba2bd659538df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.isLoading || current.isLoadingMore || current.endReached || current.errorMessage != null\u0060 appears character-identically in 4 files \u2014 feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt, feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsViewModel.kt, feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/ReviewsViewModel.kt, feature/reviews/presentation/src/commonMain/kotlin/zed/rainxch/reviews/presentation/moderation/ModerationViewModel.kt. 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":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesViewModel.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bebe15474b01289232e873f37d59c773e9989d08c7ba5c58ece49fd14afbd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentUserLogin != null \u0026\u0026 owner.login.equals(currentUserLogin, ignoreCase = true)\u0060 appears character-identically in 2 files \u2014 feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt, feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt. 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":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec4dcdf6ce564a7cf5d185b471066917b5428a3d9d012c8dc9240bbd78ee953"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060decision == RangeDecision.APPEND \u0026\u0026 resumeFrom \u003E 0L \u0026\u0026 stored != null \u0026\u0026 stored.size \u003E 0L \u0026\u0026 total != null \u0026\u0026 stored.size != total\u0060 appears character-identically in 2 files \u2014 core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt. 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbce554de8dc2df7dd8ea2b65ab49468db52693b0e5a47099b09905af95e0b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expectedDigest != null \u0026\u0026 digestVerifier.verify(destination.absolutePath, expectedDigest) == null\u0060 appears character-identically in 2 files \u2014 core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt. 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"351ca4976549913760aebeb5d294bdd1dea02f9886bc23d89d5d85ec7b032883"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060filter != null \u0026\u0026 !fallbackToOlderReleases\u0060 appears character-identically in 2 files \u2014 core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt, core/domain/src/commonMain/kotlin/zed/rainxch/core/domain/utils/TrackedReleaseResolver.kt. 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"89549e41bcc7b0f5f6114e7a35d927d938c373cb9ef7b1dec1c491742791bfb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060includePreReleases || !it.isEffectivelyPreRelease()\u0060 appears character-identically in 3 files \u2014 core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/ReleaseWindow.kt, core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/GithubReleaseWindow.kt, feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt. 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/mappers/ReleaseWindow.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6f02969fc7c030890e8d61b6605f81c974f60d8b3d875f085f6d948c610046"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060info.totalItemsCount \u003E 0 \u0026\u0026 last \u003E= info.totalItemsCount - 4\u0060 appears character-identically in 2 files \u2014 feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt, feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/pulls/PullsRoot.kt. 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":"feature/repo-pages/presentation/src/commonMain/kotlin/zed/rainxch/repopages/presentation/issues/IssuesRoot.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca348a690100d971ef4ee3a053a5ebba3568819b4a8e95b8ca9b94320063f3a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.displayName.contains(query, ignoreCase = true) || it.code.contains(query, ignoreCase = true)\u0060 appears character-identically in 3 files \u2014 feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt, feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt, feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/whatsnew/DetailsWhatsNewViewModel.kt. 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"db10376700c591a020564fc3023478afa96ac2b254e82f4d0b91b930d7cd4eda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.draft != true \u0026\u0026 it.prerelease != true\u0060 appears character-identically in 4 files \u2014 core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt, feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt, feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt, feature/search/data/src/commonMain/kotlin/zed/rainxch/search/data/repository/SearchRepositoryImpl.kt. 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"22647eef5f8c062bcd9df45d00b0c7e186f8d8749b1b9cc6ade18e8ff54eb6c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.endsWith(\u0022.appimage\u0022) || name.endsWith(\u0022.deb\u0022) || name.endsWith(\u0022.rpm\u0022) || name.endsWith(\u0022.pkg.tar.zst\u0022)\u0060 appears character-identically in 5 files \u2014 core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt, feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt, feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt. 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f449655aa0d7f6d30b99cf27aba6ea3cf47a55d3380911901d77ac4deaf6b0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.endsWith(\u0022.dmg\u0022) || name.endsWith(\u0022.pkg\u0022)\u0060 appears character-identically in 5 files \u2014 core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt, feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt, feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt. 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ce834ead7903dcd50fc60434b197fe846cf423a428b8962dc8a561daab38e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.endsWith(\u0022.msi\u0022) || name.endsWith(\u0022.exe\u0022)\u0060 appears character-identically in 4 files \u2014 core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt, feature/dev-profile/data/src/commonMain/kotlin/zed/rainxch/devprofile/data/repository/DeveloperProfileRepositoryImpl.kt, feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt. 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/StarredRepositoryImpl.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbd0472f8464823648cf89ee14538a724abcb16db73d874323837f0c127e385"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parseResult != null \u0026\u0026 parseResult.isFailure\u0060 appears character-identically in 2 files \u2014 core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt, feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt. 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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/InstalledAppsRepositoryImpl.kt"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"2610265debcbad3bba876affaac9a272d29905a4ecbbb5a0caab27577ab5a8c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060repo.id !in hiddenIds \u0026\u0026 (!isHideSeenEnabled || repo.id !in seenIds)\u0060 appears character-identically in 2 files \u2014 feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt, feature/home/presentation/src/commonMain/kotlin/zed/rainxch/home/presentation/HomeViewModel.kt. 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":"feature/feed/presentation/src/commonMain/kotlin/zed/rainxch/feed/presentation/FeedViewModel.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9e603e05525b9743e52b9169d1a2ca5783cb06dd78097d5fe6ac2063a0542f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060safeName.isNotBlank() \u0026\u0026 safeName != \u0022.\u0022 \u0026\u0026 safeName != \u0022..\u0022\u0060 appears character-identically in 2 files \u2014 core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt. 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83c2cf59f96f91fd7380c8c17d7fe66b8457a8367cf008a764a57c3a5d2a42c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stableRelease == null || stableRelease.assets.isEmpty()\u0060 appears character-identically in 2 files \u2014 feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt, feature/search/data/src/commonMain/kotlin/zed/rainxch/search/data/repository/SearchRepositoryImpl.kt. 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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b616986e7dd8eb1887b6f6ed125ebe90a8a0fce829f13035fe92daa0ab2c3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token != null \u0026\u0026 GithubAssetAuth.isGithubHost(url)\u0060 appears character-identically in 2 files \u2014 core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt. 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd954d369c834b18761bb8f2a7f8ded1b2bab6ef6ca85e7a355a05da392ec7ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060total != null \u0026\u0026 total \u003E 0L \u0026\u0026 finalLength != total\u0060 appears character-identically in 2 files \u2014 core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt, core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt. 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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcefe046738aa962ce6bee91f5973d147e2608935ac4ef4111a84e20e09a418"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060translation.isShowingTranslation \u0026\u0026 translation.translatedText != null\u0060 appears character-identically in 2 files \u2014 feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt, feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/markdownviewer/MarkdownViewerViewModel.kt. 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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/about/DetailsAboutViewModel.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ae1376d161d37f8bac198745b14447471d4a6b5b02886f999a5d062f4ef40d"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): The JDK pipes both \u0060stdout\u0060 and \u0060stderr\u0060 of a child started this way \u2014 no \u0060redirectErrorStream\u0060, \u0060redirectError\u0060, \u0060redirectOutput\u0060 or \u0060inheritIO\u0060 is set \u2014 and here \u0060process.inputStream\u0060 (stdout) is read while the child\u0027s end is awaited, but nothing in this scope ever reads \u0060process.errorStream\u0060 (stderr). The JDK\u0027s own \u0060Process\u0060 documentation warns that failing to read a child\u0027s output promptly \u0022may cause the process to block, or even deadlock\u0022: once the child writes more than the pipe holds to stderr (measured on OpenJDK 25 / Linux: 60,000 bytes finishes, 70,000 hangs forever), it blocks on the write, never exits, and the \u0060waitFor\u0060 or end of stream this code waits on never comes. Nothing fails loudly: the thread hangs and the stuck child holds its resources until something kills it. Read both streams (a coroutine or thread per stream), merge them with \u0060redirectErrorStream(true)\u0060 before \u0060start()\u0060, or discard the unwanted one with \u0060redirectError(ProcessBuilder.Redirect.DISCARD)\u0060 (or \u0060redirectOutput\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"377c3dd66c4229a434d2a02df5745ba340f471b7be60f4a98ee6f56813a89e9b"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 45/47 suspend functions that make a cancellable request (Ktor, OkHttp newCall, URL streams) accept the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. In a suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a0137a13dc63b0e07ec4e232770b687c26a8a2030f49787e45a4506416c527"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: downloadAttempt: \u0060downloadAttempt\u0060 suspends, but makes its request with \u0060call.execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7323a46c4cea09ccaf1a94f35484dd902058708a99735130a0858ab7a4ea61a2"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: downloadAttempt: \u0060downloadAttempt\u0060 suspends, but makes its request with \u0060call.execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c6ef11353e2a960000243386a4a8d190e38bea28c9873753d1f694b301641d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packaging/flatpak/generate-all-sources.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"de36d22762f588aae45468e4d054c7236e1baf70849db60b351b82e95273ce9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"005e1c8e56f3a568a4425c1322d5ccc9222ca2d2f0bf53973fba17af649606c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/starred/presentation/src/commonMain/kotlin/zed/rainxch/starred/presentation/StarredReposViewModel.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32fc785a0f4f6f1136135683693511dc242776a6ee2e0c3846914aeaa513683"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"feature/search/data/src/commonMain/kotlin/zed/rainxch/search/data/repository/SearchRepositoryImpl.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be2969f8add43754578ab3084327a7e69b799f7b87d0cf5af37894d9ff61a0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"feature/search/data/src/commonMain/kotlin/zed/rainxch/search/data/repository/SearchRepositoryImpl.kt"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"718e731fc7c290ca78a300608af3755790928171f7f8b6ce3ebf92a961c6b629"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"feature/search/data/src/commonMain/kotlin/zed/rainxch/search/data/repository/SearchRepositoryImpl.kt"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eeceb962e0032d707dc4591d9ad6029a6230b8f0a61ce79c0f5c8290e437f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"feature/home/data/src/commonMain/kotlin/zed/rainxch/home/data/repository/HomeRepositoryImpl.kt"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa116661a8ca4e1ddeba1f5ba08a45f1145a1ef4312efb63b2d7b0d1f0e5d96e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"feature/favourites/presentation/src/commonMain/kotlin/zed/rainxch/favourites/presentation/FavouritesViewModel.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa78c33aa0f0a7afed9c4e9e49e3d14711a546a8844de08487eaad521ad270e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe20b4a9b3312d0ab77d3875b3726b211d4e5a51792a071116a8a143d59aa6a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2898}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefc858531752e13ebedfc13d6c86398d55a711481f84ac41bdcd682af013d8a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation/DetailsViewModel.kt"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9bca583724705e7bd5ea447656908afbdde290a579ee66f6023d44e80871cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"feature/details/data/src/commonMain/kotlin/zed/rainxch/details/data/repository/DetailsRepositoryImpl.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"911e01638096a9a1fd61f96989508a5d92372daaf3c07f6aab6a584528725f03"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\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":"feature/apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation/AppsViewModel.kt"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4cacebc6bacbb962d4c7e7c515e1e09bf384ebc73c1e0b2c5822f34a2e14f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"feature/apps/data/src/commonMain/kotlin/zed/rainxch/apps/data/repository/AppsRepositoryImpl.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7278fef84e12e6e7cecd69ed815f064992348c367984ff5a7222cbbb6e56b088"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d651dc9816a5841945f0a33e21f5f9102b8706f2190bea38ffedcb21519fdb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"75681bfba04b3e31cdb3e6d8f9bbf0e159e8115b9d77128405e21632307b0097"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca0a50de8969477042a97778cf1b04e5d429c7cbe88c3d19f2d208baab1b869"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"111562ad24705070a417fa1bafe4685246373b06da6a0f7850bcd3faa0854d79"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"788f42f1b0bf3eab0d6964856c607223cd8ae2e6b55a5aabdd7e4a70bda794bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopClipboardHelper.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24cb03e4976d028d72f6b3cb61fc224986da8c9d09c820968b0fcb440941285"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopDownloader.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc72af14558f98914e310fbb5fdeb0f462d317a9cebd10b249af16f3799dc37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cfadeff50323721e543dfdcf5dddc03d91a494fa3e22c9708aaa3599235b32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aaff63c578395ab8786b8f2190198d8436aef8aff27c96292126e7ae2bc7c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/services/DesktopInstaller.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6b5b3fcbd990a8fff5655f58705a11c021c3ce64659a02d9e6b257d7601b59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/network/OsTrustManager.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"beacf43c3c768b1726346c2305f6a7f24e6e0f6b49e88ba6da01ceac594771aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/network/OsTrustManager.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecb3d6546599ae1155d70fd39ceffdcf8db8f63d588f9b5507255c76953edee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/network/OsTrustManager.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dc7823b8e9456f0a861b6451efe8167f4bcd65851b32a575d0d513cb576fa6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/local/DesktopAppDataPaths.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f509bc6d4c23052cb83ba25dc6cf855573c6681679397dc497ecba5108d440"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/services/DefaultDownloadOrchestrator.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d2b7d8c29789f8465628ad0b994ba0daa56de4518a95159739a1c939dc861c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b75cdc2a62e7beec530a2ded788f08a9d5ecf06afdb55f24d8e26f77ac42af9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"342bc97e2aa6547b45e53d4995bfbc68877f39b7d10146c97161dd69b8a243cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendApiClient.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1555be227e8e0d8b0b556bb359aadede0d8c96865a1dc073f1ebed379f195a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/BackendReviewsApi.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"60baca93f1cc0394d585012f405bc18daf9aed8d4389f79fb4632a2db08586a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/network/interceptor/HostTokenInterceptor.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1420e1c5664999d1abc8890aebe4b46b5828e06cedbaa5493f70238f8200e45"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/mirror/MirrorLatencyProbeImpl.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a9a86ee8da79af78456e0af7204a92cdd2179323d35f5fa8075a54390a83cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/cache/CacheManager.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b989de32825578e2e28d07e197dd8eb54cdfbb9e9c9ed1665cda044c4a7b72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/utils/AndroidAppLauncher.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ca0997b6d5fc4449e4575997120f6780fa06617ea49d4fab756483bc2d617d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidDownloader.kt"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcddcc8cca8d841cda85bf6bb1784af41bdeb8b22d4ba550e1e5ff423d9f5b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cc2a2f9f36e08f7890ca40cf26ebab3344c1adcecddb75ea760e3d534935c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/AndroidInstaller.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"39186054156c80ad065bdfdaacb3474c23dadb456e4b45f845d9adffee49e075"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/shizuku/ShizukuServiceManager.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae40f1789defefe39206c05e2e425637d56a8210a6a89512017c2d989c3888dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/shizuku/ShizukuServiceManager.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"565a698f80fa9990ba5b0443d2d2a5928d31a6bc3d8f363f1afe489bb6eed645"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeefe5a017e9604124f96ad337c9b547450a0edc15580b5eecbba8f6742b19b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d4259d8cf0525f28f014a56e6f730753bf94bf6b7be6d4c64ee343dd453997"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9309e337945b19e227238d9d26dd870b08dc752457e7bec3c786b0f64ed15a15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuInstallerServiceImpl.kt"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f3ccf526358f0d6c876e8c98140c805e601d2aca15c807067967d10b8d8408"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd17682e28d88f03cf987dad140a407867379f4ef3cd5c7bce5b466d8b85183b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/dhizuku/DhizukuServiceManager.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0fe013ac3199b2b2e00efd1c15ae7940412edcc2f9bc82920491e9f8e6c2bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"composeApp/src/jvmMain/kotlin/zed/rainxch/githubstore/DesktopApp.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"742232a8f78a341bac267fa7b81808045fb9944b40f14e0ded750b84324194b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"composeApp/src/jvmMain/kotlin/zed/rainxch/githubstore/DesktopDeepLink.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24999190a1a8599e811ac56e4b703c692867d770afcd43da8f4e24e3a7258fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/jvmMain/kotlin/zed/rainxch/githubstore/DesktopDeepLink.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5fe32bc1f9183fe92994699a1d0f3b2ae0639018202736e169b73594efb7e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composeApp/src/jvmMain/kotlin/zed/rainxch/githubstore/DesktopDeepLink.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"610de92d16381cd0711adfc2530feb0e9d8b039e3b3498bdb5ba0be99d73b49b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"composeApp/src/jvmMain/kotlin/zed/rainxch/githubstore/DesktopDeepLink.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee60b7cf1578a48a552f5776833ddc742727af020022d4908c5a2992beeab7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"composeApp/src/jvmMain/kotlin/zed/rainxch/githubstore/DesktopDeepLink.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2099af9937c7c6eb7e9d755dd7c786f9c3ff631cf5f7a19035e4373bb63dbfea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"composeApp/src/commonMain/kotlin/zed/rainxch/githubstore/app/deeplink/DeepLinkParser.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b402ef913a7a2d27df710549bc03361cdd453b713e4ca626db547c0b79d6b429"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/commonMain/kotlin/zed/rainxch/core/data/repository/HostTokenRepositoryImpl.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"da74ecec9a509daceeb02657b6efa0257ddb12eeeea7886f7d3a45f894f280b3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listInstalledPackages\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/androidMain/kotlin/zed/rainxch/core/data/services/external/AndroidExternalAppScanner.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"882e46ae515a51514e1b3a0e66ea4c255cd6199aff0f46bdb5b6c414081fa37e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060executeCommand\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/data/src/jvmMain/kotlin/zed/rainxch/core/data/utils/DesktopAppLauncher.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"de86f5ce9aa52a612e7e0f5d7f22c30ff87b3adc2c4b9b1dc48c176c3002ee6e"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-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-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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":19,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}