{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"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":"CoverKt.cover (cyclomatic 20): CoverKt.cover has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/quadtree/Cover.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6328fa6a7c9ad43bf93d4665b28faf6d94e8055ca29b10e54444011b268f6422"}},{"ruleId":"D1","level":"warning","message":{"text":"TopAppBarWithFilterKt.TopAppBarWithFilterInternal (cyclomatic 17): TopAppBarWithFilterKt.TopAppBarWithFilterInternal has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf4f5238c4ba87dd9eb7ceffbf3f9e470719d534c13356c250498a6d3d0b668"}},{"ruleId":"D1","level":"warning","message":{"text":"ImagesPresenter.present (cyclomatic 17): ImagesPresenter.present 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":"shared/feature/images/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesPresenter.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b234879dfffd1378cc4bbe94424d598531da921d603a3714b6d610f2f1ad59a2"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceNBody.applyForce (cyclomatic 16): ForceNBody.applyForce has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/force/ForceNBody.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c90f2c0e706b22cc74130339ed27570bea92c7a036ae0ed94139cbd51284b9e"}},{"ruleId":"D1","level":"warning","message":{"text":"AddKt._add (cyclomatic 16): AddKt._add has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/quadtree/Add.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49b6394bf68e7ea39c75053a9a569f375cfff91179ce818b5c85b5d163a914c"}},{"ruleId":"D2","level":"warning","message":{"text":"AddKt._add (cognitive 30): AddKt._add has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 2, loops 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":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/quadtree/Add.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fb592a4fbba7a94576bba64067fb862e7c8db1d8cec2b9e3aac272fba873ab"}},{"ruleId":"D2","level":"warning","message":{"text":"CoverKt.cover (cognitive 27): CoverKt.cover has cognitive complexity 27 (threshold 15). Drivers by points: loops 4 (12 pts), boolean chains 7, if/else 5 (6 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/quadtree/Cover.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27c3961a666f004f09d642adc56f08bd56317edf9b6c470419d98528ed85300"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceNBody.applyForce (cognitive 26): ForceNBody.applyForce has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/force/ForceNBody.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4082e66b0e782369f7d1df1bd66cc0f170f598bc65773c7d231d199a587de3e"}},{"ruleId":"D2","level":"warning","message":{"text":"ScreenWithPagingLoadingAndErrorKt.ScreenWithPagingLoadingAndError (cognitive 25): ScreenWithPagingLoadingAndErrorKt.ScreenWithPagingLoadingAndError has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 5, match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/paging/ScreenWithPagingLoadingAndError.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"db08b8a207ef7657de7b19aa23f9aaf15c521cfc4c7679ed253725fb42a327d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ReleaseListItemKt.ReleaseListItem (cognitive 22): ReleaseListItemKt.ReleaseListItem has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d4e48498aa4f3b5589a91edf8ee8ee609e4425c65ef80b5fccd129d57b6f0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImagesPresenter.present (cognitive 22): ImagesPresenter.present has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/images/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesPresenter.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5be451b279d3d91124808a2da25331846d5d2e127afcee83087edc9786efc31"}},{"ruleId":"D2","level":"warning","message":{"text":"VisitKt.visitAfter (cognitive 19): VisitKt.visitAfter has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/quadtree/Visit.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"890ad0d60d46a077f182504d10e45c493cabbc78e8724bf8fc1e243e3c51e5fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceCollision.applyForce (cognitive 17): ForceCollision.applyForce has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1 (nesting depth added 9). 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":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/force/ForceCollision.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46322d54c269c39902e7dc53509490c99c47ad7e37f6b11e028b9b1c3d8585d"}},{"ruleId":"D2","level":"warning","message":{"text":"VisitKt.visit (cognitive 17): VisitKt.visit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 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":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/quadtree/Visit.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd43a936051c5937ab45941ff9f0c0309d19f50b870c31ed951eb22ea25ffb6"}},{"ruleId":"D2","level":"warning","message":{"text":"TopAppBarWithFilterKt.TopAppBarWithFilterInternal (cognitive 16): TopAppBarWithFilterKt.TopAppBarWithFilterInternal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 4 (5 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"025fcb214bb542c9a0f6069190fa75552bd645f7a5e90232dae83c88871baac4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReleaseUiKt.ReleaseUi: MethodTooLong \u2014 ReleaseUi runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b6110dbb2058858d37a0f0f3428c100d8c09d57d8089dfd2fb9708a9591e1b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CollectionUiKt.CollectionUi: MethodTooLong \u2014 CollectionUi runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d04e811db82d6472d6c112ddab3a60c30468861d995e85f10226f6dc16872ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchResultsRepositoryImpl.fetchAndStore: MethodTooLong \u2014 fetchAndStore runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/search/SearchResultsRepositoryImpl.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f70e6f32509a8bcc793b48b376327b274c801e098442f232a6e4b6d71acc1ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingUiKt.RecordingUi: MethodTooLong \u2014 RecordingUi runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6407cfa802d8c0c6a0d972108b3d0e1012f3d51fb82e514ac579523d3c3f8edb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ArtistUiKt.ArtistUi: MethodTooLong \u2014 ArtistUi runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ceb4200210afdbbea79aa9ed3d13114aa9baf3e86272d607257953907a03df3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReleaseGroupUiKt.ReleaseGroupUi: MethodTooLong \u2014 ReleaseGroupUi runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b8321409cb95e06ce5eebd7c3d783fb54e2307f303f7c750dde23e31555239"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsPresenter.lookupDetailsModel: MethodTooLong \u2014 lookupDetailsModel runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/DetailsPresenter.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2942425bfe2cc4e9396214b3d402537fe64765d59f4cfc27ed13fb10612ee65b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DetailsPresenter.present: MethodTooLong \u2014 present runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/DetailsPresenter.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a908c0a1bc873e4b1e0beb517af80f942bc93837a2664d7f36c8da8a3ae772"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LabelUiKt.LabelUi: MethodTooLong \u2014 LabelUi runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3c082beac980209914baa9f312c0abc7f9007123f09ecc30d2436566226943"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AreaUiKt.AreaUi: MethodTooLong \u2014 AreaUi runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2513d3add406ebf9d8825ae50b8a4256526742571a103c8c68103515a6ee810"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkUiKt.WorkUi: MethodTooLong \u2014 WorkUi runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"139cc99587bb4a6c26a0bbeb6a0d609bfd499795b53bae676621f7b39eb69b46"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AllEntitiesListPresenter.present: MethodTooLong \u2014 present runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/list/AllEntitiesListPresenter.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6fc25ece7d7a385e6e9a2d3a7efb3a83f1920083652e53c7d41cff9f127075"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaceUiKt.PlaceUi: MethodTooLong \u2014 PlaceUi runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4504ef63841fcbc30be4e0437279270a488285027517b74c5caa89bf3113e958"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseListPresenter.getEntityType: MethodTooLong \u2014 getEntityType runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/list/BaseListPresenter.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad296bfd2ea8c4d81ed22a7433c4cd87a438490ad7920cfc11f3325e61c60fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ListensPresenter.present: MethodTooLong \u2014 present runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensPresenter.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ec2376c9fb1da3fa5a314554f0b0c0703ffb5327db1657379a65ae80e26b5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseListPresenter.present: MethodTooLong \u2014 present runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/list/BaseListPresenter.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d98809e4447b481a30da63dd6c069a4df4b908efe4d32152372d3979a766da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventUiKt.EventUi: MethodTooLong \u2014 EventUi runs 148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0273b0d76b1454fc3b13b74f03c648a3d847cac8d66c3e5f74def055f3d32e2e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppPreferencesImpl: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. Most of these members implement preferences.AppPreferences (39 of 44 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/preferences/src/commonMain/kotlin/ly/david/musicsearch/core/preferences/AppPreferencesImpl.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7565de55accc2638bf869c436f4f4788f972ada0231c42900fe3d0e8214171"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchResultsUiKt.ListItemUi: MethodTooLong \u2014 ListItemUi 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":"shared/feature/search/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/search/SearchResultsUi.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"df04d6e5e99068a256a607b392cb6641d933cb52510f5f65ffcefebd1405c124"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AliasDao.insert: MethodTooLong \u2014 insert runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29995f956330ccff7409d8e903c22e8ed7633064d414f4f2504d3ddb9d9af4b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstrumentUiKt.InstrumentUi: MethodTooLong \u2014 InstrumentUi 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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"593a6ee4e6c78bd3483fffd340f8f2185f29e75bd6cec558d992d487b2416450"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SeriesUiKt.SeriesUi: MethodTooLong \u2014 SeriesUi 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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"829e1a00394dcba4b8d6a70d5233879be646a26a352407a13d5c50ed3b165304"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AllLocalEntitiesUiKt.AllLocalEntitiesUi: MethodTooLong \u2014 AllLocalEntitiesUi runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesUi.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"730af2df9451a90f02030205fd73383132ab1c8758b4a4acc0158d9a82d0e105"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubmitListenUiKt.SubmitListenUi: MethodTooLong \u2014 SubmitListenUi runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/submit/SubmitListenUi.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f333b98c76106f3c1610868921dd60e62fd7b5d47638b6725ffd523fe5a59e21"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppPreferencesImpl: ClassTooLong \u2014 465 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 65 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/preferences/src/commonMain/kotlin/ly/david/musicsearch/core/preferences/AppPreferencesImpl.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0c55eab4f5aad7d99c9e63d9085678ec8387921801d379d4e31f37171d06d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: androidKt.PreviewTracksByReleaseUi: MethodTooLong \u2014 PreviewTracksByReleaseUi runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/release/TracksByReleaseUi.android.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f2c1e28b970fe9fd002b17cc0eb9aec847b4f4545257ee62de6a7ae069af10"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReleaseDetailsTabUiKt.ReleaseDetailsTabUi: MethodTooLong \u2014 ReleaseDetailsTabUi runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb5c621d1609c43b83edf6be2b3b7a4583f2c8975763bc8448b58b4b11e5a34"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToRelationDatabaseModelKt.toRelationDatabaseModel: MethodTooLong \u2014 toRelationDatabaseModel runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ToRelationDatabaseModel.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04efd5c7ff5be6f4667b5dffec36864db11215c490c4007a7cf9971a3cc9b0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ListensUiKt.ListensContent: MethodTooLong \u2014 ListensContent 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":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.kt"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"a808c34e41f964d6b141b91133e48e35dd9e6429aaac5778e74811f559fd1fd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: preferences/AppPreferencesImpl.kt: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: AppPreferencesImpl (49-822). The bar is 500 significant lines; this is 14 over it, 1.03\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/preferences/src/commonMain/kotlin/ly/david/musicsearch/core/preferences/AppPreferencesImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6990ac7fc87805bbc59a2348a085105ca4824d5dd5902253522902a2ae2e47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImagesUiKt.ImagesUi: MethodTooLong \u2014 ImagesUi 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":"shared/feature/images/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesUi.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"60521f98de13d9ccf9a67bd0fd0ce2562ac3e6d1f59e415c7abe46aeef638889"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ListFiltersMenuItemsKt.ListFiltersMenuItems: MethodTooLong \u2014 ListFiltersMenuItems 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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/ListFiltersMenuItems.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fb8ce804396428ab7fbc80b2f323e67ed021ad8faba6d327e71ebcd716737c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (11 members, 62 shared lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:49-254 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:60-300 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:50-238 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:48-223 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:49-261 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:46-245 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:56-307 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:60-378 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:58-293 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:48-224 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:48-246 \u2014 These 11 members are variants of one another: a block of 62 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ae6ab2a4394e7f298762e49f86ddc878bf5b131fa5cb0102fe2736afa35689"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 105 shared lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:60-300 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:50-238 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:48-223 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:49-261 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:46-245 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:56-307 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:58-293 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:48-224 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:48-246 \u2014 These 9 members are variants of one another: a block of 105 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 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd9bf396a7218ed0bcae212dfe65dc7b4efe8fd306fbbdc787b4f89a8c820a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 71 shared lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:49-254 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:60-300 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:50-238 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:48-223 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:49-261 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:46-245 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:58-293 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:48-224 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:48-246 \u2014 These 9 members are variants of one another: a block of 71 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 9 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdc3f9bf11103b7a0d299bdacf09184c9600322bb46469cfb0e164d35237c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (71 shared lines): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:66-342 | shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesUi.kt:48-214 \u2014 These two members are variants of one another: 71 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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"232ca48085d155671074e78a9dced5f8d7f333f73f200f3d6afac8d1ba603588"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:66-342 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/DetailsTabUi.kt:106-294 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/collection/ShowAddToCollectionSheet.kt:24-61 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/topappbar/SubmitListenMenuItem.kt:69-103 \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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f6a3a6138593ec5179a450471fe24beec31f63ff97754343d921021078b7d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/event/EventListItem.kt:40-118 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/instrument/InstrumentListItem.kt:33-86 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/place/PlaceListItem.kt:34-95 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/series/SeriesListItem.kt:32-76 \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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/event/EventListItem.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"090598a099bf7d5cee803451253d5d2c374b2b3625485e68a381b7a4545850f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.kt:56-155 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.kt:165-235 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d86f03eae33fca7a320886da6ffb2a23daf9737a36658245eeea66b4826245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/quadtree/Visit.kt:34-111 | shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/quadtree/Visit.kt:121-204 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/viz/quadtree/Visit.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"84398f667752a9a9a2777eed612b9d7395479464bed1e4922de451c50387326c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt:50-122 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkDetailsTabUi.kt:47-129 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f106dec47bed4f208bc96af97b8a6f7ee3db1784b8857cfe11ac57389d69dda2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelDetailsTabUi.kt:37-108 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceDetailsTabUi.kt:33-99 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelDetailsTabUi.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0c1938da08bc921c1eb056e5974dfe1032ae94624f669dfb548842d553f736"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): shared/feature/settings/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/components/ListenBrainzProfileCard.kt:47-115 | shared/feature/settings/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/components/MusicBrainzProfileCard.kt:32-81 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/settings/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/components/ListenBrainzProfileCard.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"659ae67f6977d3feec6b3af2cd3bc864d37e744bd40081f79b4f4b630e1e39c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.kt:325-387 | shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.kt:396-446 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.kt"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"530e8387c0b5f9b22659ed4179eb24c963dd9e1639e3662114c3a49a0f53ae6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): shared/feature/settings/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/images/ImagesSettingsUi.kt:30-84 | shared/feature/settings/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/listens/ListensSettingsUi.kt:27-81 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/settings/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/images/ImagesSettingsUi.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e86734b3bf2588ecd1f47f222bee422fdd4db63fc029cb51634c615eb541a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/collection/CollectionRepositoryImpl.kt:152-196 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/collection/CollectionRepositoryImpl.kt:202-257 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/collection/CollectionRepositoryImpl.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdc3785fbe97f3a361aa5aab921d163f4186f75edc2a823153b6882f6c33fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/submit/DatePickerField.kt:42-82 | shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/submit/TimePickerField.kt:56-96 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/submit/DatePickerField.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4c498fb6cc6d4df4b22bbb536e3208176304a2cfb156e5b10c4e3d8f47737c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt:61-121 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupDetailsTabUi.kt:48-104 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4650eaf7774612a79b7c20d303d994afa44386db51069a68038c4d93abd742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaDetailsTabUi.kt:30-70 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventDetailsTabUi.kt:37-85 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaDetailsTabUi.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfcefa4c853bca28194c1d3b05cd20ad16a1de1e4bd385d5bac0a79259ae07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt:240-280 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt:288-326 \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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c90a8d0b743b0f5e652ced7e885085f8b77f2dbde2ccf1e40cdf683df5a5269"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/recording/RecordingRepositoryImpl.kt:98-127 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/releasegroup/ReleaseGroupRepositoryImpl.kt:50-78 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/work/WorkRepositoryImpl.kt:49-77 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/recording/RecordingRepositoryImpl.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2998852f501fb01d4266a602c921be9b10f75fffc0340145f8c60a97ecc9569f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/CollectedStatsDao.kt:90-106 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/VisitedStatsDao.kt:90-106 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/CollectedStatsDao.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec317caa409d2353aaa096c5f1e2287fcb43a830fdf8a37187b86ca98925da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt:226-263 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt:394-431 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ca1352fc34de921b90552b2321d8b39d0e29e2f05c091be104fdbdaaf1d562"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.kt:58-87 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.kt:89-111 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4668d0e7a6243624de1717fbc82c53efa1731f45116e569f56efc5769db96579"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToReleaseListItemModel.kt:34-64 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToReleaseListItemModel.kt:95-126 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToReleaseListItemModel.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fa1c2ae77945f51b544b16b98f2f6aaec8c2c1245b94ec8a6ce35e16e9c623"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/FacetsBottomSheetContent.android.kt:19-63 | shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/FacetsBottomSheetContent.android.kt:67-107 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/FacetsBottomSheetContent.android.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"170af92fa93cd6e49c12e67b93a199c26664d41f94068057b7575e35f41a9629"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:78-116 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:117-145 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce643d33a888599e2b92b43c97d965c8e34d121f4179a5ccc3eb323acfb39214"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/release/TrackAdditionalActionsBottomSheetContent.android.kt:14-52 | ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt:39-82 | ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt:125-168 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 39 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":"shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/release/TrackAdditionalActionsBottomSheetContent.android.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f15df09bc5d75a754e28d7153498ea9dd59ccf66e037ffe663a1092e043595"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenAdditionalActionsBottomSheetContent.kt:286-325 | shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenAdditionalActionsBottomSheetContent.kt:334-374 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenAdditionalActionsBottomSheetContent.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c099824df940b9e2441ef485043177d84716fc39eb699443ddee8131bdbe0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt:190-217 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkDetailsTabUi.kt:139-174 \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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80a495bf60fb06a0766aa3f7fcd44aca5e6ebb6fc922ded111b5bf2b3a4bfa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/listen/ListenRemoteMediator.kt:73-95 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/listen/ListenRemoteMediator.kt:97-119 \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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/listen/ListenRemoteMediator.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"916f4f1b7557d9b4c707b63812ebf2a88da92bb429808fb9fa0b906fe9eca6c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): shared/feature/settings/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/components/SettingWithDialogChoices.kt:25-56 | shared/feature/settings/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/services/DefaultCustomInstanceSetting.kt:25-56 \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":"shared/feature/settings/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/components/SettingWithDialogChoices.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"014e818c27b1e4f116cabce1d9fb0e6e7ceaf9c33358eba48a1a5fe8f9373b17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreaRepositoryImpl.kt:40-59 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistRepositoryImpl.kt:49-75 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/event/EventRepositoryImpl.kt:40-58 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentRepositoryImpl.kt:40-58 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/label/LabelRepositoryImpl.kt:40-58 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/series/SeriesRepositoryImpl.kt:40-58 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreaRepositoryImpl.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c06ba91fed5d13ec1dc7c1564895fa55cdf42707436944a56c5fec3ec17236"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt:16-46 | shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt:50-82 | shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt:86-118 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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":"shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa0e8a99fd812ebe967f446b031922ce110c1657477fefc1c79c35e8937e167"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt:96-117 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:39-61 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/EventDao.kt:34-52 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt:40-61 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0182209efe250045c67257980ce633e381f04e09eece3566b4d7e37ffc0871ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 22\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:242-263 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/EventDao.kt:163-184 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt:211-232 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RecordingDao.kt:206-227 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/WorkDao.kt:175-196 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4d35c6b6cf76be1433d53a379308ea423675ce05e5fd305b87331e45972e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/place/PlacesListRepositoryImpl.kt:92-113 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/releasegroup/ReleaseGroupsListRepositoryImpl.kt:146-165 \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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/place/PlacesListRepositoryImpl.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99fbe6cd44db36c9a7c02434bdbacd5a72a3360b5bf157f7f74d389367c732d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/alias/AliasesSection.kt:20-46 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/UrlsSection.kt:19-42 \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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/alias/AliasesSection.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b45d4a06b5615de69a3a52631e3c2290816c100ddd430b1eb431c3b0bf0c64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 24\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:210-236 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/EventDao.kt:134-157 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt:181-205 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/PlaceDao.kt:151-174 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RecordingDao.kt:174-200 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:281-307 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/WorkDao.kt:143-169 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e55367d7889b6ccaf190c577990f96f5a5cba1b704adb58fbfd8e5af3ebced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): shared/feature/history/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/history/internal/HistoryUi.kt:196-223 | shared/feature/nowplaying/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/nowplaying/NowPlayingHistoryUi.kt:78-116 \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":"shared/feature/history/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/history/internal/HistoryUi.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b133650d6f9ec48f9750a526e6c630bbd8dfccb2e53f08e8d78e54ba9e8e8ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/CollectedStatsDao.kt:23-40 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/VisitedStatsDao.kt:23-40 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/CollectedStatsDao.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"093b27e132c1305abdb1e54d02ca828beb0d723c9df37ead1905d5a47e835f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/artist/ArtistListItemPreview..kt:49-71 | ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/artist/ArtistListItemPreview..kt:75-97 \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":"ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/artist/ArtistListItemPreview..kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf6933b3d95dea988b920f60e1c016ea780bda32d6ff7461741ee66105dcb5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RecordingDao.kt:76-92 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/WorkDao.kt:67-83 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RecordingDao.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2007441c0d5ed26dcee365723433e823888f3c347375110be14c5b778e0bd57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToArtistListItemModel.kt:29-52 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToEventListItemModel.kt:25-45 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToPlaceListItemModel.kt:23-41 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToArtistListItemModel.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52d40e5d8ec69880d83b25cd089fcdf219fa8da54231fbbcd9fd823a1f536b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): shared/src/commonMain/kotlin/ly/david/musicsearch/shared/AppBottomNavigationBar.kt:31-49 | shared/src/commonMain/kotlin/ly/david/musicsearch/shared/AppNavigationRail.kt:16-34 \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":"shared/src/commonMain/kotlin/ly/david/musicsearch/shared/AppBottomNavigationBar.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bece234645e69a9c0e6f9958702872023a1e8dda6e1dccbb80459882d8509705"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/TagDao.kt:176-191 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/TagDao.kt:195-212 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/TagDao.kt"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d284d5a03a9da182f6133cffabd83cb7d2a098930615800134fcb6cef79688"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt:248-265 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/SeriesDao.kt:108-125 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"171578e508cbd58ff76237b00ba772248380b6daa38846037b6b34234332e77d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/screen/ShowInBottomSheet.kt:18-36 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/screen/ShowInDialog.kt:15-34 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/screen/ShowInDialog.kt:38-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/screen/ShowInBottomSheet.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"98061eb12bfc45ae48afb1654b69c7ed93bd022d33cfa30307d3905b2d3fd254"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 16\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:298-316 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:323-341 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RecordingDao.kt:262-277 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RecordingDao.kt:292-310 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:369-387 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:394-412 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/WorkDao.kt:231-246 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/WorkDao.kt:261-279 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5a88d80497da9328066c453d3efeb9a01a7e658f853f50db9dcea3fd1c6f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.android.kt:72-97 | shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.android.kt:127-153 \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":"shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.android.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9570b3161c32c71d83155eb2d3fbe36ce136a27dc57af1a2267fa58acc91279e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:275-291 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RecordingDao.kt:239-255 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:346-362 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/WorkDao.kt:208-224 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75e6223773023f1691f894b4d49d5c25008c86b1a302379b0ed045787cd5c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RelationDao.kt:62-80 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.kt:316-336 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.kt:382-402 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.kt:412-432 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RelationDao.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d38d3aaede3f8dc5ff6cb421eaa4f3a9485ba5457cbd54a0429f981587bdd6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistCollaborationDao.kt:40-59 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistCollaborationDao.kt:64-83 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistCollaborationDao.kt:88-107 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistCollaborationDao.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1072511113cc6cbd3e75b9a39df804094b4011dcc61da78ab1d13e82ea03b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 15\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/EventDao.kt:216-233 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/EventDao.kt:247-264 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/GenreDao.kt:96-113 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/InstrumentDao.kt:132-149 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt:264-281 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt:295-309 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/PlaceDao.kt:233-247 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/PlaceDao.kt:261-278 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/EventDao.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3959bccaeee40b71f0eada21e3b4ed8560e733c56d2bdf53b860d14c1a2d22af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/NowPlayingHistoryRepositoryImpl.kt:41-52 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/SpotifyHistoryRepositoryImpl.kt:51-62 \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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/NowPlayingHistoryRepositoryImpl.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"786cc376ce3aac50d08ac9f92e8de68b7074532494d3b218ecea9f489eab4e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 16\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt:227-242 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/EventDao.kt:195-210 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/GenreDao.kt:126-141 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/InstrumentDao.kt:162-177 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt:243-258 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/PlaceDao.kt:212-227 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/SeriesDao.kt:164-179 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0a5d12c078b68d17fccd310832b0198b26b4f85a0c6a7ef78a08ca80edca6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/place/PlacesListRepositoryImpl.kt:57-76 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/release/ReleasesListRepositoryImpl.kt:75-94 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/releasegroup/ReleaseGroupsListRepositoryImpl.kt:111-130 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/place/PlacesListRepositoryImpl.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d2ad5a386a19b9bb40a8cc2e83aad64276819a2a8453ee0627858803b071bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): shared/feature/images/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/images/PreviewImagesUi.kt:62-80 | shared/feature/images/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/images/PreviewImagesUi.kt:84-102 \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":"shared/feature/images/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/images/PreviewImagesUi.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d6f35d012d6e13fd302869461ed71bc26824c5598d0a9de12bfae4dd12e1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.android.kt:28-48 | ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.android.kt:52-70 \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":"ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.android.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6bf2eb4ba100642ce948c5d95c2227276b95050a359d4b9408b428f788829b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToLabelListItemModel.kt:19-33 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToRecordingListItemModel.kt:46-60 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToLabelListItemModel.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0418b4f6ef21b380c6e12367fc07ddafa30d4a0589f95ff31c5b3151f3aceb9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/InstrumentDao.kt:31-45 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/SeriesDao.kt:32-45 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/WorkDao.kt:35-50 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/InstrumentDao.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cffbeefae9a5f35663f40e4dc8b2701ecaa3038a0582bf2cbc030428f2ca73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt:93-107 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/genre/GenresListRepositoryImpl.kt:90-104 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/label/LabelsListRepositoryImpl.kt:90-107 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f96a78eca880654b4746cdbd4ac9f109b4c323f60fbf731646362fe35ef360"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt:100-119 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/event/EventsListRepositoryImpl.kt:90-107 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentsListRepositoryImpl.kt:93-107 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/recording/RecordingsListRepositoryImpl.kt:100-117 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/series/SeriesListRepositoryImpl.kt:93-107 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/work/WorksListRepositoryImpl.kt:100-117 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7519d241ba067ffebcffbac4aebd8236b6cc35f5bb3cecbff4152931507d673"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/topappbar/PreviewScrollableTopAppBar.kt:42-63 | ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.android.kt:162-182 \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":"ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/topappbar/PreviewScrollableTopAppBar.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"786c7243f2ad4988d98d3210e50e2085a506a799eede775c1a3c0b249c2910ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/MbidImageDao.kt:82-100 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/SpotifyHistoryDao.kt:45-59 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/MbidImageDao.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b82494a19778f2c78a414855f996bafdaaaee140b52421daf58e8059f65e805"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.kt:77-94 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/topappbar/ScrollableTopAppBar.kt:68-83 \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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84352417d8b3ac32c77c71728ea9d29318928424016533823da4e9c1327c9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt:136-148 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/EventDao.kt:83-96 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/PlaceDao.kt:86-102 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"578071635111dc03fb62525d3c4ca3886d6c7e3022890615c5cd0701add3deab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/alias/AliasesSection.kt:51-59 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/FilterUrlRelations.kt:9-17 \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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/alias/AliasesSection.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"660fce1aba4ebe88824be7e35e56114ff7cfa81699dc3aa982230843c7f62dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/SpotifyHistoryRepositoryImpl.kt:33-46 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/NowPlayingHistoryRepositoryImpl.kt:25-36 \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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/SpotifyHistoryRepositoryImpl.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea0a754d29328f4763006987248698f19836afdac7e13bd87bc3ac62ea5ed08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToInstrumentListItemModel.kt:16-25 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToSeriesListItemModel.kt:15-23 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToInstrumentListItemModel.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b843b1b23e298c2e31fe9726452eca5cf7d5acbfb56e019da2745537f5be11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/component/MultipleChoiceBottomSheet.kt:38-50 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/SortOptionsBottomSheet.kt:85-97 \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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/component/MultipleChoiceBottomSheet.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ab5398532f525a2bef7d3c3789421b62a7cf40032d235fa9a52c6e4f599a12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/InstrumentDao.kt:72-79 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/SeriesDao.kt:71-77 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/InstrumentDao.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"279331e96effb709c94f79de7a498bc783774820fa4f2bdc4ed7070e6c30c093"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RelationDao.kt:96-105 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/TrackDao.kt:89-95 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/RelationDao.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9217b6f72f7cf111c692cd2cb6394607a997641ed4267a9b7939738cc81d89e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt:40-74 | ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt:126-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt:40\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":"ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"335274ed282b1cff6bbb1ba3bc2f6da6472653d326f9d9274ceedc9a4effbce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 2): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.kt:68-102 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.kt:177-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.kt:68\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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fdb9d57b37dd83e5ff699c38f47187cbdc1b57249d4ca32eb5a54172351c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 3): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:143-174 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:152-185 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:155-186 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 209 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:143\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1d5471153be82e7afb1393a3197ea655e1e458a55f317bd6f1bb7d86b9aad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt:89-121 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupDetailsTabUi.kt:72-104 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupDetailsTabUi.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt:89\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f194cf8102a5ad5043f9f8e72a9805fd3eea0f3e4322fa02ba7063941048319"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:160-189 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:157-186 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:156-185 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:158-187 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 283 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:154\u0060 calls \u0060refresh\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:158\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"943125143f9f4f9f1a557b6d39f4a2bb13fd57b4891e409bad2cab6e969d7692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:306-335 | shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesUi.kt:182-211 \u2014 before extracting anything, compare \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt\u0060 and \u0060shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesUi.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 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 \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:306\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:337\u0060 calls \u0060loginEventSink\u0060 and \u0060shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesUi.kt:212\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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fae34e0342383b0c10691046bf1027b205dcbc405ccf99cd772a1db298f6b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:95-124 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:92-121 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 283 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:95\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060DetailsUiState\u003CEventDetailsModel\u003E\u0060 in one and \u0060DetailsUiState\u003CInstrumentDetailsModel\u003E\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bcb18fb9754a7527f1353e35acb0219eafeadafd5c8eaaaf004b7f6aeb6bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt:93-122 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkDetailsTabUi.kt:100-129 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkDetailsTabUi.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt:93\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b304faaa0f584117782f65342be73349cc11964669c0990dc594398a2104593c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:238-265 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:212-241 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 257 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:238\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c8baece17e5a4c58d9c7866f0853f01f3e1c5b11e61d506321c74ce51ec7ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 8): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:126-154 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:138-166 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:125-153 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:122-150 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:124-152 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:120-148 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:123-151 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:124-152 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 138 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:126\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"de545b2fa4f4a3c816afd6ef1e4ca50105227eefae531ca659bebd25c48376fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 11): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:78-105 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:88-115 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:82-109 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:79-106 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:77-104 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:74-101 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:85-112 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:91-118 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:88-115 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:78-105 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:76-103 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 138 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060DetailsUiState\u003CAreaDetailsModel\u003E\u0060 in one and \u0060DetailsUiState\u003CArtistDetailsModel\u003E\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3785d82b2e115c5ac0ac126c8484d60ac6d9924dfdd837ec58d0b8273e9b6476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt:137-164 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkDetailsTabUi.kt:144-171 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkDetailsTabUi.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt:137\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c13a98e21bd98f2a684033de98ea8b15923cec155679ac495a5730c5bde477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 2): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt:58-85 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/releasegroup/ReleaseGroupListItem.kt:44-66 \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 \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt:58\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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"768296949719521684f6267537360a3591d2cb5b80fabd2ee79b3ce5e8ee438b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 13): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:80-104 | shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesUi.kt:58-82 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:62-86 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:72-96 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:66-90 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:63-87 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:61-85 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:58-82 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:69-93 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:75-99 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:72-96 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:62-86 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:60-84 \u2014 before extracting anything, compare \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt\u0060 and \u0060shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesUi.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060CollectionUiState\u0060 in one and \u0060AllLocalEntitiesUiState\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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"28747d8aa6f64565af8220f8c0a1950b09bb79cbcd139d94fa9fb63714911f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 7): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:211-235 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:176-199 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:173-196 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:184-208 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:172-195 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:174-197 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:183-207 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:211\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, \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:175\u0060 calls \u0060CopyToClipboardMenuItem\u0060, \u0060AddAllToCollectionMenuItem\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:211\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"568de0ef7907fa522d2525cb3c41754687e12e5a54bfb0ebcfeebd3a29d5b521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:122-146 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:128-152 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 154 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:122\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, \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:148\u0060 calls \u0060AddToCollectionActionToggle\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:153\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df3d0fe5d11c30fd25d7083c8fe3c7934ef22deb2779fc811796a3f70d29feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt:240-263 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt:154-177 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt:408-431 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupDetailsTabUi.kt:145-168 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupDetailsTabUi.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt:240\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b54fa7f0ec22a7b09dbaf481e6654fff40324e8fe50faca8cacac4dbbf8762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 9): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:116-138 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:128-150 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:115-137 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:112-134 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:114-136 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:110-132 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:125-147 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:113-135 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:114-136 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 138 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"63677ab12e95c6870b055f29c8198230565beef084584c907a002bf481cfac68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 7): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:241-263 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:205-227 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:214-236 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:201-223 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:271-293 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:247-269 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:213-235 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:241\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc91451d4de3e364824c5ba103429e77afab1852878f43d051a18ebbb92d5995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:163-185 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:162-184 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 161 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae91270de676e3985c2ef01b90cd98f6eb88e5334b2e0fa18a678faf1e107840"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 9): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:151-172 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:138-158 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:135-155 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:137-157 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:133-153 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:146-166 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:149-169 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:136-156 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:137-157 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:159\u0060 calls \u0060refresh\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:160\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c458bea4ee5f965be901900f70763fa693be31ada425ed6c2908446c09e56166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 9): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:222-243 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:186-207 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:183-204 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:195-216 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:182-203 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:252-273 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:228-249 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:184-205 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:194-215 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 230 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8df9a5f3062caff0afaf0937709ce407862a9f7884f089da104770127e258a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionPresenter.kt:139-160 | shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesPresenter.kt:83-104 \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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionPresenter.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31b023a9e4e0158582274838a2f4ed80920a534f133c28de1a76b59580093ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:167-188 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/DetailsTabUi.kt:230-250 \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 \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:167\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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"983533068866c635266cedcebd27bcd09bd3d699837a3d7deb931f8c3d440ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:201-221 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:217-237 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 154 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:201\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8b1f7c1eb48a38829f1308bd0f5b8570994128829088b2e26e66166a9df730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:202-219 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:175-192 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:211-230 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:187-204 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 286 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:202\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd105ba9d8a82038d83cb04f47e4366fd2e983b4797a2643a74be707eb3fdd4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 3): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/artist/ArtistListItem.kt:46-65 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt:65-84 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/releasegroup/ReleaseGroupListItem.kt:51-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/artist/ArtistListItem.kt:46\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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/artist/ArtistListItem.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0874986aadcf219526a1a192937db7ed0a448829acceab8f10c749bbe2fb4e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt:17-36 | shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt:51-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 \u0060shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt:17\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, \u0060shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt:72\u0060 calls \u0060rememberSelectionState\u0060, \u0060toggleSelection\u0060, \u0060SelectableId\u0060 and \u0060shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt:38\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":"shared/feature/collections/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/collections/list/PreviewCollectionListUi.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b0e265a227801018934ba23893ca1356ead920b6d4637cd333c37ea534adf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/edit/EditCollectionPresenter.kt:79-98 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/tag/TagDetailsPresenter.kt:63-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 \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/edit/EditCollectionPresenter.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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/edit/EditCollectionPresenter.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"87131f32eeebfa3f0f081705fe831fd1f41561c13dec25071843c1c5bed737e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToReleaseListItemModel.kt:46-64 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToReleaseListItemModel.kt:108-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 \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToReleaseListItemModel.kt:46\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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToReleaseListItemModel.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b58890ed3f77c2e822326b0c2bd0c6fcf24a3407d825d6c44f111d23464a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:282-300 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:243-261 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 286 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:282\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"482619aa801446630d0f09d5026411cbd5df1705c8e89bba5e15968b0520bd3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:226-244 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:260-278 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 154 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:226\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a98b8dae613f20dd20c1027b796bd157066769504e111b867b62af3ac45da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.android.kt:73-91 | shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.android.kt:128-146 \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 \u0060shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.android.kt:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.android.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2941c4cc35043da3df46317aadc2c45c966458aca963ab5232d1f82d4325dda2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/submit/DatePickerField.kt:55-73 | shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/submit/TimePickerField.kt:69-87 \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 \u0060shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/submit/DatePickerField.kt:55\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":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/submit/DatePickerField.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c14e3557da43184270eb545f870f2da1887cb6c1ce80485d811d9e7a17f348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 11): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:112-129 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:124-141 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:111-128 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:108-125 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:110-127 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:106-123 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:118-135 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:124-141 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:121-138 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:109-126 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:110-127 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 138 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc53bce2c383fb162564894b127a4644f32a551ad8e5992cd1afb6fb7a4fa2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:236-251 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:270-285 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:210-227 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 154 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:236\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cedfbf82bfa0b0065143c023bca0c6acf5f424d082810ecb2ad86c49c6c32f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:96-113 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:126-143 \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 \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:96\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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53eaffe5598447cb502e9143b39c1f0bb5ddf07e1c527f124410c4cbe812ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.kt:64-81 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.kt:92-109 \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 \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseDao.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b05bbf91862e5d6990c3531c4d401092b81fcf29817a9a79b83ec93d9d615f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:361-378 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:276-293 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 107 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:361\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"811909487015f2400121c2ef6ea20ed5089cd845f8502f91b073062b2d23edaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): shared/feature/stats/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/stats/PreviewAddEntityStatsSection.kt:45-62 | shared/feature/stats/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/stats/PreviewStatsUi.kt:48-65 \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":"shared/feature/stats/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/stats/PreviewAddEntityStatsSection.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"01990a20ff6b71122d370707f1c914fe01e4d8569d4a6de810998125797a84f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/event/EventListItem.kt:41-57 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/instrument/InstrumentListItem.kt:34-50 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/place/PlaceListItem.kt:35-51 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/series/SeriesListItem.kt:33-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/event/EventListItem.kt:41\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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/event/EventListItem.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"332ea24e5bf3e24cbfd2e7ad2d9ab8a928c6d933a93eaa3288f613081aeec6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.android.kt:53-69 | ui/common/src/iosMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.ios.kt:31-47 | ui/common/src/jvmMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.jvm.kt:31-47 \u2014 before extracting anything, compare \u0060ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.android.kt\u0060 and \u0060ui/common/src/iosMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.ios.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 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.android.kt:53\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/topappbar/TopAppBarWithFilter.android.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a742cf07a2c94baf2a767ab2b7b05f88e4ef19a57703ea5214b8e08e55daa281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/LinkWithMusicBrainzDialogContent.android.kt:88-104 | shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/LinkWithMusicBrainzDialogContent.android.kt:117-133 \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 \u0060shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/LinkWithMusicBrainzDialogContent.android.kt:88\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":"shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/LinkWithMusicBrainzDialogContent.android.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bb17310e23a05c89289f0dc81bc13fc460edfc4972b2c6c29f309793a8f208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:160-175 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:157-172 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:160-175 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:156-171 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:172-187 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:158-173 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 283 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:158\u0060 calls \u0060refresh\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:158\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a728d26f3692b1e9ebf42eddd39bcf937809f12861b68adfbbb90832266b9d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:207-222 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:180-195 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingUi.kt:217-233 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:192-207 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:179-194 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 286 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:207\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1877373205378172fc8d1afb08ba908b7667a2a77c2b91ce7d395d39a5557718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt:191-206 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/recording/RecordingDetailsTabUi.kt:133-148 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupDetailsTabUi.kt:116-131 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkDetailsTabUi.kt:140-155 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupDetailsTabUi.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 73 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt:191\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2e91aa71fa64d9754a6462e67ec44e98e74991303513d8f39074f7cc591f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelDetailsTabUi.kt:38-53 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceDetailsTabUi.kt:34-49 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkDetailsTabUi.kt:48-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelDetailsTabUi.kt:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelDetailsTabUi.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dea2e569c31ae64a06aa8663d13d8fdc065b586f1aadabe920269dd55334b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:106-121 | shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesUi.kt:84-99 \u2014 before extracting anything, compare \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt\u0060 and \u0060shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesUi.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88503ff50bfe762e390958ec318deaecda6c8c1ae8020ba33c411cc9d3a090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:187-201 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:214-228 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:178-192 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:175-189 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:187-201 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:174-188 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:176-190 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:186-200 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 138 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:187\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventUi.kt:175\u0060 calls \u0060CopyToClipboardMenuItem\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt:211\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd51893eac91eaf1abafb2bd74836c952f9f18654fc7ad0a0803c0f08d65987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelDetailsTabUi.kt:94-108 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceDetailsTabUi.kt:85-99 \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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelDetailsTabUi.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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelDetailsTabUi.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"373d0a009af9348ea8c22ea3be62055a9ac89a1227876790be7552b873787024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenAdditionalActionsBottomSheetContent.kt:436-450 | shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenListItem.kt:45-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 \u0060shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenAdditionalActionsBottomSheetContent.kt:436\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":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenAdditionalActionsBottomSheetContent.kt"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f88691e0026974d76b00bb4ff7f0bccba7973b983438fe95e2402e5c83d7b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): shared/src/commonMain/kotlin/ly/david/musicsearch/shared/AppBottomNavigationBar.kt:35-49 | shared/src/commonMain/kotlin/ly/david/musicsearch/shared/AppNavigationRail.kt:20-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/src/commonMain/kotlin/ly/david/musicsearch/shared/AppBottomNavigationBar.kt:35\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":"shared/src/commonMain/kotlin/ly/david/musicsearch/shared/AppBottomNavigationBar.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d5c7e539380c5b58a9479cce0dd972e7b60e9f6dda113fe3a8e7b45faa5fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt:165-179 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/work/WorkListItem.kt:94-108 \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 \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt:165\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, \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/work/WorkListItem.kt:93\u0060 calls \u0060padding\u0060 and \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt:164\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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"678db95dfc09c1c43b5025a6e94b63913f119873b6e837c7084dc8618342f945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/PlaceDao.kt:87-100 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToPlaceListItemModel.kt:24-37 \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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/PlaceDao.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b3929276e8dca9eaea280adfde4a2ff289d8f3ab5ae180eb9741fa6ab1b3eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToArtistListItemModel.kt:36-49 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToEventListItemModel.kt:31-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/mapper/MapToArtistListItemModel.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f3b9be8cb43d29b36e808aa858a82356e5dd9ed8ed60dc7345398c8230f71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaDetailsTabUi.kt:32-45 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventDetailsTabUi.kt:39-52 \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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaDetailsTabUi.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"133db7e15cf64a5aaf66bb43fd05473049f6f797a9a157acc02fc3146bbc5ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:166-179 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/DetailsTabUi.kt:229-241 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/collection/ShowAddToCollectionSheet.kt:39-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:166\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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c305026aeb73ec232a95103c6cbae0b63993ab2415a1db5fd5650539ecd6650e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt:46-58 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt:69-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt:46\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. 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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/LabelDao.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7f87125eeb5d57635ab4d259a05579cf6e78ee5cb16ee70b3634eb1a71141d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt:95-107 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/genre/GenresListRepositoryImpl.kt:92-104 \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 \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt:95\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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd625eb25763c2fe16d6452eab1f7ae2be13ac80b5f1bbb32a4024b18c9e35cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentsListRepositoryImpl.kt:95-107 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/series/SeriesListRepositoryImpl.kt:95-107 \u2014 before extracting anything, compare \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentsListRepositoryImpl.kt\u0060 and \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/series/SeriesListRepositoryImpl.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentsListRepositoryImpl.kt:95\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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentsListRepositoryImpl.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baaaf003c4c7b95eece1f8adf116a242c47a896ca7082aea5a0588cbc57d228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 6): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt:49-58 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt:50-61 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlaceUi.kt:47-58 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.kt:59-68 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/series/SeriesUi.kt:49-58 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/work/WorkUi.kt:49-60 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/label/LabelUi.kt\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 235 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. 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 \u0060DetailsUiState\u003CInstrumentDetailsModel\u003E\u0060 in one and \u0060DetailsUiState\u003CLabelDetailsModel\u003E\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/instrument/InstrumentUi.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"956a21f937afa8078aed7017c788dbb6cccd0e5ed326061290757eccdecf0d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:165-176 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/DetailsTabUi.kt:228-239 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/collection/ShowAddToCollectionSheet.kt:38-49 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/topappbar/SubmitListenMenuItem.kt:86-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt:165\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":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"08687532d55152dac1809e1abcde0936af526081e33ff65917d7c74d6cba9f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:207-218 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt:304-315 \u2014 before extracting anything, compare \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseUi.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt:207\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fdafbf4e0db3bb355fa8bf9d4d00be480814f4328ecb564238a01f6689bbc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/ArtistCollaborationGraphUi.kt:330-341 | shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/ArtistCollaborationGraphUi.kt:345-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/graph/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/graph/ArtistCollaborationGraphUi.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d15138c946a519ee76994d227ca8499036bb40241ba2f01d0a94fb632b43b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 12): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:79-89 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:93-103 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:107-117 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:121-131 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:135-145 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:149-159 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:163-173 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:177-187 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:191-201 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:205-215 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:219-229 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:232-243 \u2014 all 12 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 \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt:79\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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AliasDao.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"603595d832ed45218b6f32a3f27fd613f908b6b9fb9117a2144142b302cfeac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt:75-83 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt:102-111 \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 \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt:102\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. 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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4250792a0096a82bb2bd6df5ed046c3833a59fee21d06cd5ea1995aa3a57302b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:232-241 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:245-255 \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 \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:232\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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f91673b0e664542241d286615da0d14ba8198127046fc1cd2af98eed41a47d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt:248-256 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt:294-302 \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 \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt:248\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, \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt:246\u0060 calls \u0060toString\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt:292\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":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleaseDetailsTabUi.kt"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"6893e64235961af38c1bca8d574ce2b69972e2389b519ad806d44f5ae34d8e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesPresenter.kt:49-56 | shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/DetailsPresenter.kt:120-127 \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 \u0060shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesPresenter.kt:49\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":"shared/feature/database/src/commonMain/kotlin/ly/david/musicsearch/share/feature/database/all/AllLocalEntitiesPresenter.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"220e94cd7104ab622ea920f4c8f51e4545dc11e549b14013f0c187a72666ee6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/CollectedStatsDao.kt:45-88 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/VisitedStatsDao.kt:45-88 \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 \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/CollectedStatsDao.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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/CollectedStatsDao.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce77deae30229d8b49e162ccef13d4a41fb20843607d5342f152eb2f68b5f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt:57-72 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentsListRepositoryImpl.kt:57-72 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/series/SeriesListRepositoryImpl.kt:57-72 \u2014 before extracting anything, compare \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentsListRepositoryImpl.kt\u0060 and \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/series/SeriesListRepositoryImpl.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt:57\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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"059f9ce6baab3787f05cb453a6919ef6a252db90bf8a7ffc6b2d501f35828d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt:42-51 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/recording/RecordingsListRepositoryImpl.kt:42-51 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/work/WorksListRepositoryImpl.kt:42-51 \u2014 before extracting anything, compare \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt\u0060 and \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/recording/RecordingsListRepositoryImpl.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt:42\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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a956e6d735347f51d5d4b2a5e9a8f103acb866baf3b71af6925a06996c45879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shared/feature/images/src/iosMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesUi.ios.kt:14-21 | shared/feature/images/src/jvmMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesUi.jvm.kt:14-21 \u2014 before extracting anything, compare \u0060shared/feature/images/src/iosMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesUi.ios.kt\u0060 and \u0060shared/feature/images/src/jvmMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesUi.jvm.kt\u0060 as WHOLE FILES: 100% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/feature/images/src/iosMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesUi.ios.kt:14\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":"shared/feature/images/src/iosMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesUi.ios.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f43d733995083efcfa09188c9620b25d91256d125183c4b3b862028a9aefa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): shared/feature/settings/src/iosMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/appearance/AppearanceSettingsUi.ios.kt:14-22 | shared/feature/settings/src/jvmMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/appearance/AppearanceSettingsUi.jvm.kt:14-22 \u2014 before extracting anything, compare \u0060shared/feature/settings/src/iosMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/appearance/AppearanceSettingsUi.ios.kt\u0060 and \u0060shared/feature/settings/src/jvmMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/appearance/AppearanceSettingsUi.jvm.kt\u0060 as WHOLE FILES: 100% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060shared/feature/settings/src/iosMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/appearance/AppearanceSettingsUi.ios.kt:14\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":"shared/feature/settings/src/iosMain/kotlin/ly/david/musicsearch/shared/feature/settings/internal/appearance/AppearanceSettingsUi.ios.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfccb30eebe4bad952626aba96590815ca076a468732026bbb57fe04a593d03a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt:181-196 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/GenreDao.kt:49-64 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/InstrumentDao.kt:89-104 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt:181\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sortOption\u0060 to \u0060AreaSortOption\u0060 in one and \u0060GenreSortOption\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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf8072fddd5a80cac64783f0f312534c9a7e4a5f6c03320134412f325a6076e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:172-183 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/EventDao.kt:105-116 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ReleaseGroupDao.kt:194-205 | data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/WorkDao.kt:113-124 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt:172\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"439873423caf192c661230eb9fdee4d69031d1881c5b1eb2f5e8820a581665d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): data/listenbrainz/src/commonMain/kotlin/ly/david/musicsearch/data/listenbrainz/api/ListenBrainzRepositoryImpl.kt:15-27 | data/musicbrainz/src/commonMain/kotlin/ly/david/musicsearch/data/musicbrainz/api/MusicBrainzRepositoryImpl.kt:14-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/listenbrainz/src/commonMain/kotlin/ly/david/musicsearch/data/listenbrainz/api/ListenBrainzRepositoryImpl.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67471735d3002a9df82586bbaa453b153e9f98046f962b676e52d0dfa5334a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt:77-88 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentsListRepositoryImpl.kt:77-88 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/series/SeriesListRepositoryImpl.kt:77-88 \u2014 before extracting anything, compare \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/instrument/InstrumentsListRepositoryImpl.kt\u0060 and \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/series/SeriesListRepositoryImpl.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt:77\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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/area/AreasListRepositoryImpl.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28c2b90f7215a12910f96a11f89df9cb3622b5e293a5affc29d452ba014488d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt:67-84 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/event/EventsListRepositoryImpl.kt:57-74 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/label/LabelsListRepositoryImpl.kt:57-74 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/recording/RecordingsListRepositoryImpl.kt:67-84 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/work/WorksListRepositoryImpl.kt:67-84 \u2014 before extracting anything, compare \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt\u0060 and \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/recording/RecordingsListRepositoryImpl.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7f6b4e1de0635a143cad6c45c79a0e5f4d7f2365ee735e9de9154ab0ef5dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt:123-133 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/event/EventsListRepositoryImpl.kt:111-121 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/label/LabelsListRepositoryImpl.kt:111-121 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/place/PlacesListRepositoryImpl.kt:117-127 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/recording/RecordingsListRepositoryImpl.kt:121-131 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/releasegroup/ReleaseGroupsListRepositoryImpl.kt:169-179 | data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/work/WorksListRepositoryImpl.kt:121-131 \u2014 before extracting anything, compare \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt\u0060 and \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/recording/RecordingsListRepositoryImpl.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt:123\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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/artist/ArtistsListRepositoryImpl.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d010b198fc1e75bfa4f3c4f8a7a7bb23ad885b0fa9919d1b8fed5b8cadeae79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/component/MultipleChoiceBottomSheet.kt:20-31 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/SortOptionsBottomSheet.kt:67-78 \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 \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/component/MultipleChoiceBottomSheet.kt:20\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":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/component/MultipleChoiceBottomSheet.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90e54260c1a23278e011b1265332cc872320a014bee041baa0a655013053948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/release/TracksByReleaseUi.android.kt:62-79 | shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/release/TracksByReleaseUi.android.kt:87-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 \u0060shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/release/TracksByReleaseUi.android.kt:62\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":"shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/release/TracksByReleaseUi.android.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab21e78018886fbeb13b371e8878d09af6962a423403017f841e7862171aaf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt:40-57 | ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt:88-105 | ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt:126-143 \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 \u0060ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt:40\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":"ui/common/src/androidMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.android.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9877ff64d0a16e94617b0e8efaa8200055b8039084ea0dc5dd5ba3b0b8fef11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenListItem.kt:44-54 | ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/track/TrackListItem.kt:142-152 \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 \u0060shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenListItem.kt:44\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":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenListItem.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5c56095aa7f532c430052dbca164aa7e89943b3279bd789c40233b90bcf32e"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: MusicSearch:data:spotify \u2192 MusicSearch:test-data \u2192 MusicSearch:data:spotify"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1299da550bfa96bf56ad3c6284c4087cd89d6204038c71b951c118680b0bb9c6"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project MusicSearch:data:repository: MusicSearch:data:repository has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"18bf13e10a98da05ba4759d25396f59a0b041078f640c348102a385ac6bd7d20"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project MusicSearch:shared: MusicSearch:shared has instability 0.93 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a112a7dd0628504a6916c0ddb979ff569cd2b63d33d78c1563aa91876623c43"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project MusicSearch:shared:feature:details: MusicSearch:shared:feature:details has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fff1b3f2b47a5e554bbcd668d8fb821a70dd021a69cb8fd2b88b94e5e7838765"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project MusicSearch:shared:feature:history: MusicSearch:shared:feature:history has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"79f11f84964f160296d5c70b163f8655d8c55a2af386d8865bb6b07738a65ff1"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project MusicSearch:shared:feature:images: MusicSearch:shared:feature:images has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2d2645a29ae0fbc307bf643361b22e9c5d52a0743a165c260537ffdc4c0ec8d6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReleasesListRepositoryImpl (LCOM4 4): ReleasesListRepositoryImpl\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/release/ReleasesListRepositoryImpl.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f195a05e063e189f5979433c33f1adda2a6723f23ad3a9bc80aec55c7fb02e"}},{"ruleId":"D13","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":"689eda20e5742edb4781e9bb2b238523300f6505b9c74e6b902c1fb78dee2444"},"taxa":[{"id":"CWE-259","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":"D17","level":"warning","message":{"text":"TodoComment: // TODO: writers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/work/WorkListItem.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"aceac484075aefdb4e9522319aaf0d2d601dce940168484b8a711b16e8ffec1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: eventually, migrate the stored url to be decoded \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/wikimedia/WikipediaSection.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2668194e9db38dd8b8b3b4ffceb534a3c9d649ecda0024e4ef2d55fff3a4de25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider changing \u0022select all\u0022 for all other list screens to actually select all like tracks \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/track/TracksByReleasePresenter.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d7c1f7a239b0475ef13b905b79bc2bd55d11a5edd013d86790b5edd80da58b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support removing current entity from collections from bottom sheet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/topappbar/AddToCollectionActionToggle.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f728ca614f51aa17fd28f70be307973ade9bef2591683c1df9736391362814c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Any screenshot tests with animations such as CircularProgressIndicator may flake \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/text/SyncingText.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f4fe81ae950b9602ec81cc721fd46e7a8a710249133226874d583324373ba3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider moving to AllEntitiesListUiEvent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/ListFiltersMenuItems.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"383895fecd622e27c43e06dd1eae68f67ec59e8247657f7c41165b7bc3fe680f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: rename to OverlayPopResult: isn\u0027t just for snackbars \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/screen/Screens.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2ca6be94a553421939de02f3f8e928857eb21747cdb316085b50e8f9e96695"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: formats/tracks count are not currently shown \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"576ad74b05ebf08031a655aa3cfc4ec0a6ab6e94c00207ece6505a1cadb086c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: highlight date when filtering for recording list item \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"004298dac255ef6fd2eea20cf717313d69b3e4f37080e7cbe6ecf62f394ae194"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: show relatively how often you\u0027ve listened to a recording compared to other recordings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/recording/RecordingListItem.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3cc58718540985f993ad790a540dc71d325a494d05573fb94bd53eba828a4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need different implementation for desktop \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/place/CoordinateListItem.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"155002216e5f8585a104d2c296387a9ffe8278e006d528a6896301e426f796d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: filter by recording\u0027s work if it exists. there can be more than one (e.g. tracks with two songs) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenAdditionalActionsBottomSheetContent.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecbf5d6677975cde389da52b31bc5a7c27fc4cecd7f0bfc4125a3ae27a637bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: emit flow, so that we can show more feedback, don\u0027t pop until final feedback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/submit/SubmitListenPresenter.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14683075c2a88273006649717dd06ac42ca619b08c90ad0e854ddc731952b43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this will clear when returning from backstack \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/utils/DetailsPresenter.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"736759e9e6c9c01a6278ad23b6b71f368968b5cbe3c8f781398d3a54d16ff829"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should exclude event-rels because they appear to be the same as the results from browse events by place \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/place/PlacePresenter.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed160e4f4c434665ad9f3d6dfc133b901644095e7af753cfde7c2c330be1438"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: set list \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/event/EventDetailsTabUi.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd491144bd6bdb8d40220e705f7c7287ba67914014ccc7b2b8f956eed0e7bff7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: begin area, end area \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6383cb6012d405e8aa19756fd682e6b4c7370555b35d82cbc2a586aa7b70c800"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: api doesn\u0027t seem to include area containment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaDetailsTabUi.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"607d10b357342f267550818e3ae9cd2e635a85dc7f59d401cf440f641008afc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle next focus \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/create/CreateNewCollectionDialogContent.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b215f92258e4376e04490da75a437fb3c246e7aa80a05474e20e0dd3d4543390"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: emit IOState instead of returning this in all places \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/error/Feedback.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f316143bdddcf63ed2338979c4f7df92c4539d8c4aa45944a731bc8485785047"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: For testing only. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selenium/scrape_relationships.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"20182a02978aee5a9c0a175692d921e105c0509f4b2323496541de8422939257"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Doesn\u0027t work for some ~5 types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selenium/scrape_relationships.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cc944f8e5876682657c164b30285d7d4e57a3aa5c4fafb8a0d2aeabbae38e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: temp \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selenium/scrape_relationships.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7598304e8865947e350d5b14f5d35a1bec7d7ffcd12b1b8cc5df84c41faae7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test deleting labels that belong to an area and collection after merging collection entity table \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/repository/src/jvmTest/kotlin/ly/david/musicsearch/data/repository/label/LabelsListRepositoryImplTest.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e93e625720f7dc0b4ab941bad37dca8855a1cb0b8acb5f3dcb100540f33b83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider whether to support undo delete for now playing history \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/NowPlayingHistoryRepositoryImpl.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a8100686074c4de261ce52330f2f5f7289760dc330ad99e4e907fc3d5868c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support deleting all now playing history \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/NowPlayingHistoryRepositoryImpl.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"531ded2afbb9df93f502d929dae8cb24740c7d5ed047439f5f3af9d1fb90463e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: generalize with GetMusicBrainzAuthorizationUrlImpl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/musicbrainz/src/iosMain/kotlin/ly/david/musicsearch/data/musicbrainz/auth/LoginImpl.ios.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d191884d7bfacf5ce97289ab3119ac78c5ac51b7738d53a284bb39234feb2552"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Deal with attributes: if an attribute exists, then use appropriate {half:half-}{step} in label? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/musicbrainz/src/commonMain/kotlin/ly/david/musicsearch/data/musicbrainz/models/relation/RelationshipHeaders.kt"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e215729d8d0a17d890312a8d892621f82b7be00f0e5fcbb3436fad878ae8d8b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle more relationship types from here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/musicbrainz/src/commonMain/kotlin/ly/david/musicsearch/data/musicbrainz/models/relation/RelationshipHeaders.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"004c9e7fbc8dc00d709bdacc97e875afc0e68662f4c366d8d4397f8bc60c3f01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Separate tab: artists, events, labels, releases, recordings, places, works \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/musicbrainz/src/commonMain/kotlin/ly/david/musicsearch/data/musicbrainz/api/LookupApi.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"85383c70de3e8d1bd88beaf47050c57539ce8de557741d83e5e19ce6db783704"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: place-rels doesn\u0027t return anything \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/musicbrainz/src/commonMain/kotlin/ly/david/musicsearch/data/musicbrainz/api/LookupApi.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"521bfb757d07585046f4773fb4c559daf044e2063e131ccacc594103e9e6e7a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: have a background task to load 1000 at a time if the user wants to load all \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/listenbrainz/src/commonMain/kotlin/ly/david/musicsearch/data/listenbrainz/api/ListenBrainzApi.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"220b2e0d9ec20a8998ba92e4b15ba5385ea3e0f82fee840e53094745af33efce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: may be inaccurate if an area is contained within another area but has the same type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/AreaDao.kt"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf3372e0a67763cbec103b95c914b782e794e474989f113a78e9a91e45d3fa1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can be fetched in same query, similar to rg \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ArtistDao.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbca3599513164a99a524946e2b69b80d6b14f4c7c480bc69f38a77e40082a5f"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060InvalidID\u0060 spells \u0060ID\u0060 where 93 names in the project spell it \u0060Id\u0060: 93 of 94 names in project domain spell the token \u0060Id\u0060 (93 of 94; unit: names in project domain containing \u0060Id\u0060). Peers: ByEntity.entityId (shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/BrowseMethod.kt:17); Companion.fromId (shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/alias/AliasType.kt:44); AreaRepository.lookupEntity(entityId) (shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/area/AreaRepository.kt:7); Companion.fromId (shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/area/AreaType.kt:18); ArtistCollaborationRepository.getAllCollaboratingArtistsAndEntities(artistId) (shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/artist/ArtistCollaborationRepository.kt:6). Rename to \u0060InvalidId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/listen/ListensListRepository.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d35da9112a452b8264425dcb84fd716d588ac535fadfb668609908b3342a7e8"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060ui/common\u0060 (16834 LoC, 387 module-visible types across 86 directories) overshoots its size bounds. 3 of 33 build unit(s) (Gradle, Xcode) overshoot their size bounds, lowering Project Cohesion to 8.2/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"434d6b5c972e8f9cfec8217314253834915fb40a5c29d6cb180a152deeebfb58"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060shared/domain\u0060 (5137 LoC, 775 module-visible types across 61 directories) overshoots its size bounds. 3 of 33 build unit(s) (Gradle, Xcode) overshoot their size bounds, lowering Project Cohesion to 8.2/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adaace64f271e8ec8ff0d462767419b4c6aadc72ade15d5696cc29b149acedd"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060shared/feature/details\u0060 (10230 LoC, 122 module-visible types across 29 directories) overshoots its size bounds. 3 of 33 build unit(s) (Gradle, Xcode) overshoot their size bounds, lowering Project Cohesion to 8.2/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2cd68fe413dd0d1e3028b2b6f3a4f6f2120cbde25dd67333f346a6931662ef"}},{"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":"485c764dcc7154012ed5cb2ae80cf82fef927eee2598b86a08ec7c76797b2d09"},"properties":{"commitSha":"744b282b0082fa52173b004fc2548b7a2e7cde4d"}},{"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":"37a47be48b69f0b06ea60353cf70d354aba7dfcbb8d4b41dda731b8922475070"},"properties":{"commitSha":"64411dd67b21929dbc46c0202fc1b0255620bcc2"}},{"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":"bbc1253f6880dbef17e8f43c362ebb594ebb7727eab7d4f110a51397af0c20c2"},"properties":{"commitSha":"8c1a5494619963a3daa686b0d1eb4f69239f4f27"}},{"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":"0083b1f662652a8f93f9fd6e3dae56fdc1ea3f9a3dd324c673cd08d724538f7e"},"properties":{"commitSha":"207bf7cc5096e046a55dbc272767b635589156fd"}},{"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":"724fe7b3d615c5d34df4f3dfa8d0f9772f251c5790e9de8e7d87b201d10a2d73"},"properties":{"commitSha":"416c924c2e6f7aa55772d9fb2295ab763e8f7808"}},{"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":"3e453dc120eef46f02bd084afdbad6059caa03e731b766948e75e292ba2208a4"},"properties":{"commitSha":"aa3d05ca2b416407e9f1efffbd7aab1cc0d02f79"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"431446f39faa77fd4ba1d00cb6a14f441a169c294327a3f968d65a6c0577b698"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"88f73d9b73a79263c592df7ab1d7b706a4daca3c66c4288052ce351f6b4335b4"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"e0b9f7f11d79fba6a549690b4f692e3ee3fd5dacd2881fddee5ed7c31782c411"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"a2dc9944437635a8cd6526341b2c612fca2fbfa7c0e1225e5a941fdbc6bff61e"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"f0d9f5a723b8d7b745a095524abd8332f84caccebdd8cad537a4aea381f3eaba"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"b17733904d0cb043e464096511302f37218f22c2de94dc150dbe205a4f74d4a4"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"735cae460893eda2a5b8787b024d9a837a15faa47a14f0a9a693b90daa0059c7"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"595748c4a00f8921151ca9b91c0cf41e92fb663344ef6b115e87190e9661e035"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"fe49a34ac8114feebe5e6ee2a732ec778ea738529d921eca6cdd6fdf0d0a09c1"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"3c178b5df30ae3835b2a69751a1f407c53fd3cd10005389f7d8fc977f5478ee7"},"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":"df66e5f3385afd954b107f0f861982f7c823560384e7c2006c3386462dea038b"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"5ae367c5c7262cc700ac74912feaef61f2a03dc8c5234bf4bf124c390f6d4cb1"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"75a1950e9339bc65e65320eaed18fcf6af805407aa4e659e42c6ac97144fee04"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"41bda92eda77f97a2ee3b97480289c147d34c1c35e7d06f7aaa56af2c1c5b3ea"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"cc40c8f909911c3d3a45ac503f5f7be602588fceec1cc21756b7c1876a5fe854"},"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":"c4bef1d00b9d650df2fac23b1c0ba044fa1cecdc57bf28dc958a8ca2ec4fd8f0"},"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":"2da53294fe6b1f598119efe01313bc760f9e6163a06d038cc90a5bed792e1425"},"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":"2a72e88525863b39c221b8326db5744348c8c3361eb2dec1c8a888217913eeb9"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"0953f5e407886e355f86c88b72fc30b0c79afa7840d9d7087bcd241b40c85acd"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"73514371790ad2b3777325d1d0559e4889a165db07f5b9e44fee9adb557ef0f7"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23bb8bfb215dd2aebb13a3661a4a80dd42b0d70fe58747a3d3b9ff1f19172188"},"properties":{"dependency":{"package":"handlebars","version":"4.7.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"4.7.9","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b422d7d2acf4ec86c8855b185b5bb8a76f746739db2b625b71467e001072cde"},"properties":{"dependency":{"package":"tar","version":"7.5.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"7.5.19","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f2f4833b0ea817fe9bf97781527a3e44c5ecfc3d3ee23715ff1f84ccfb6e91f3"},"properties":{"dependency":{"package":"@fastify/busboy","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.2.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a31a0b5364830f542d37385755d27dd90f97746286a80cb6c17836bc6e14179"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.3.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce9074a8ca02728fcc1d03753ea9d91376f00dae795aa598fd65fddb2b7fb34d"},"properties":{"dependency":{"package":"lodash-es","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.18.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2735ab6082ae24f3e92ffe40931cb4b2ff1d390c577d5a84a038cfacceae7d7"},"properties":{"dependency":{"package":"@isaacs/brace-expansion","version":"5.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"5.0.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc0943c779434ff7d18ba5109586908b2208e1d54407e8fec076ce17f9ac5275"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"9.0.7","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56d7c0542bcbbd8d8c61f07327aa2080292f8d213e8f982f1a0933ffecde0a9c"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.1.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d6cbdbb8958f467eb07035542e8e9f6c5467d60fba5808c2c500418d939922f"},"properties":{"dependency":{"package":"glob","version":"11.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"11.1.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59e28f0fc3ceb219b9638eae73d38b2bcb54c3283507449da6396114e6cfcf26"},"properties":{"dependency":{"package":"ip-address","version":"10.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.3.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2944457127f45a344b412504265fc8406dcb2cc2ffb57de31c9b515f8e4ad0ab"},"properties":{"dependency":{"package":"minimatch","version":"10.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.2.3","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a051ce3c087ac026cfb72c541fb6b3d7a9b06f3df4e28228e9f08a7652573f5f"},"properties":{"dependency":{"package":"glob","version":"10.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.5.0","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38ffb2d6f8f02fda70aa5c1a35b1b887834ba102298115b843d9976ebb663602"},"properties":{"dependency":{"package":"pacote","version":"21.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"21.5.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4be4dd0ee627437c29fcebd58a3744d5a01cd4a991661812182a8ed631e168a7"},"properties":{"dependency":{"package":"sigstore","version":"4.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"4.1.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ddad798161d713c858ca73635ca21b62b663e4ee9793edc21e9af9ee33aee01e"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.3.2","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fa3855742a4560c3d92367f086628c9d7f40aaeb1f7d02c2c4739eda3ced00a"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.0.4","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6532f69593dd3d2ea46577ad478f1657ba969b6919f855a6261cf5feb9c06e85"},"properties":{"dependency":{"package":"undici","version":"5.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.29.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82ff8cfb7d777eeee1cd9352fbb505b09f68adf4548c033e1348fd45932882eb"},"properties":{"dependency":{"package":"micromatch","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.0.8","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b13f654b8601bfa042ac842252f77fb582666da1c9d3a1d4ed62fdd1de7ad46"},"properties":{"dependency":{"package":"@sigstore/core","version":"3.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"3.2.1","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4d9031c1ae994de0fc0586545ba87ce80b5d47785a3ede4de6ae529b86b830c"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"7.1.6","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2c2f7815bc2e3dc5c624dff5f3eb708691c4121a9eb5e23a9fac3c97c7d6a20"},"properties":{"dependency":{"package":"diff","version":"8.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"8.0.3","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: ListFilters.kt \u2194 SortOptionsBottomSheet.kt: \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/list/ListFilters.kt\u0060 (context shared) and \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/SortOptionsBottomSheet.kt\u0060 (context ui) sit in DIFFERENT parts of the tree yet change together 100% of the time (10 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 10 shared commits counted here, the most recent 3 are \u006007894a81\u0060 feat: support sorting genres by cached order or name, ascending/desce\u2026; \u00604a165c88\u0060 feat: show number of listens for release groups lists (#2438); \u006050ab74d4\u0060 feat: show number of listens in artists lists; support sorting by lis\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/list/ListFilters.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2596d13a6f9aefed8279dd865e862b4a94a23f1169d6d8d2e9665766df9962a9"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AppPreferences.kt \u2194 ListFiltersMenuItems.kt: \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/preferences/AppPreferences.kt\u0060 (context shared) and \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/ListFiltersMenuItems.kt\u0060 (context ui) sit in DIFFERENT parts of the tree yet change together 80% of the time (8 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 8 shared commits counted here, the most recent 3 are \u006007894a81\u0060 feat: support sorting genres by cached order or name, ascending/desce\u2026; \u00606bb95754\u0060 feat: support sorting series by cached order or name, ascending/desce\u2026; \u0060378fb05f\u0060 feat: support sorting instruments by cached order or name, ascending/\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/preferences/AppPreferences.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20bfd804a53951cdca6523999d969a6be54d9d25753ca8b5228e38a259c71b6"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AppPreferencesKey.kt \u2194 ListFiltersMenuItems.kt: \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/preferences/AppPreferencesKey.kt\u0060 (context shared) and \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/ListFiltersMenuItems.kt\u0060 (context ui) sit in DIFFERENT parts of the tree yet change together 80% of the time (8 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 8 shared commits counted here, the most recent 3 are \u006007894a81\u0060 feat: support sorting genres by cached order or name, ascending/desce\u2026; \u00606bb95754\u0060 feat: support sorting series by cached order or name, ascending/desce\u2026; \u0060378fb05f\u0060 feat: support sorting instruments by cached order or name, ascending/\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/preferences/AppPreferencesKey.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46de2b19fe6266967151b663a3369bb822f316a1693de56cf25bdec2d5e377c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ImageMetadataRepository.kt \u2192 MbidImageDao.kt, MusicBrainzImageMetadataRepositoryImpl.kt, ArtistImageRepositoryImpl.kt, ImageUrlDao.kt: \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/image/ImageMetadataRepository.kt\u0060 changes together with 4 other files \u2014 \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/MbidImageDao.kt\u0060, \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/image/MusicBrainzImageMetadataRepositoryImpl.kt\u0060, \u0060data/spotify/src/commonMain/kotlin/ly/david/musicsearch/data/spotify/ArtistImageRepositoryImpl.kt\u0060, \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/image/ImageUrlDao.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/image/ImageMetadataRepository.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb39de58b8e6b1310fbe6875f3a08faabfbda9c7147d2d94e8659cc72b6595f6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: AppPreferencesImpl.kt \u2192 ListFilters.kt, BaseListPresenter.kt, ListFiltersMenuItems.kt, SortOptionsBottomSheet.kt: \u0060core/preferences/src/commonMain/kotlin/ly/david/musicsearch/core/preferences/AppPreferencesImpl.kt\u0060 changes together with 4 other files \u2014 \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/list/ListFilters.kt\u0060, \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/list/BaseListPresenter.kt\u0060, \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/ListFiltersMenuItems.kt\u0060, \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/SortOptionsBottomSheet.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/preferences/src/commonMain/kotlin/ly/david/musicsearch/core/preferences/AppPreferencesImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"897d5eaa42bdc2b8abd45f617ae543dc183b89adf4d1a0e928e56cf9bee91573"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ListFiltersMenuItems.kt \u2194 SortOptionsBottomSheet.kt: \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/ListFiltersMenuItems.kt\u0060 and \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/SortOptionsBottomSheet.kt\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006007894a81\u0060 feat: support sorting genres by cached order or name, ascending/desce\u2026; \u00606bb95754\u0060 feat: support sorting series by cached order or name, ascending/desce\u2026; \u0060378fb05f\u0060 feat: support sorting instruments by cached order or name, ascending/\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/ListFiltersMenuItems.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"948c8a19b879238e6267d6ef5ce5ef0b506708648de9e10d6c752b432fa8545a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CollectionsFeatureModule.kt \u2194 CollectionUi.kt: \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/CollectionsFeatureModule.kt\u0060 and \u0060shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/single/CollectionUi.kt\u0060 change together 78% of the time (14 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 14 shared commits counted here, the most recent 3 are \u00602080e668\u0060 chore: rename to edit; make delete from collection more clear; \u0060674ad36b\u0060 fix: improve add to collection messages and make them localizable; sh\u2026; \u00603492e51f\u0060 chore: pass an external coroutine scope that can outlive the presente\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/collections/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/collections/CollectionsFeatureModule.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf63a1a7672a34b06a78ed26b33adf4da0592a33eebf26e4904e00ba7564057"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BaseListPresenter.kt \u2194 SortOptionsBottomSheet.kt: \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/list/BaseListPresenter.kt\u0060 and \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/sort/SortOptionsBottomSheet.kt\u0060 change together 77% of the time (10 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) 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 10 shared commits counted here, the most recent 3 are \u006007894a81\u0060 feat: support sorting genres by cached order or name, ascending/desce\u2026; \u00606bb95754\u0060 feat: support sorting series by cached order or name, ascending/desce\u2026; \u0060378fb05f\u0060 feat: support sorting instruments by cached order or name, ascending/\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/list/BaseListPresenter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa60a76d5a308bca97376c9b2f071319b5de3c40f77f0264dbc14b7306adc00f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ListensListRepositoryImpl.kt \u2192 ListensUi.android.kt, ListensPresenter.kt, ListensUi.kt: \u0060data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/listen/ListensListRepositoryImpl.kt\u0060 changes together with 3 other files \u2014 \u0060shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.android.kt\u0060, \u0060shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensPresenter.kt\u0060, \u0060shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/listen/ListensListRepositoryImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb3c4eaa44ebc10d2f479e5e373909ccee698ff8f1bac958e1fee66d292ac4e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ArtistPresenter.kt \u2194 ArtistUi.kt: \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistPresenter.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.kt\u0060 change together 64% of the time (16 of the 25 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 16 shared commits counted here, the most recent 3 are \u00604326c065\u0060 feat: support collapsing artist external links; \u00609a3c246e\u0060 chore: pass Flow\u003CPagingData\u003CListItemModel\u003E\u003E rather than LazyPagingIte\u2026; \u00602092770c\u0060 fix: pass handled exception to all details retry screen to display a \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistPresenter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"413c126a3061da99b121558d580f50f927cecafa34d9bea4f0d900c5b36f486f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ListenDaoImpl.kt \u2192 ListensListRepository.kt, ListensUi.android.kt, ListenAdditionalActionsBottomSheetContent.kt: \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ListenDaoImpl.kt\u0060 changes together with 3 other files \u2014 \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/listen/ListensListRepository.kt\u0060, \u0060shared/feature/listens/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListensUi.android.kt\u0060, \u0060shared/feature/listens/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/listens/ListenAdditionalActionsBottomSheetContent.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":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/ListenDaoImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc538efa113952dccd825eeb233d22279df69b8e808fa172a8907274cad8718"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ImageUrlDao.kt \u2194 ReleasePresenter.kt: \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/image/ImageUrlDao.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/release/ReleasePresenter.kt\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 \u0060ad388c7e\u0060 feat: show the number of cover art images in release group and event \u2026; \u00601549ed3a\u0060 fix: less UI reloads when browsing large lists of releases and releas\u2026; \u006043edc9c8\u0060 chore: rename to ImageMetadata because it holds data besides the imag\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/image/ImageUrlDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1609788b8147818b6271c769519ad21ff00d12148180a48f435c8a6087d0c53d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MbidImageDao.kt \u2194 ImagesPresenter.kt: \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/MbidImageDao.kt\u0060 and \u0060shared/feature/images/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesPresenter.kt\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 8 shared commits counted here, the most recent 3 are \u0060571c3ddf\u0060 feat: support getting artist image from Wikimedia if wikidata url exi\u2026; \u006020eaa60c\u0060 fix: remove duplicate images based on url with http/https and .jpg st\u2026; \u0060ee5e31ec\u0060 chore: move under images dir \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/MbidImageDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"308a68be79aad303c68909bba364f6e95f4dca43ee0077fa8b81482b58f8b817"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ArtistListItem.kt \u2194 PlaceListItem.kt: \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/artist/ArtistListItem.kt\u0060 and \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/place/PlaceListItem.kt\u0060 change together 53% of the time (8 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 8 shared commits counted here, the most recent 3 are \u0060d9ca1a1a\u0060 fix: only bold unvisited item\u0027s name without bolding its disambiguati\u2026; \u0060a130a884\u0060 fix: only bold an unvisited entity\u0027s name/disambiguation/aliases inst\u2026; \u006056860a3c\u0060 chore: fix core tests (at that commit the files were still \u0060ui/common/src/main/java/ly/david/ui/common/artist/ArtistListItem..kt\u0060 and \u0060ui/common/src/main/java/ly/david/ui/common/place/PlaceListItem.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/artist/ArtistListItem.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eaa949063f1a5912bd94b8939de6bf340d160ab5e1aa2aa3ffc2210977545a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ReleaseListItem.kt \u2194 WorkListItem.kt: \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt\u0060 and \u0060ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/work/WorkListItem.kt\u0060 change together 53% of the time (9 of the 17 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 \u006047cc5f4f\u0060 feat: support sorting recordings by most/least recently listened date\u2026; \u00608f2636c1\u0060 fix: show just the listen count, but content description reads \u0022X lis\u2026; \u0060d9ca1a1a\u0060 fix: only bold unvisited item\u0027s name without bolding its disambiguati\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/common/src/commonMain/kotlin/ly/david/musicsearch/ui/common/release/ReleaseListItem.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"852ccd59523edafcee4075f8e07f58f75cd3e4e48443e2af887dd63757a43845"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ArtistUi.android.kt \u2194 ArtistDetailsTabUi.kt: \u0060shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.android.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistDetailsTabUi.kt\u0060 change together 53% of the time (9 of the 17 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 \u0060c1f5a89d\u0060 feat: support collapsing all sections in Details tab; \u0060a398cde1\u0060 chore: PascalCase; \u0060da67ca99\u0060 chore: use a single set to track which details sections are collapsed \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.android.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa2bcaa6fba7e2d10d45b620a56ecfd79a3457ce038a6b3f3525d217aed2770"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AreaPresenter.kt \u2194 AreaUi.kt: \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaPresenter.kt\u0060 and \u0060shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaUi.kt\u0060 change together 50% of the time (10 of the 20 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 10 shared commits counted here, the most recent 3 are \u006087b413f3\u0060 feat: support collapsing area external links; \u00606f145b49\u0060 feat: add refresh menu item for area screen; \u0060f54a2e59\u0060 chore: use Tab instead of AreaTab; no-op rest of tabs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/details/area/AreaPresenter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3be273b824d3fe574ddcf7ca044639cd06bd3d8b26d33c21a2eaf9e22813210"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MbidImageDao.kt \u2194 ImagesUi.kt: \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/MbidImageDao.kt\u0060 and \u0060shared/feature/images/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesUi.kt\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 7 shared commits counted here, the most recent 3 are \u0060ad388c7e\u0060 feat: show the number of cover art images in release group and event \u2026; \u0060ee5e31ec\u0060 chore: move under images dir; \u006011c10fd9\u0060 feat: support sorting cover arts by name of artist/release/release gr\u2026 (at that commit the file was still \u0060shared/feature/images/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/images/CoverArtsUi.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/MbidImageDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b534a9b10d4f837e09475f21176254824cca4dc1dc5f8a87d52e60862df4419"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CollectionDao.kt \u2194 CollectionRepository.kt: \u0060data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/CollectionDao.kt\u0060 and \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/collection/CollectionRepository.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 \u006064dea7f1\u0060 feat: add icons next to collections in \u0022Add to collection\u0022 sheet to r\u2026; \u0060a6f283b8\u0060 feat: support undoing deleting a local collection; update database ve\u2026; \u0060bb884baf\u0060 chore: count number of stored remote collections instead of using \u0060br\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"data/database/src/commonMain/kotlin/ly/david/musicsearch/data/database/dao/CollectionDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef0ab6c4fed3c12f937d2d19250e7935af5a5ac9236d72b3e8e248977417e84"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ImageUrlDao.kt \u2194 ImagesUi.kt: \u0060shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/image/ImageUrlDao.kt\u0060 and \u0060shared/feature/images/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/images/ImagesUi.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 \u0060ad388c7e\u0060 feat: show the number of cover art images in release group and event \u2026; \u0060ee5e31ec\u0060 chore: move under images dir; \u006011c10fd9\u0060 feat: support sorting cover arts by name of artist/release/release gr\u2026 (at that commit the file was still \u0060shared/feature/images/src/commonMain/kotlin/ly/david/musicsearch/shared/feature/images/CoverArtsUi.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/image/ImageUrlDao.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9708222e2191be7f2938efcfb3d3a584d0b90e7000718a04a309f0bee1848eaa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ArtistUi.android.kt \u2194 ReleaseGroupUi.android.kt: \u0060shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.android.kt\u0060 and \u0060shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/ReleaseGroupUi.android.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 \u0060c1f5a89d\u0060 feat: support collapsing all sections in Details tab; \u0060da67ca99\u0060 chore: use a single set to track which details sections are collapsed (at that commit the file was still \u0060shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/PreviewReleaseGroupDetailsUi.kt\u0060); \u0060070a166a\u0060 feat: show highlight over filtered text in Details screens (at that commit the file was still \u0060shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/releasegroup/PreviewReleaseGroupDetailsUi.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/feature/details/src/androidMain/kotlin/ly/david/musicsearch/shared/feature/details/artist/ArtistUi.android.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc9c945764a05a1bc368aae9e69d23c1c672eca6038355142226b19f1846a38"}},{"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":"2b25e844d6ad17689cf0a27203f1e2417f6fdf732a2696e72ab858645b8833fa"}},{"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":"e7553be455b6a01c4130c2066988df321f3f711161ff6b25366f40b19c0c36ed"},"taxa":[{"id":"CICD-SEC-6","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":"fe7bd92ada7dd48b7e5272bd9a73fffc9588d8a5f3c4839c68f234b50743c38e"},"taxa":[{"id":"CICD-SEC-6","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":"200eb76a2b6b854288e266af8f8574d377f6f98fc5f66433ff53525a40b7b72c"},"taxa":[{"id":"CICD-SEC-6","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":"a3d2a0f9f560db59eb23a947ccdefbd4f909e624c23d562bfcbe008bce17a275"},"taxa":[{"id":"CICD-SEC-5","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":"f835698d3fa3d3dcc24589f87d4147ca2330f2e8406cc35f1deb699a0df310ba"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"download.html"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8766adbcc11d9d7b0e0ed34588924a542ba73c3b36ffe7d569d8377a11e038b3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"download.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1db0515bbc65cab2db0234fd9f687861fc7449d950edfff59a5707fb8a07ce2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A script attaches a click listener to this \u003Cdiv\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"download.html"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c153f5b4c35f4c8ebc2fb36ef3d87dfbf39b35c06bcdcbdb8552edaa0d74550"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Csvg\u003E: A script attaches a click listener to this \u003Csvg\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"download.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e6b6680d15f580d99f1e327f43743b248b1fb0b8a633a7d80e9069a00f6b93"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.7:1): \u0060.download-button\u0060 sets color: white on background-color: #01e675 \u2014 1.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"download.html"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4d0fc19f8d98603803c00ca17306f61de3f1e692f09eee6ffa5ef81e2ff580"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects MusicSearch:data:spotify \u2192 MusicSearch:test-data \u2192 MusicSearch:data:spotify form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"06ab53bf48f900cd058c3a245e9d464fe90285845f653aa8b4930ed0ff055650"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AppPreferences (39 abstract methods): \u0060AppPreferences\u0060 declares 39 abstract methods: \u0060setTheme\u0060, \u0060setUseMaterialYou\u0060, \u0060setSeedColor\u0060, \u0060setAreaSortOption\u0060, \u0060setArtistSortOption\u0060, \u0060setEventSortOption\u0060, \u0060setInstrumentSortOption\u0060, \u0060setLabelSortOption\u0060, \u0060setPlaceSortOption\u0060, \u0060setRecordingSortOption\u0060, \u0060setReleaseSortOption\u0060, \u0060setShowMoreInfoInReleaseListItem\u0060, \u0060setShowReleaseStatus\u0060, \u0060setReleaseGroupSortOption\u0060, \u0060setGenreSortOption\u0060, \u0060setTrackSortOption\u0060, \u0060setSeriesSortOption\u0060, \u0060setWorkSortOption\u0060, \u0060setShowLocalCollections\u0060, \u0060setShowRemoteCollections\u0060, \u0060setHistorySortOption\u0060, \u0060setCollectionSortOption\u0060, \u0060setImagesSortOption\u0060, \u0060setEnableCrashReporting\u0060, \u0060setDeveloperMode\u0060, \u0060setNumberOfImagesPerRow\u0060, \u0060setImagesGridPaddingDp\u0060, \u0060setCollaborationEntityType\u0060, \u0060setScrollToHideTopAppBar\u0060, \u0060setPullToRefresh\u0060, \u0060setNumberOfListensInDetails\u0060, \u0060setSubmitClientAndVersionWithListen\u0060, \u0060setExcludeParametersInUrlLookup\u0060, \u0060setSearchLocalDatabaseInUrlLookup\u0060, \u0060setMusicBrainzInstance\u0060, \u0060setListenBrainzInstance\u0060, \u0060setWikidataInstance\u0060, \u0060setArtistImageSource\u0060, \u0060setBoldUnvisited\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/preferences/AppPreferences.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3aec8c83da90bc0434802a415f19c9ec769be8133e8e3408e8dafe08ef0b928"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: build-logic/README.md links to \u0060convention/src/main/kotlin/ly/david/convention/plugin/AndroidLibraryConventionPlugin.kt\u0060, but \u0060build-logic/convention/src/main/kotlin/ly/david/convention/plugin/AndroidLibraryConventionPlugin.kt\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/README.md"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9789766e54d43a685b50a1555272e98b30067fec80ca1827943236ab377264"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: build-logic/README.md links to \u0060convention/src/main/kotlin/ly/david/convention/plugin/KotlinJvmConventionPlugin.kt\u0060, but \u0060build-logic/convention/src/main/kotlin/ly/david/convention/plugin/KotlinJvmConventionPlugin.kt\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/README.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"501215e525e6e2f2253b1c234f79d2451fdfb16fc2e9e959e9d9cfde3a836633"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: build-logic/README.md links to \u0060convention/src/main/kotlin/ly/david/convention/plugin/AndroidComposeConventionPlugin.kt\u0060, but \u0060build-logic/convention/src/main/kotlin/ly/david/convention/plugin/AndroidComposeConventionPlugin.kt\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/README.md"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e43e2b69ebd73fcda25bd9fc743661bdb96aa5fb0a364fc6db38ad9f82cf350"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 21 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060beforeDate != afterDate \u0026\u0026 afterDate != null\u0060 appears character-identically in 2 files \u2014 data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/NowPlayingHistoryRepositoryImpl.kt, data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/SpotifyHistoryRepositoryImpl.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":"data/repository/src/commonMain/kotlin/ly/david/musicsearch/data/repository/NowPlayingHistoryRepositoryImpl.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3384c7908b0a2c7b48b26e66866ae945ff1c6de873408aa6707c7f157a59200e"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.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-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":57,"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."]}]}